-
Recently Browsing
No registered users viewing this page.
-
Posts
-
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. -
By diesieben07 · Posted
Git is not the right way to store worlds or other large files. There is no such line in the repository you posted. I used the debugger and put a breakpoint in the FMLCommonSetupEvent handler. Then I used evaluate expression and ArmorConfig.COMMON.enableOakWood.get() was false, as expected. -
By gamer650xd · Posted
crash-2021-01-16_21.37.09-client.txt -
I initially removed the .gitignore because i wanted to preserve the world saves, ill add it back in with the necessary exceptions. Just to clarify. If you set enableOakWood to false in extraarmor-common.toml the line System.out.println(ArmorConfig.COMMON.enableOakWood.get()); //Always True returns false as expected? As i'm not getting the same behavior
-
-
Topics
-
Who's Online (See full list)