Jump to content

ErdbeerbaerLP

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by ErdbeerbaerLP

  1. Quote

    if i replace "Entity" with "EntityType" it still has problems with that

    And i thaught, because i need only one of your line, there must be placeholders, that i can replace them with the specific parameters of each of my entitys later in another location.

     

    can you just show me a whole registry-event area with block, item and entity - events correctly added


    You need to do

    registerEntityType(RegistryEvent.Register<EntityType<?>> ev)

     

  2. The game fails to load JNA outside of development environment for some reason... ?
    Log: https://pastebin.com/Prj1JRij
    Crash Report: https://paste.dimdev.org/ocixijolep.mccrash

    This is additionally shown below the log in the launcher log:

    Exception in thread "Thread-4" java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
        at club.minnced.discord.rpc.DiscordRPC.<clinit>(DiscordRPC.java:42)
        at de.erdbeerbaerlp.discordrpc.DRPC.lambda$clientSetup$14(DRPC.java:69)
        at java.lang.Thread.run(Thread.java:745)
    AL lib: (EE) alc_cleanup: 1 device not closed


    When attaching to the process and start debugging it opens this line upon crash: https://github.com/MinnDevelopment/java-discord-rpc/blob/master/src/main/java/club/minnced/discord/rpc/DiscordRPC.java#L42

    Project: https://github.com/ErdbeerbaerLP/DiscordRichPresence

  3. Is it possible to load an item name of the current language from the vanilla lang file?
    I want to make an troll diamond which should always called "Diamond" in any language selected. Because i only know german and english i cant add an lang file for ALL languages.

     

    I already tried:
     

    item.trolldiamond.name=item.diamond.name
    ------------------------------------------------------
    item.trolldiamond.name=minecraft:item.diamond.name

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.