Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/15/21 in all areas

  1. Same issue here when hovering over cartable / non creatable recopies but only on the crafting table, i get: Cannot invoke "net.minecraft.world.item.ItemStack.m_41720_()" because "stack" is null. others on reddit experiencing issues, Not sure if it could also be an issue with Xaero's mini map, as i also have this installed. Can post full crash log if its helpful.
    1 point
  2. If you're asking how to get the EntityType when using the DeferredRegister way, you can call VERRUCT.get() and that will get you the EntityType out of the registry object. You can do the same for any other type of registry object. The only thing to be careful about is to make sure that the entities have actually been registered by the time you call VERRUCT.get(), but if you register your renderer at the right time that won't be a problem. In 1.17.1 you register renderers with the EntityRenderersEvent.RegisterRenderers event, I'm not sure about 1.16.5 but it's probably similar. This event will always fire after entities have been registered, so you can safely call the getter. You should use deferred registration because it ensures that your entities (or blocks, or whatever else you register) get registered at the right time. If everyone did this, it would allow forge to introduce a lot of useful features, such as reloading/enabling/disabling mods while the game is running. This is impossible to do with static initialisers. By the way, you can click the <> button while drafting your post and it will let you format your code like this: RenderingRegistry.registerEntityRenderingHandler(VERRUCT.get(), verructRenderer::new); LifeAndLive.LOGGER.debug("LIFE AND LIVE - Entity rendered");
    1 point
  3. 🎬This first part of a Sci-Fi Comedy Movie was made using Minecraft and is heavily inspired by Douglas Adams, Black Plasma Studios, Blue Monkey and Forge Labs Have a good laugh! 😃 If you like to, then you can subscibe here: https://bit.ly/2SenGFD
    1 point
  4. I am very new to this, and all the terms are very foreign to me. I apologise if my previous post was unclear. From what I gathered backport means implementing features from a new update to an older version of minecraft, yes? I understand it is not running Forge on 1.17, I am just wondering if it is worth using the mod just to get some 1.17 features? Or is it better to wait for the Forge update in case the mod causes complications?
    1 point
×
×
  • Create New...

Important Information

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