110 errors
This commit is contained in:
parent
f3ba539497
commit
6743315d8e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class BlockCloth extends Block {
|
||||
private Icon[] iconArray;
|
||||
|
||||
public BlockCloth() {
|
||||
super(35, Material.cloth);
|
||||
this.setCreativeTab(CreativeTabs.tabBlock);
|
||||
}
|
||||
|
||||
/**
|
||||
* From the specified side and block metadata retrieves the blocks texture.
|
||||
* Args: side, metadata
|
||||
*/
|
||||
public Icon getIcon(int par1, int par2) {
|
||||
return this.iconArray[par2 % this.iconArray.length];
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines the damage on the item the block drops. Used in cloth and wood.
|
||||
*/
|
||||
public int damageDropped(int par1) {
|
||||
return par1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes a dye damage value and returns the block damage value to match
|
||||
*/
|
||||
public static int getBlockFromDye(int par0) {
|
||||
return ~par0 & 15;
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes a block damage value and returns the dye damage value to match
|
||||
*/
|
||||
public static int getDyeFromBlock(int par0) {
|
||||
return ~par0 & 15;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns a list of blocks with the same ID, but different meta (eg: wood
|
||||
* returns 4 blocks)
|
||||
*/
|
||||
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List) {
|
||||
for (int var4 = 0; var4 < 16; ++var4) {
|
||||
par3List.add(new ItemStack(par1, 1, var4));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* When this method is called, your block should register all the icons it needs
|
||||
* with the given IconRegister. This is the only chance you get to register
|
||||
* icons.
|
||||
*/
|
||||
public void registerIcons(IconRegister par1IconRegister) {
|
||||
this.iconArray = new Icon[16];
|
||||
|
||||
for (int var2 = 0; var2 < this.iconArray.length; ++var2) {
|
||||
this.iconArray[var2] = par1IconRegister.registerIcon("cloth_" + var2);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,6 +10,8 @@ public class EntityOtherPlayerMP extends AbstractClientPlayer
|
|||
private double otherPlayerMPYaw;
|
||||
private double otherPlayerMPPitch;
|
||||
|
||||
public byte[] skinPacket;
|
||||
|
||||
public EntityOtherPlayerMP(World par1World, String par2Str)
|
||||
{
|
||||
super(par1World, par2Str);
|
||||
|
|
|
@ -28,7 +28,7 @@ public abstract class EntityPlayer extends EntityLivingBase implements ICommandS
|
|||
protected int flyToggleTimer;
|
||||
public float prevCameraYaw;
|
||||
public float cameraYaw;
|
||||
protected final String username;
|
||||
public final String username;
|
||||
|
||||
/**
|
||||
* Used by EntityPlayer to prevent too many xp orbs from getting absorbed at once.
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
public class EnumOSHelper {
|
||||
public static final int[] field_90049_a = new int[EnumOS.values().length];
|
||||
|
||||
static {
|
||||
try {
|
||||
field_90049_a[EnumOS.LINUX.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError var4) {
|
||||
;
|
||||
}
|
||||
|
||||
try {
|
||||
field_90049_a[EnumOS.SOLARIS.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError var3) {
|
||||
;
|
||||
}
|
||||
|
||||
try {
|
||||
field_90049_a[EnumOS.WINDOWS.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError var2) {
|
||||
;
|
||||
}
|
||||
|
||||
try {
|
||||
field_90049_a[EnumOS.MACOS.ordinal()] = 4;
|
||||
} catch (NoSuchFieldError var1) {
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,6 +22,7 @@ public class GameSettings
|
|||
/** Limit framerate labels */
|
||||
private static final String[] LIMIT_FRAMERATES = new String[] {"performance.max", "performance.balanced", "performance.powersaver"};
|
||||
private static final String[] AMBIENT_OCCLUSIONS = new String[] {"options.ao.off", "options.ao.min", "options.ao.max"};
|
||||
private static final String[] ANTIALIASING = new String[] { "options.framebufferAntialias.none", "options.framebufferAntialias.auto", "options.framebufferAntialias.fxaa" , "options.framebufferAntialias.msaa4", "options.framebufferAntialias.msaa8" };
|
||||
public float musicVolume = 1.0F;
|
||||
public float soundVolume = 1.0F;
|
||||
public float mouseSensitivity = 0.5F;
|
||||
|
@ -171,6 +172,17 @@ public class GameSettings
|
|||
this.language = "en_US";
|
||||
}
|
||||
|
||||
public int getSkinLayers() {
|
||||
int skinLayersByte = 0;
|
||||
if(showSkinJacket) skinLayersByte |= 1;
|
||||
if(showSkinHat) skinLayersByte |= 2;
|
||||
if(showSkinLeftArm) skinLayersByte |= 4;
|
||||
if(showSkinRightArm) skinLayersByte |= 8;
|
||||
if(showSkinLeftLeg) skinLayersByte |= 16;
|
||||
if(showSkinRightLeg) skinLayersByte |= 32;
|
||||
return skinLayersByte;
|
||||
}
|
||||
|
||||
public String getKeyBindingDescription(int par1)
|
||||
{
|
||||
return I18n.getString(this.keyBindings[par1].keyDescription);
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
||||
import net.lax1dude.eaglercraft.TextureLocation;
|
||||
import net.minecraft.client.Minecraft;
|
||||
|
||||
public class GuiParticle extends Gui {
|
||||
private List particles = new ArrayList();
|
||||
private Minecraft mc;
|
||||
|
||||
public GuiParticle(Minecraft par1Minecraft) {
|
||||
this.mc = par1Minecraft;
|
||||
}
|
||||
|
||||
public void update() {
|
||||
for (int var1 = 0; var1 < this.particles.size(); ++var1) {
|
||||
Particle var2 = (Particle) this.particles.get(var1);
|
||||
var2.preUpdate();
|
||||
var2.update(this);
|
||||
|
||||
if (var2.isDead) {
|
||||
this.particles.remove(var1--);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final TextureLocation tex_particles = new TextureLocation("/gui/particles.png");
|
||||
|
||||
public void draw(float par1) {
|
||||
tex_particles.bindTexture();
|
||||
|
||||
for (int var2 = 0; var2 < this.particles.size(); ++var2) {
|
||||
Particle var3 = (Particle) this.particles.get(var2);
|
||||
int var4 = (int) (var3.prevPosX + (var3.posX - var3.prevPosX) * (double) par1 - 4.0D);
|
||||
int var5 = (int) (var3.prevPosY + (var3.posY - var3.prevPosY) * (double) par1 - 4.0D);
|
||||
float var6 = (float) (var3.prevTintAlpha + (var3.tintAlpha - var3.prevTintAlpha) * (double) par1);
|
||||
float var7 = (float) (var3.prevTintRed + (var3.tintRed - var3.prevTintRed) * (double) par1);
|
||||
float var8 = (float) (var3.prevTintGreen + (var3.tintGreen - var3.prevTintGreen) * (double) par1);
|
||||
float var9 = (float) (var3.prevTintBlue + (var3.tintBlue - var3.prevTintBlue) * (double) par1);
|
||||
EaglerAdapter.glColor4f(var7, var8, var9, var6);
|
||||
this.drawTexturedModalRect(var4, var5, 40, 0, 8, 8);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
public class GuiProgress extends GuiScreen implements IProgressUpdate {
|
||||
private String progressMessage = "";
|
||||
private String workingMessage = "";
|
||||
private int currentProgress = 0;
|
||||
private boolean noMoreProgress;
|
||||
|
||||
/**
|
||||
* "Saving level", or the loading,or downloading equivelent
|
||||
*/
|
||||
public void displayProgressMessage(String par1Str) {
|
||||
this.resetProgressAndMessage(par1Str);
|
||||
}
|
||||
|
||||
/**
|
||||
* this string, followed by "working..." and then the "% complete" are the 3
|
||||
* lines shown. This resets progress to 0, and the WorkingString to
|
||||
* "working...".
|
||||
*/
|
||||
public void resetProgressAndMessage(String par1Str) {
|
||||
this.progressMessage = par1Str;
|
||||
this.resetProgresAndWorkingMessage("Working...");
|
||||
}
|
||||
|
||||
/**
|
||||
* This is called with "Working..." by resetProgressAndMessage
|
||||
*/
|
||||
public void resetProgresAndWorkingMessage(String par1Str) {
|
||||
this.workingMessage = par1Str;
|
||||
this.setLoadingProgress(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the progress bar on the loading screen to the specified amount. Args:
|
||||
* loadProgress
|
||||
*/
|
||||
public void setLoadingProgress(int par1) {
|
||||
this.currentProgress = par1;
|
||||
}
|
||||
|
||||
/**
|
||||
* called when there is no more progress to be had, both on completion and
|
||||
* failure
|
||||
*/
|
||||
public void onNoMoreProgress() {
|
||||
this.noMoreProgress = true;
|
||||
}
|
||||
|
||||
public boolean doesGuiPauseGame() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws the screen and all the components in it.
|
||||
*/
|
||||
public void drawScreen(int par1, int par2, float par3) {
|
||||
if (this.noMoreProgress) {
|
||||
this.mc.displayGuiScreen((GuiScreen) null);
|
||||
} else {
|
||||
this.drawDefaultBackground();
|
||||
this.drawCenteredString(this.fontRenderer, this.progressMessage, this.width / 2, 70, 16777215);
|
||||
this.drawCenteredString(this.fontRenderer, this.workingMessage + " " + this.currentProgress + "%", this.width / 2, 90, 16777215);
|
||||
super.drawScreen(par1, par2, par3);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,110 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
public class GuiScreenChatOptions extends GuiScreen {
|
||||
/** An array of all EnumOptions which are to do with chat. */
|
||||
private static final EnumOptions[] allScreenChatOptions = new EnumOptions[] { EnumOptions.CHAT_VISIBILITY,
|
||||
EnumOptions.CHAT_COLOR, EnumOptions.CHAT_LINKS, EnumOptions.CHAT_OPACITY, EnumOptions.CHAT_LINKS_PROMPT,
|
||||
EnumOptions.CHAT_SCALE, EnumOptions.CHAT_HEIGHT_FOCUSED, EnumOptions.CHAT_HEIGHT_UNFOCUSED,
|
||||
EnumOptions.CHAT_WIDTH };
|
||||
private static final EnumOptions[] allMultiplayerOptions = new EnumOptions[] { EnumOptions.SHOW_CAPE };
|
||||
|
||||
/** Instance of GuiScreen. */
|
||||
private final GuiScreen theGuiScreen;
|
||||
|
||||
/** Instance of GameSettings file. */
|
||||
private final GameSettings theSettings;
|
||||
private String theChatOptions;
|
||||
private String field_82268_n;
|
||||
private int field_82269_o = 0;
|
||||
|
||||
public GuiScreenChatOptions(GuiScreen par1GuiScreen, GameSettings par2GameSettings) {
|
||||
this.theGuiScreen = par1GuiScreen;
|
||||
this.theSettings = par2GameSettings;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the buttons (and other controls) to the screen in question.
|
||||
*/
|
||||
public void initGui() {
|
||||
StringTranslate var1 = StringTranslate.getInstance();
|
||||
int var2 = 0;
|
||||
this.theChatOptions = var1.translateKey("options.chat.title");
|
||||
this.field_82268_n = var1.translateKey("options.multiplayer.title");
|
||||
EnumOptions[] var3 = allScreenChatOptions;
|
||||
int var4 = var3.length;
|
||||
int var5;
|
||||
EnumOptions var6;
|
||||
|
||||
for (var5 = 0; var5 < var4; ++var5) {
|
||||
var6 = var3[var5];
|
||||
|
||||
if (var6.getEnumFloat()) {
|
||||
this.buttonList.add(new GuiSlider(var6.returnEnumOrdinal(), this.width / 2 - 155 + var2 % 2 * 160,
|
||||
this.height / 6 + 24 * (var2 >> 1), var6, this.theSettings.getKeyBinding(var6),
|
||||
this.theSettings.getOptionFloatValue(var6)));
|
||||
} else {
|
||||
this.buttonList.add(new GuiSmallButton(var6.returnEnumOrdinal(), this.width / 2 - 155 + var2 % 2 * 160,
|
||||
this.height / 6 + 24 * (var2 >> 1), var6, this.theSettings.getKeyBinding(var6)));
|
||||
}
|
||||
|
||||
++var2;
|
||||
}
|
||||
|
||||
if (var2 % 2 == 1) {
|
||||
++var2;
|
||||
}
|
||||
|
||||
this.field_82269_o = this.height / 6 + 24 * (var2 >> 1);
|
||||
var2 += 2;
|
||||
var3 = allMultiplayerOptions;
|
||||
var4 = var3.length;
|
||||
|
||||
for (var5 = 0; var5 < var4; ++var5) {
|
||||
var6 = var3[var5];
|
||||
|
||||
if (var6.getEnumFloat()) {
|
||||
this.buttonList.add(new GuiSlider(var6.returnEnumOrdinal(), this.width / 2 - 155 + var2 % 2 * 160,
|
||||
this.height / 6 + 24 * (var2 >> 1), var6, this.theSettings.getKeyBinding(var6),
|
||||
this.theSettings.getOptionFloatValue(var6)));
|
||||
} else {
|
||||
this.buttonList.add(new GuiSmallButton(var6.returnEnumOrdinal(), this.width / 2 - 155 + var2 % 2 * 160,
|
||||
this.height / 6 + 24 * (var2 >> 1), var6, this.theSettings.getKeyBinding(var6)));
|
||||
}
|
||||
|
||||
++var2;
|
||||
}
|
||||
|
||||
this.buttonList
|
||||
.add(new GuiButton(200, this.width / 2 - 100, this.height / 6 + 168, var1.translateKey("gui.done")));
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired when a control is clicked. This is the equivalent of
|
||||
* ActionListener.actionPerformed(ActionEvent e).
|
||||
*/
|
||||
protected void actionPerformed(GuiButton par1GuiButton) {
|
||||
if (par1GuiButton.enabled) {
|
||||
if (par1GuiButton.id < 100 && par1GuiButton instanceof GuiSmallButton) {
|
||||
this.theSettings.setOptionValue(((GuiSmallButton) par1GuiButton).returnEnumOptions(), 1);
|
||||
par1GuiButton.displayString = this.theSettings
|
||||
.getKeyBinding(EnumOptions.getEnumOptions(par1GuiButton.id));
|
||||
}
|
||||
|
||||
if (par1GuiButton.id == 200) {
|
||||
this.mc.gameSettings.saveOptions();
|
||||
this.mc.displayGuiScreen(this.theGuiScreen);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws the screen and all the components in it.
|
||||
*/
|
||||
public void drawScreen(int par1, int par2, float par3) {
|
||||
this.drawDefaultBackground();
|
||||
this.drawCenteredString(this.fontRenderer, this.theChatOptions, this.width / 2, 20, 16777215);
|
||||
this.drawCenteredString(this.fontRenderer, this.field_82268_n, this.width / 2, this.field_82269_o + 7,
|
||||
16777215);
|
||||
super.drawScreen(par1, par2, par3);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
class InventoryRepair extends InventoryBasic {
|
||||
/** Container of this anvil's block. */
|
||||
final ContainerRepair theContainer;
|
||||
|
||||
InventoryRepair(ContainerRepair par1ContainerRepair, String par2Str, boolean par3, int par4) {
|
||||
super(par2Str, par3, par4);
|
||||
this.theContainer = par1ContainerRepair;
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when an the contents of an Inventory change, usually
|
||||
*/
|
||||
public void onInventoryChanged() {
|
||||
super.onInventoryChanged();
|
||||
this.theContainer.onCraftMatrixChanged(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if automation is allowed to insert the given stack (ignoring
|
||||
* stack size) into the given slot.
|
||||
*/
|
||||
public boolean isStackValidForSlot(int par1, ItemStack par2ItemStack) {
|
||||
return true;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
class LogAgentINNER1 {
|
||||
}
|
|
@ -13,6 +13,7 @@ public class ModelBiped extends ModelBase
|
|||
public ModelRenderer bipedLeftLeg;
|
||||
public ModelRenderer bipedEars;
|
||||
public ModelRenderer bipedCloak;
|
||||
public boolean blockTransparentSkin = false;
|
||||
|
||||
/**
|
||||
* Records whether the model should be rendered holding an item in the left hand, and if that item is a block.
|
||||
|
|
|
@ -0,0 +1,59 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
import net.lax1dude.eaglercraft.EaglercraftRandom;
|
||||
|
||||
public class Particle {
|
||||
private static EaglercraftRandom rand = new EaglercraftRandom();
|
||||
public double posX;
|
||||
public double posY;
|
||||
public double prevPosX;
|
||||
public double prevPosY;
|
||||
public double velocityX;
|
||||
public double velocityY;
|
||||
public double accelScale;
|
||||
public boolean isDead;
|
||||
public int timeTick;
|
||||
public int timeLimit;
|
||||
public double tintRed;
|
||||
public double tintGreen;
|
||||
public double tintBlue;
|
||||
public double tintAlpha;
|
||||
public double prevTintRed;
|
||||
public double prevTintGreen;
|
||||
public double prevTintBlue;
|
||||
public double prevTintAlpha;
|
||||
|
||||
public void update(GuiParticle par1GuiParticle) {
|
||||
this.posX += this.velocityX;
|
||||
this.posY += this.velocityY;
|
||||
this.velocityX *= this.accelScale;
|
||||
this.velocityY *= this.accelScale;
|
||||
this.velocityY += 0.1D;
|
||||
|
||||
if (++this.timeTick > this.timeLimit) {
|
||||
this.setDead();
|
||||
}
|
||||
|
||||
this.tintAlpha = 2.0D - (double) this.timeTick / (double) this.timeLimit * 2.0D;
|
||||
|
||||
if (this.tintAlpha > 1.0D) {
|
||||
this.tintAlpha = 1.0D;
|
||||
}
|
||||
|
||||
this.tintAlpha *= this.tintAlpha;
|
||||
this.tintAlpha *= 0.5D;
|
||||
}
|
||||
|
||||
public void preUpdate() {
|
||||
this.prevTintRed = this.tintRed;
|
||||
this.prevTintGreen = this.tintGreen;
|
||||
this.prevTintBlue = this.tintBlue;
|
||||
this.prevTintAlpha = this.tintAlpha;
|
||||
this.prevPosX = this.posX;
|
||||
this.prevPosY = this.posY;
|
||||
}
|
||||
|
||||
public void setDead() {
|
||||
this.isDead = true;
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@ package net.minecraft.src;
|
|||
import java.util.Random;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
import org.lwjgl.opengl.GL12;
|
||||
import net.lax1dude.eaglercraft.TextureLocation;
|
||||
|
||||
public class RenderEnderman extends RenderLiving
|
||||
{
|
||||
|
@ -43,6 +44,8 @@ public class RenderEnderman extends RenderLiving
|
|||
return endermanTextures;
|
||||
}
|
||||
|
||||
private static final TextureLocation terrain = new TextureLocation("/terrain.png");
|
||||
|
||||
/**
|
||||
* Render the block an enderman is carrying
|
||||
*/
|
||||
|
@ -73,6 +76,7 @@ public class RenderEnderman extends RenderLiving
|
|||
}
|
||||
}
|
||||
|
||||
public static final TextureLocation tex_eyes = new TextureLocation("/mob/enderman_eyes.png");
|
||||
/**
|
||||
* Render the endermans eyes
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
package net.minecraft.src;
|
||||
|
||||
class SlotRepair extends Slot {
|
||||
final World theWorld;
|
||||
|
||||
final int blockPosX;
|
||||
|
||||
final int blockPosY;
|
||||
|
||||
final int blockPosZ;
|
||||
|
||||
/** The anvil this slot belongs to. */
|
||||
final ContainerRepair anvil;
|
||||
|
||||
SlotRepair(ContainerRepair par1ContainerRepair, IInventory par2IInventory, int par3, int par4, int par5, World par6World, int par7, int par8, int par9) {
|
||||
super(par2IInventory, par3, par4, par5);
|
||||
this.anvil = par1ContainerRepair;
|
||||
this.theWorld = par6World;
|
||||
this.blockPosX = par7;
|
||||
this.blockPosY = par8;
|
||||
this.blockPosZ = par9;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the stack is a valid item for this slot. Always true beside for the
|
||||
* armor slots.
|
||||
*/
|
||||
public boolean isItemValid(ItemStack par1ItemStack) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return whether this slot's stack can be taken from this slot.
|
||||
*/
|
||||
public boolean canTakeStack(EntityPlayer par1EntityPlayer) {
|
||||
return (par1EntityPlayer.capabilities.isCreativeMode || par1EntityPlayer.experienceLevel >= this.anvil.maximumCost) && this.anvil.maximumCost > 0 && this.getHasStack();
|
||||
}
|
||||
|
||||
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack) {
|
||||
if (!par1EntityPlayer.capabilities.isCreativeMode) {
|
||||
par1EntityPlayer.addExperienceLevel(-this.anvil.maximumCost);
|
||||
}
|
||||
|
||||
ContainerRepair.getRepairInputInventory(this.anvil).setInventorySlotContents(0, (ItemStack) null);
|
||||
|
||||
if (ContainerRepair.getStackSizeUsedInRepair(this.anvil) > 0) {
|
||||
ItemStack var3 = ContainerRepair.getRepairInputInventory(this.anvil).getStackInSlot(1);
|
||||
|
||||
if (var3 != null && var3.stackSize > ContainerRepair.getStackSizeUsedInRepair(this.anvil)) {
|
||||
var3.stackSize -= ContainerRepair.getStackSizeUsedInRepair(this.anvil);
|
||||
ContainerRepair.getRepairInputInventory(this.anvil).setInventorySlotContents(1, var3);
|
||||
} else {
|
||||
ContainerRepair.getRepairInputInventory(this.anvil).setInventorySlotContents(1, (ItemStack) null);
|
||||
}
|
||||
} else {
|
||||
ContainerRepair.getRepairInputInventory(this.anvil).setInventorySlotContents(1, (ItemStack) null);
|
||||
}
|
||||
|
||||
this.anvil.maximumCost = 0;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue