Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. That would depend on how recipes are already implemented. I would start off by finding out how normal brewing stands make 3
  2. Add an if (entity.isChild())?
  3. Read the documentation on IExtensibleEnum. I’ll take a look into world gen myself and report back (never done anything except super basic ore gen back in 1.12.2)
  4. Oh, I get it. You may be able to “fix” this by disabling AO in your chimney block model. It’s going to look bad on anything that’s not a furnace then though.
  5. 404. Is your repo public?
  6. All items have 3d models. Some of them just happen to have a single flat element with a full texture UV. You can even find the model at item/generated.json (I think). You can either split your texture into multiple textures or have a non-default model. I would recommend the former as it’s more future-proof and will still be compatible with whatever extra stuff minecraft does to get the 1-pixel-wide sides to the default models.
  7. DeferredRegister uses the event hooks. They just have much simpler and cleaner syntax. They also take care of ensuring your object references stay up to date and also support registry overrides.
  8. Btw, DeferredRegister is the best way to do stuff now.
  9. This is the solution. Restarting your computer also works.
  10. Post your full code, preferably as a GitHub repository.
  11. I can’t see what you mean, could you please post another picture?
  12. Update your mappings and post your full code please
  13. https://github.com/MinecraftForge/MinecraftForge/tree/1.15.x/mdk
  14. I’ve got a tutorial series if you need help with the basics of modding. Something like splitting something that’s been rendered up into multiple particles that dissipate is likely going to require some very advanced OpenGL code, it’s not something you’re going to be able to do easily as a beginner. The closest thing I can think of that would be doable for a beginner would be to reduce the opacity of the renderer objects while at the same time increasing their size to create a similar effect. Prior to 1.15 you would do this by modifying GL state in the RenderLivingEvent.Pre but I’m not sure if this is still possible due to the massive rendering changes in 1.15.
  15. This is what you would do. You can use an editor like BlockBench to make the model. Torch block models use UVs IIRC
  16. I believe that setting “nonSolid” in your block properties should work
  17. Not sure what’s hard to read about that. You need to pass in a function that takes in a TileEntityRendererDispatcher instance and returns a TileEntityRenderer instance. A constructor reference to your TER is most commonly used. https://github.com/Cadiboo/Example-Mod/blob/4ef1557fdb1ed5ff9ca3af5b9cd06711112363ab/src/main/java/io/github/cadiboo/examplemod/client/ClientModEventSubscriber.java#L46
  18. You could also just extend HorseArmorItem
  19. Please post the full log
  20. The class is called DeferredRegister and the documentation is on the javadoc on the top of it.
  21. Make sure your mappings are up to date.
  22. The same place you would in a normal texture pack. “assets/modid/textures/blah.png”.
  23. I’m not sure. You can figure it out by looking at usages of the tulip field with your IDE. Looping the biomes would be more expensive but also more compatible.
  24. Vanilla sets the BlockState when you right click from an item block or in the updatePostPlacement method in blocks. I would look for events containing “Item”, “Block”, “Click”, “Interact”, “Place”. Then find out which one is appropriate to use.
  25. Inside your container. Containers control what slots are where and handle syncing everything.
×
×
  • Create New...

Important Information

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