Beispiel #1
0
 public bool AddBlockEntity(BlockCoordinates coordinates, BlockEntity entity)
 {
     entity.KnownPosition = coordinates;
     return(BlockEntities.TryAdd(coordinates, entity));
 }
Beispiel #2
0
 public bool AddBlockEntity(BlockCoordinates coordinates, BlockEntity entity)
 {
     //entity.Block = GetBlockState(coordinates.X & 0x0f, coordinates.Y & 0xf, coordinates.Z & 0x0f).Block;
     return(BlockEntities.TryAdd(coordinates, entity));
 }
Beispiel #3
0
 public bool AddBlockEntity(BlockCoordinates coordinates, BlockEntity entity)
 {
     entity.KnownPosition = coordinates;
     entity.Block         = World.GetBlockState(coordinates).Block;
     return(BlockEntities.TryAdd(coordinates, entity));
 }