12 public override void OnBlockAdded(
int value,
int oldValue,
int x,
int y,
int z) {
15 base.OnBlockAdded(value, oldValue, x, y, z);
22 public override void OnBlockRemoved(
int value,
int newValue,
int x,
int y,
int z) {
25 base.OnBlockRemoved(value, newValue, x, y, z);
39 List<Point3> list =
new();
41 if (key.
X >= chunk.Origin.X
42 && key.
X < chunk.Origin.X + 16
43 && key.
Z >= chunk.Origin.Y
44 && key.
Z < chunk.Origin.Y + 16) {
48 foreach (
Point3 item
in list) {
54 if (blockEntity !=
null
57 componentMiner.ComponentPlayer.ComponentGui.ModalPanelWidget =
new FurnaceWidget(componentMiner.
Inventory, componentFurnace);
65 base.Load(valuesDictionary);
70 public void AddFire(
int value,
int x,
int y,
int z) {
static void PlaySound(string name, float volume, float pitch, float pan)
ComponentPlayer ComponentPlayer
DatabaseObject m_databaseObject
SubsystemParticles m_subsystemParticles
void RemoveFire(int x, int y, int z)
override bool InteractBlockEntity(ComponentBlockEntity blockEntity, ComponentMiner componentMiner)
void AddFire(int value, int x, int y, int z)
Dictionary< Point3, FireParticleSystem > m_particleSystemsByCell
override void Load(ValuesDictionary valuesDictionary)
override void OnBlockRemoved(int value, int newValue, int x, int y, int z)
override void OnChunkDiscarding(TerrainChunk chunk)
override void OnBlockGenerated(int value, int x, int y, int z, bool isLoaded)
override int[] HandledBlocks
override void OnBlockAdded(int value, int oldValue, int x, int y, int z)
static int ExtractContents(int value)
Component FindComponent(Type type, string name, bool throwOnError)
ValuesDictionary ValuesDictionary