MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / BlockLever

Method BlockLever

src/main/java/net/minecraft/block/BlockLever.java:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 public static final PropertyBool POWERED = PropertyBool.create("powered");
23
24 protected BlockLever()
25 {
26 super(Material.circuits);
27 this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, BlockLever.EnumOrientation.NORTH).withProperty(POWERED, Boolean.FALSE));
28 this.setCreativeTab(CreativeTabs.tabRedstone);
29 }
30
31 public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
32 {

Callers

nothing calls this directly

Calls 4

setDefaultStateMethod · 0.80
getBaseStateMethod · 0.80
withPropertyMethod · 0.65
setCreativeTabMethod · 0.45

Tested by

no test coverage detected