Class CustomItemDisplayContextTest

java.lang.Object
net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest

public class CustomItemDisplayContextTest extends Object
Test mod for the custom transform types feature. This test mod adds an item that should be held in the main hand, while another item is in the offhand. When right-clicked on a block, the item will "hang" the stack from the offhand slot on the wall. In addition, a replacement model for the stick is provided in the resources. If the feature is working, the stick will have a custom transform while hanging on walls, when compared to similar items such as a fishing rod. Editing that model json will reflect ingame after a resource reload (F3+T).