mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
25 lines
522 B
Java
25 lines
522 B
Java
package com.hbm.tileentity.machine.rbmk;
|
|
|
|
import com.hbm.entity.projectile.EntityRBMKDebris.DebrisType;
|
|
import com.hbm.tileentity.machine.rbmk.TileEntityRBMKConsole.ColumnType;
|
|
|
|
public class TileEntityRBMKBlank extends TileEntityRBMKBase {
|
|
|
|
@Override
|
|
public void onMelt(int reduce) {
|
|
|
|
int count = 1 + worldObj.rand.nextInt(2);
|
|
|
|
for(int i = 0; i < count; i++) {
|
|
spawnDebris(DebrisType.BLANK);
|
|
}
|
|
|
|
super.onMelt(reduce);
|
|
}
|
|
|
|
@Override
|
|
public ColumnType getConsoleType() {
|
|
return ColumnType.BLANK;
|
|
}
|
|
}
|