Official 1.10 port

- updated IC2 API
This commit is contained in:
aidancbrady committed 2016-07-14 02:24:31 -04:00
1 parent 26ae2c8de3
commit c703ddf956
24 files changed
+154 -13

No files matched your search

@@ -30,4 +30,10 @@ public class ShapedMekanismRecipeHandler implements IRecipeHandler<ShapedMekanis
{
return true;
}
@Override
public String getRecipeCategoryUid(ShapedMekanismRecipe recipe)
{
return VanillaRecipeCategoryUid.CRAFTING;
}
}
@@ -35,4 +35,10 @@ public class ShapelessMekanismRecipeHandler implements IRecipeHandler<ShapelessM
{
return true;
}
@Override
public String getRecipeCategoryUid(@Nonnull ShapelessMekanismRecipe recipe)
{
return VanillaRecipeCategoryUid.CRAFTING;
}
}
@@ -43,4 +43,10 @@ public class AdvancedMachineRecipeHandler<T extends AdvancedMachineRecipeWrapper
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull T recipe)
{
return category.getUid();
}
}
@@ -43,4 +43,10 @@ public class ChanceMachineRecipeHandler<T extends ChanceMachineRecipeWrapper> im
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull T recipe)
{
return category.getUid();
}
}
@@ -43,4 +43,10 @@ public class MachineRecipeHandler<T extends MachineRecipeWrapper> implements IRe
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull T recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ChemicalCrystallizerRecipeHandler implements IRecipeHandler<Chemica
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ChemicalCrystallizerRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ChemicalDissolutionChamberRecipeHandler implements IRecipeHandler<C
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ChemicalDissolutionChamberRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ChemicalInfuserRecipeHandler implements IRecipeHandler<ChemicalInfu
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ChemicalInfuserRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ChemicalOxidizerRecipeHandler implements IRecipeHandler<ChemicalOxi
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ChemicalOxidizerRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ChemicalWasherRecipeHandler implements IRecipeHandler<ChemicalWashe
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ChemicalWasherRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ElectrolyticSeparatorRecipeHandler implements IRecipeHandler<Electr
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ElectrolyticSeparatorRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class MetallurgicInfuserRecipeHandler implements IRecipeHandler<Metallurg
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull MetallurgicInfuserRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class PRCRecipeHandler implements IRecipeHandler<PRCRecipeWrapper>
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull PRCRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class RotaryCondensentratorRecipeHandler implements IRecipeHandler<Rotary
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull RotaryCondensentratorRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class SolarNeutronRecipeHandler implements IRecipeHandler<SolarNeutronRec
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull SolarNeutronRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -39,4 +39,10 @@ public class ThermalEvaporationRecipeHandler implements IRecipeHandler<ThermalEv
{
return recipe.category == category;
}
@Override
public String getRecipeCategoryUid(@Nonnull ThermalEvaporationRecipeWrapper recipe)
{
return category.getUid();
}
}
@@ -198,7 +198,7 @@ public class ItemBalloon extends ItemMekanism implements IMetaItem
public ItemStack dispenseStack(IBlockSource source, ItemStack stack)
{
Coord4D coord = new Coord4D(source.getX(), source.getY(), source.getZ(), source.getWorld().provider.getDimension());
EnumFacing side = EnumFacing.getFront(BlockDispenser.getFacing(source.getBlockMetadata()).ordinal());
EnumFacing side = (EnumFacing)source.func_189992_e().getValue(BlockDispenser.FACING);
List<EntityLivingBase> entities = source.getWorld().getEntitiesWithinAABB(EntityLivingBase.class, coord.offset(side).getBoundingBox());
boolean latched = false;