public bool AddBlockEntity(BlockCoordinates coordinates, BlockEntity entity) { entity.KnownPosition = coordinates; return(BlockEntities.TryAdd(coordinates, entity)); }
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)); }
public bool AddBlockEntity(BlockCoordinates coordinates, BlockEntity entity) { entity.KnownPosition = coordinates; entity.Block = World.GetBlockState(coordinates).Block; return(BlockEntities.TryAdd(coordinates, entity)); }