Can someone tell me what makes this mod fail to load?
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Thank you. It's fixed now😃.
-
Wow, thanks @scientistknight1 ! That was exactly it. The issue: I was extending BaseEntityBlock, which implements getRenderShape as invisible for some reason: public abstract class BaseEntityBlock extends Block implements EntityBlock { ... public RenderShape getRenderShape(BlockState p_49232_) { return RenderShape.INVISIBLE; } ... } Looking at the Implementation on Block, it calls BlockBehaviour, which returns RenderShape.MODEL. Overriding it on my Entity did the trick. public class AutomataStartBlock extends BaseEntityBlock { ... @Override public RenderShape getRenderShape(BlockState p_49232_) { return RenderShape.MODEL; } ... } It now works. I wonder why why BaseEntityBlock returns INVISIBLE, though.
-
The issue occurs here: CREATIVE_MODE_TABS = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, MOD_ID); Exception message: java.lang.NoSuchFieldError: Class net.minecraft.core.registries.Registries does not have member field 'net.minecraft.resources.ResourceKey f_279569_' The mod loads and operates without any issues during debugging in the development environment. However, it crashes when loading the mod through the official Minecraft launcher. This problem did not occur in versions 1.20.1 or 1.20.4. How can I resolve this error?
-
By a_very_normal_person · Posted
If you're still looking for a solution, the beta-5 version works on its own, though I haven't tested it out with anything else -
Hello, today i installed forge 1.20.2 and i cannot launch the game it says "Code error 1" whenever i launch the game. I was just trying to play with some mods and boom, i cannot i was playing on forge 1.16.5 with the 1.16.5 mods first and it worked perfectly. I downloanded the 1.20.2 forge latest version. So i don;t know what is happening, can anyone help me?
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.