public virtual void OnBreak(Vector3Int blockPos, BlockBreakReason reason) { if (GameClient.IsGameWorldloaded && GameClient.theWorld != null) { //Spawn particles //TODO: Particles ParticleEngine.SpawnParticles(blockPos.ToVector3(), Title, 5f, Particle.Behavior.BlockParticle, 15); } }
public void SetBlock(ushort id, byte x, byte y, byte z, BlockBreakReason reason) { SetBlock(id, x, y, z, (byte)reason); }
public void SetBlockAt(Vector3Int pos, uint id, BlockBreakReason reason) { SetBlockAt(pos.X, pos.Y, pos.Z, id, (uint)reason); }
public void SetBlockAt(int X, int Y, int Z, uint id, BlockBreakReason reason) { SetBlockAt(X, Y, Z, id, (uint)reason); }