Example #1
0
 public BlockPressurePlate(int i, int j, EnumMobType enummobtype)
     : base(i, j, Material.rock)
 {
     triggerMobType = enummobtype;
     setTickOnLoad(true);
     float f = 0.0625F;
     setBlockBounds(f, 0.0F, f, 1.0F - f, 0.03125F, 1.0F - f);
 }
Example #2
0
        public BlockPressurePlate(int i, int j, EnumMobType enummobtype)
            : base(i, j, Material.rock)
        {
            triggerMobType = enummobtype;
            setTickOnLoad(true);
            float f = 0.0625F;

            setBlockBounds(f, 0.0F, f, 1.0F - f, 0.03125F, 1.0F - f);
        }