public static void IssueBlockUpdate(Block cause) { Vector3Int pos = cause.Position; World.GetBlock(new Vector3Int(pos.x - 1, pos.y, pos.z)).BlockUpdate(cause); World.GetBlock(new Vector3Int(pos.x + 1, pos.y, pos.z)).BlockUpdate(cause); World.GetBlock(new Vector3Int(pos.x, pos.y - 1, pos.z)).BlockUpdate(cause); World.GetBlock(new Vector3Int(pos.x, pos.y + 1, pos.z)).BlockUpdate(cause); }
public void SetBlockAt(Vector3Int position, BaseClasses.Block block) { _blocks[API.World.PositionToPositionInChunk(position)] = block; }
public override void BlockUpdate(BaseClasses.Block cause) { }