Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Posts posted by Choice

  1. Hey @diesieben07 even with the getAddEntityPacket and getEntitySpawningPacket my textures aren't loading and the entity is either invisible or is visible but in a very wrong state. Can you have a look at my code and see what's wrong with it?

    My EntityTypeInit - https://pastebin.com/8rY2gnma

    My ExampleEntity -https://pastebin.com/PymCXQiH

    My ExampleEntityModel - https://pastebin.com/sgtS6yeA

    My ExampleEntityRenderer - https://pastebin.com/BsCqtgUL

    My ClientEventBusSubscriber - https://pastebin.com/MNnWr1Kv

    My WeatherMod(main java) - https://pastebin.com/5hQqjsSX


  2. So recently someone pointed out a fix for registering the entity which I fixed but then when I summoned the example entity it spawns, all the attributes are working but the model is invisible. I had named the correct path for the textures and all the entitymodel.java looks okay with no errors. So I'm puzzled as to why it is still invisible. (This is my first time making a custom entity). Any help will be much appreciated :)

    ExampleEntityModel - https://hastebin.com/oputoziqik.yaml

    ExampleEntityRenderer - https://hastebin.com/wupabututa.java

    ExampleEntity - https://hastebin.com/awadamarub.java

    EntityTypeInit - https://hastebin.com/obenejabas.swift

    ClientEventBusSubscriber - https://hastebin.com/ahayobenud.css

    WeatherMod (my main.java) - https://hastebin.com/isixixijuw.swift

    My textures are located in src/main/resources/assets/(My mod ID/textures/entity.example/example.png

  3. Hi, I'm new to java and coding and I wanted to create an entity (an example one) just to see how it works and runs. However, when I summon the entity the game crashes and in the crash log it says the following error in the title. Been stuck for 2 days now as I don't know what's wrong with it.

    Crash Report - https://hastebin.com/goxemoquta.http

    My code:

    Main Class - https://hastebin.com/yiluqavazu.swift

    Rendering Registries - https://hastebin.com/ikakegaqum.swift

    EntityTypeInit - https://hastebin.com/ayewuhevov.swift

    ExampleEntityModel - https://hastebin.com/uvozeretum.yaml

    ExampleEntityRenderer - https://hastebin.com/uwijivifax.java

    ExampleEntity - https://hastebin.com/bawijecimi.java


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.