Ejemplo n.º 1
0
 public BlockType()
 {
     Class = "Block";
     Shape = new CompositeShape()
     {
         Base = new AssetLocation("game", "block/basic/cube")
     };
     GuiTransform    = ModelTransform.BlockDefaultGui();
     FpHandTransform = ModelTransform.BlockDefaultFp();
     TpHandTransform = ModelTransform.BlockDefaultTp();
     GroundTransform = ModelTransform.BlockDefaultGround();
     MaxStackSize    = 64;
 }
Ejemplo n.º 2
0
 public BlockType()
 {
     Class = "Block";
     Shape = new CompositeShape()
     {
         Base = new AssetLocation(GlobalConstants.DefaultDomain, "block/basic/cube")
     };
     GuiTransform       = ModelTransform.BlockDefaultGui();
     FpHandTransform    = ModelTransform.BlockDefaultFp();
     TpHandTransform    = ModelTransform.BlockDefaultTp();
     TpOffHandTransform = null;
     GroundTransform    = ModelTransform.BlockDefaultGround();
     MaxStackSize       = 64;
 }