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

Method getPropertyFor

src/main/java/net/minecraft/block/BlockVine.java:477–499  ·  view source on GitHub ↗
(EnumFacing side)

Source from the content-addressed store, hash-verified

475 }
476
477 public static PropertyBool getPropertyFor(EnumFacing side)
478 {
479 switch (side)
480 {
481 case UP:
482 return UP;
483
484 case NORTH:
485 return NORTH;
486
487 case SOUTH:
488 return SOUTH;
489
490 case EAST:
491 return EAST;
492
493 case WEST:
494 return WEST;
495
496 default:
497 throw new IllegalArgumentException(side + " is an invalid choice");
498 }
499 }
500
501 public static int getNumGrownFaces(IBlockState state)
502 {

Callers 3

recheckGrownSidesMethod · 0.95
updateTickMethod · 0.95
onBlockPlacedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected