1.12
This commit is contained in:
parent
b6cf2a2c59
commit
29cf9fa90b
68 changed files with 220 additions and 222 deletions
src/main/java/techreborn/client
container
gui/widget
render/entitys
|
@ -112,7 +112,7 @@ public class ContainerLESU extends RebornContainer {
|
|||
} else if (id == 4) {
|
||||
this.euStorage = value;
|
||||
}
|
||||
this.euStorage = ((connectedBlocks + 1) * ConfigTechReborn.LesuStoragePerBlock);
|
||||
this.euStorage = ((connectedBlocks + 1) * TileLesu.storagePerBlock);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -67,9 +67,4 @@ public class GuiButtonHologram extends GuiButton {
|
|||
public void drawButtonForegroundLayer(int mouseX, int mouseY) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawButton(Minecraft mc, int mouseX, int mouseY) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,9 +62,4 @@ public class GuiButtonPowerBar extends GuiButton {
|
|||
public void drawButtonForegroundLayer(int mouseX, int mouseY) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawButton(Minecraft mc, int mouseX, int mouseY) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ import net.minecraft.client.renderer.texture.TextureMap;
|
|||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import techreborn.blocks.BlockNuke;
|
||||
import techreborn.entitys.EntityNukePrimed;
|
||||
import techreborn.entities.EntityNukePrimed;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
/**
|
||||
|
@ -63,7 +63,7 @@ public class RenderNukePrimed extends Render<EntityNukePrimed> {
|
|||
this.bindEntityTexture(entity);
|
||||
GlStateManager.translate(-0.5F, -0.5F, 0.5F);
|
||||
blockrendererdispatcher.renderBlockBrightness(ModBlocks.NUKE.getDefaultState(),
|
||||
entity.getBrightness(partialTicks));
|
||||
entity.getBrightness());
|
||||
GlStateManager.translate(0.0F, 0.0F, 1.0F);
|
||||
if (entity.fuse / 5 % 2 == 0) {
|
||||
GlStateManager.disableLighting();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue