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

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Posts posted by Cadiboo

  1. NoCubes is also open source.

    https://github.com/Cadiboo/NoCubes

    However, NoCubes generates customised dynamic models for each block in a world which is probably not what you want to do.

    To make blocks use non-cubic models you’re going to want to use Forge’s .obj or .b3d model support (Outdated docs). If you need your model to be animated you can use Forge’s Animation API or render everything yourself with a TileEntity Renderer (can have a very large performance impact). If you go with the TileEntity Renderer approach you should load model files instead of writing your model using Minecraft’s Java model system (for resource pack compatibility & performance).

    • Like 1
  2. 36 minutes ago, Maciej916 said:

    Can I just subscribe to WorldTickEvent and get capability and call update in that capability every tick or it's bad idea?

    Thats what you should do.

     

    Implementing ITickable (the interface that makes textures animate) isn't what you want.

  3. First of all - Big fan, your MBE repo has helped me tons!

    Why not go directly to 1.15.2?

    1 hour ago, TheGreyGhost said:

    I need to right click on the runClient gradle task which gives me the option to debug.

    I’m not sure what you mean by this but use your run configs instead of the gradle tasks for this exact reason. I’ve got a tutorial for setting up your workspace at https://cadiboo.github.io/tutorials/1.14.4/forge/1.1-importing-project/intellij/

  4. 2 hours ago, CrimsonDawn45 said:

    but the method I need to change is a protected static. So it wont just let me

    override that method.

    Yes. You would need to change it another way. Intercepting the item use events is probably able to achieve what you want.

  5. Any reason you have both ModEntityTypes and FantasyModEntities?

    I would guess that your EntityType doesn't exist when you try to use it, however, since you haven't set up your repo correctly I can't clone it and debug it locally (Technically I still can but I would have to use my own configuration files (build.gradle, gradle.properties etc.) which you may have customised, so I may not get the same results as you)

    • Like 1
×
×
  • Create New...

Important Information

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