Beispiel #1
0
 public ChunkChangeEvent(BlockPos position, FacingSet sets, BlockData data)
 {
     this.position = position;
     this.sides    = sets;
     this.data     = data;
 }
Beispiel #2
0
 public void Set(BlockPos position, FacingSet sides, BlockData data)
 {
     this.position = position;
     this.sides    = sides;
     this.data     = data;
 }
Beispiel #3
0
 public static bool HasFacing(this FacingSet sides, Facing facing)
 {
     return(sides.HasFlag(faceSet[(int)facing]));
 }