Class ItemUseAnimationTest
java.lang.Object
net.neoforged.neoforge.oldtest.entity.player.ItemUseAnimationTest
Tests if item usage animation system works as intended. `item_use_animation_test:thing` is edible item with custom usage animation made with this system.
In game, use `/give @s item_use_animation_test:thing 1` to obtain test item
When you try to eat it, your arm in 3d person should start swinging really fast.
And item in your hand will go down little.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final DeferredRegister.Items
static final String
private static final DeferredItem
<Item> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
-
Field Details
-
MOD_ID
- See Also:
-
ITEMS
-
THING
-
-
Constructor Details
-
ItemUseAnimationTest
public ItemUseAnimationTest(net.neoforged.bus.api.IEventBus modBus)
-
-
Method Details
-
addCreative
-