fixed headers, implemented new armor computation for IC2
This commit is contained in:
parent
a6ed5709ef
commit
705e5e62a0
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* This software is provided under the terms of the Minecraft Forge Public
|
||||
* License v1.0.
|
||||
*/
|
||||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
public class ArmorProperties {
|
||||
public int damageRemove = 0;
|
||||
public boolean allowRegularComputation = false;
|
||||
}
|
|
@ -4,8 +4,8 @@
|
|||
*/
|
||||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import net.minecraft.src.Block;
|
||||
import net.minecraft.src.World;
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
import net.minecraft.src.IInventory;
|
||||
import net.minecraft.src.ItemStack;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
import net.minecraft.src.World;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
/**
|
||||
* This software is provided under the terms of the Minecraft Forge Public
|
||||
* License v1.0.
|
||||
*/
|
||||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import net.minecraft.src.ItemStack;
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
import net.minecraft.src.EnumStatus;
|
||||
|
||||
public interface IDestroyToolHandler {
|
||||
/** Called when the user's currently equipped item is destroyed.
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/*
|
||||
/**
|
||||
* This software is provided under the terms of the Minecraft Forge Public
|
||||
* License v1.0.
|
||||
*/
|
||||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import javax.swing.text.html.parser.Entity;
|
||||
|
||||
import net.minecraft.src.EntityPlayer;
|
||||
import net.minecraft.src.ItemArmor;
|
||||
|
||||
/**
|
||||
|
@ -15,13 +18,22 @@ import net.minecraft.src.ItemArmor;
|
|||
* @see ItemArmor
|
||||
*/
|
||||
public interface ISpecialArmor {
|
||||
|
||||
/**
|
||||
* This interface will adjust the amount of damage received by the entity.
|
||||
* @deprecated use getProperties instead.
|
||||
*/
|
||||
public int adjustArmorDamage (int damage);
|
||||
|
||||
/**
|
||||
* When this return true, the regular armor computation will be cancelled
|
||||
* @deprecated use getProperties instead.
|
||||
*/
|
||||
public boolean allowRegularComputation ();
|
||||
|
||||
/**
|
||||
* Return extra properties for the armor
|
||||
*/
|
||||
public ArmorProperties getProperties(EntityPlayer player,
|
||||
int intitialDamage, int currentDamage);
|
||||
}
|
||||
|
|
|
@ -5,11 +5,9 @@
|
|||
|
||||
package net.minecraft.src.forge;
|
||||
|
||||
import net.minecraft.src.BiomeGenBase;
|
||||
import net.minecraft.src.Block;
|
||||
import net.minecraft.src.Item;
|
||||
import net.minecraft.src.ItemStack;
|
||||
import net.minecraft.src.ItemTool;
|
||||
import net.minecraft.src.World;
|
||||
|
||||
import java.util.*;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -8,6 +8,6 @@ set PATH=E:\cygwin\bin;%PATH%
|
|||
|
||||
cd forge
|
||||
|
||||
sh package.sh 1.0.4
|
||||
sh package.sh 1.0.5
|
||||
|
||||
pause
|
||||
|
|
Loading…
Reference in New Issue