-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
There is no way to do this. The smithing container is hardcoded to just decrease its inputs and not use the container item (see SmithingTableContainer#func_230301_a_). -
Hi! How do I make so that when I place in the smithing table a tool and a material, I get another material and decrease the durability of the tool without loosing the tool? I overrided the item container methods but the item is still consumed on craft: @Override public boolean hasContainerItem(ItemStack itemStack) { return true; } @Override public ItemStack getContainerItem(ItemStack itemStack) { if (itemStack.attemptDamageItem(1, random, null)) { itemStack.shrink(1); itemStack.setDamage(0); } return itemStack; } Thanks in advance!
-
By diesieben07 · Posted
So now you just removed the @EventBusSubscriber annotation. I did not tell you to do this. -
By diesieben07 · Posted
Do not use @OnlyIn. I do not understand this question. -
By diesieben07 · Posted
Please refer to the Optifine downloads page regarding compatibility with Forge.
-
-
Topics
-
Who's Online (See full list)