aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2021-05-24 16:45:15 +0200
committerGitHub <noreply@github.com>2021-05-24 16:45:15 +0200
commit12582fb1cec74a5d05a1adfedc1eb04e4f7409c1 (patch)
tree18ebd936b02506772cd2004d0c893d8dcecb1cad /src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
parentc39086946112174b81612e7fd96a2ce0ad056620 (diff)
parenta4e104881944bbc03eddeacb24a6b7bd94cc53ce (diff)
downloadGT5-Unofficial-12582fb1cec74a5d05a1adfedc1eb04e4f7409c1.tar.gz
GT5-Unofficial-12582fb1cec74a5d05a1adfedc1eb04e4f7409c1.tar.bz2
GT5-Unofficial-12582fb1cec74a5d05a1adfedc1eb04e4f7409c1.zip
Merge pull request #546 from GTNewHorizons/glow-texture
fix(render): grass block top grey in inventory
Diffstat (limited to 'src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java')
-rw-r--r--src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java b/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
index 24dcc8ef5e..e24ed04539 100644
--- a/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
+++ b/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
@@ -44,6 +44,7 @@ public class GT_RadioactiveCellIC_Item extends GT_RadioactiveCell_Item implement
return 0;
}
+ @Override
public void processChamber(IReactor reactor, ItemStack yourStack, int x, int y, boolean heatrun) {
if (!reactor.produceEnergy()) {
return;
@@ -110,6 +111,7 @@ public class GT_RadioactiveCellIC_Item extends GT_RadioactiveCell_Item implement
}
}
+ @Override
public boolean acceptUraniumPulse(IReactor reactor, ItemStack yourStack, ItemStack pulsingStack, int youX, int youY, int pulseX, int pulseY, boolean heatrun) {
if (!heatrun) {
if(sMox){
@@ -122,26 +124,32 @@ public class GT_RadioactiveCellIC_Item extends GT_RadioactiveCell_Item implement
return true;
}
+ @Override
public boolean canStoreHeat(IReactor reactor, ItemStack yourStack, int x, int y) {
return false;
}
+ @Override
public int getMaxHeat(IReactor reactor, ItemStack yourStack, int x, int y) {
return 0;
}
+ @Override
public int getCurrentHeat(IReactor reactor, ItemStack yourStack, int x, int y) {
return 0;
}
+ @Override
public int alterHeat(IReactor reactor, ItemStack yourStack, int x, int y, int heat) {
return heat;
}
+ @Override
public float influenceExplosion(IReactor reactor, ItemStack yourStack) {
return 2 * this.numberOfCells;
}
+ @Override
public void onUpdate(ItemStack stack, World world, Entity entity, int slotIndex, boolean isCurrentItem) {
if (this.sRadiation > 0 && (entity instanceof EntityLivingBase)) {
EntityLivingBase entityLiving = (EntityLivingBase) entity;