introduction of cherry door
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package net.parsell.cherry.common.blocks;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.DoorBlock;
|
||||
import net.minecraft.block.enums.DoorHinge;
|
||||
import net.minecraft.block.enums.DoubleBlockHalf;
|
||||
import net.minecraft.util.math.Direction;
|
||||
|
||||
public class CherryDoor extends DoorBlock{
|
||||
public CherryDoor(Settings settings) {
|
||||
super(settings);
|
||||
this.setDefaultState((BlockState)((BlockState)((BlockState)((BlockState)((BlockState)((BlockState)this.stateManager.getDefaultState()).with(FACING, Direction.NORTH)).with(OPEN, false)).with(HINGE, DoorHinge.LEFT)).with(POWERED, false)).with(HALF, DoubleBlockHalf.LOWER));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user