mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-05-22 13:44:31 +00:00
feat(models): add block model boxes + picking
This commit is contained in:
@@ -14,6 +14,7 @@ public class ExampleMod : IMod
|
||||
public static RegisteredBlock? RubyOre;
|
||||
public static RegisteredBlock? RubyStone;
|
||||
public static RegisteredBlock? RubyWoodPlanks;
|
||||
public static RegisteredBlock? RubyChair;
|
||||
public static RegisteredBlock? RubySand;
|
||||
public static RegisteredSlabBlock? RubyStoneSlab;
|
||||
public static RegisteredSlabBlock? RubyWoodSlab;
|
||||
@@ -236,6 +237,16 @@ public class ExampleMod : IMod
|
||||
.Name(Text.Translatable("block.examplemod.ruby_wood_planks"))
|
||||
.InCreativeTab(CreativeTab.BuildingBlocks));
|
||||
|
||||
RubyChair = Registry.Block.Register("examplemod:ruby_chair",
|
||||
new BlockProperties()
|
||||
.Material(MaterialType.Wood)
|
||||
.Hardness(1.5f)
|
||||
.Resistance(5f)
|
||||
.Sound(SoundType.Wood)
|
||||
.Model("examplemod:block/ruby_chair")
|
||||
.Name(Text.Translatable("block.examplemod.ruby_chair"))
|
||||
.InCreativeTab(CreativeTab.Decoration));
|
||||
|
||||
RubySand = Registry.Block.Register("examplemod:ruby_sand",
|
||||
new RubySandBlock(),
|
||||
new BlockProperties()
|
||||
|
||||
Reference in New Issue
Block a user