File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class BlockStateless extends Block implements Syncable {
13
13
components. add(new StaticRenderer (). onRender(new BlockRenderPipeline (this ). withTexture(NovaBlock . steelTexture). build()));
14
14
components. add(new Collider ());
15
15
components. add(new ItemRenderer (this )); // TODO: Deprecated
16
- components. add(new Category ( " buildingBlocks " ) );
16
+ components. add(Category . BUILDING_BLOCKS );
17
17
18
18
events. on(RightClickEvent . class). bind(this :: onRightClick);
19
19
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The code above registers an item class called `ItemScrewdriver`. `ItemScrewdrive
10
10
public class ItemScrewdriver extends Item {
11
11
12
12
public ItemScrewdriver () {
13
- components. add(new Category ( " tools " ) );
13
+ components. add(Category . TOOLS );
14
14
components. add(new StaticRenderer (). onRender(new ItemRenderPipeline (this ). withTexture(NovaItem . screwTexture). build()));
15
15
16
16
events. on(UseEvent . class). bind(event - > event. action = true );
You can’t perform that action at this time.
0 commit comments