Sign in to follow this
Followers
0
How do I make my Truck work? Help Me!!!
By
WitherBoss2000, in Modder Support
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
Okay, so my Custom Sign Tile Entity has to extend SignTileEntity, because PlayerEntity#openSignEditor() expects a SignTileEntity. but from there I can't call super() and pass in my custom Tile Entity Type, because the TileEntityType for SignTileEntity is hardcoded in the constructor. How to proceed?
-
By diesieben07 · Posted
Have you looked at the methods that LazyOptional offers? -
Having followed those instructions I am getting the same results. It seems my lack of understanding of forge in general is the issue Thanks for the advice, its been really helpful. Just one final thing. If i were to disable recipes and creative tab entries as you suggested, would i do so inside the FMLCommonSetupEvent handler or some place else? Thanks
-
I have a capability STATE_CAPABILITY in IHaveMana, of class IState. I want to take out the IState an entity has, probably using getCapability. As below. But, I couldn't find a way to convert LazyOptional<IState> to IState. @Nullable public static IState getIStates(Entity entityliving) { if (entityliving instanceof LivingEntity) return (IState) entityliving.getCapability(IHaveMana.STATE_CAPABILITY, null).cast(); return null; } Should I give more detail?
-
By diesieben07 · Posted
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
-
Topics
-
Who's Online (See full list)