diff --git a/src/main/java/com/zivilon/cinder_loe/CinderEventHandler.java b/src/main/java/com/zivilon/cinder_loe/CinderEventHandler.java index 8e6b8eb..56e75ee 100644 --- a/src/main/java/com/zivilon/cinder_loe/CinderEventHandler.java +++ b/src/main/java/com/zivilon/cinder_loe/CinderEventHandler.java @@ -105,6 +105,8 @@ public class CinderEventHandler implements IFuelHandler { World world = entity.worldObj; DamageSource source = event.source; + /* Blocking event handler removed and replaced with one in DamageEvent class. Temporarily stored for backup reasons. + if (event.entity instanceof EntityPlayer && !source.isUnblockable()) { EntityPlayerMP player = (EntityPlayerMP) event.entity; ItemStack sword = player.getHeldItem(); @@ -158,7 +160,7 @@ public class CinderEventHandler implements IFuelHandler { } } } - + */ diff --git a/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityLivingBase.java b/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityLivingBase.java new file mode 100644 index 0000000..93fe582 --- /dev/null +++ b/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityLivingBase.java @@ -0,0 +1,188 @@ +package com.zivilon.cinder_loe.mixins; + +import com.zivilon.cinder_loe.util.Pair; +import com.zivilon.cinder_loe.util.DamageEvent; + +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.Overwrite; + +import net.minecraft.potion.Potion; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.util.DamageSource; +import net.minecraft.world.World; +import net.minecraft.entity.effect.EntityLightningBolt; + +import net.minecraftforge.common.ForgeHooks; + +import java.util.List; + +@Mixin(EntityLivingBase.class) +public abstract class MixinEntityLivingBase extends Entity { + @Shadow + protected int entityAge; + @Shadow + public int maxHurtTime; + @Shadow + public float attackedAtYaw; + @Shadow + protected EntityPlayer attackingPlayer; + @Shadow + protected int recentlyHit; + @Shadow + public int hurtTime; + @Shadow + public float prevHealth; + @Shadow + protected float lastDamage; + @Shadow + public int maxHurtResistantTime; + @Shadow + public float limbSwingAmount; + + @Shadow + protected abstract float getSoundPitch(); + @Shadow + protected abstract float getSoundVolume(); + @Shadow + protected abstract String getHurtSound(); + @Shadow + public abstract void onDeath(DamageSource p_70645_1_); + @Shadow + protected abstract String getDeathSound(); + @Shadow + public abstract float getHealth(); + @Shadow + public abstract void knockBack(Entity p_70653_1_, float p_70653_2_, double p_70653_3_, double p_70653_5_); + @Shadow + public abstract void setRevengeTarget(EntityLivingBase p_70604_1_); + @Shadow + protected abstract void damageEntity(DamageSource p_70665_1_, float p_70665_2_); + @Shadow + public abstract ItemStack getEquipmentInSlot(int p_71124_1_); + @Shadow + public abstract boolean isPotionActive(int p_82165_1_); + @Shadow + public abstract boolean isPotionActive(Potion p_70644_1_); + + public MixinEntityLivingBase(World world) { + super(world); + } + + /** + * @author Shinare + * @reason Adding damage event method + */ + @Overwrite + public boolean attackEntityFrom(DamageSource source, float damage) { + if (ForgeHooks.onLivingAttack((EntityLivingBase)(Object)this, source, damage)) return false; + if (this.isEntityInvulnerable()) { + return false; + } else if (this.worldObj.isRemote) { + return false; + } else { + this.entityAge = 0; + + if (this.getHealth() <= 0.0F) { + return false; + } else if (source.isFireDamage() && this.isPotionActive(Potion.fireResistance)) { + return false; + } + + DamageEvent event = new DamageEvent(source, damage, (EntityLivingBase)(Object)this, source.getEntity()); + Pair result = DamageEvent.run_events(event); + if (result.value) return false; + damage = result.key.damage; + + if ((source == DamageSource.anvil || source == DamageSource.fallingBlock) && this.getEquipmentInSlot(4) != null) { + this.getEquipmentInSlot(4).damageItem((int)(damage * 4.0F + this.rand.nextFloat() * damage * 2.0F), (EntityLivingBase)(Object)this); + damage *= 0.75F; + } + + this.limbSwingAmount = 1.5F; + boolean flag = true; + + if ((float)this.hurtResistantTime > (float)this.maxHurtResistantTime / 2.0F) { + if (damage <= this.lastDamage) { + return false; + } + + this.damageEntity(source, damage - this.lastDamage); + this.lastDamage = damage; + flag = false; + } else { + this.lastDamage = damage; + this.prevHealth = this.getHealth(); + this.hurtResistantTime = this.maxHurtResistantTime; + this.damageEntity(source, damage); + this.hurtTime = this.maxHurtTime = 10; + } + + this.attackedAtYaw = 0.0F; + Entity entity = source.getEntity(); + + if (entity != null) { + if (entity instanceof EntityLivingBase) { + this.setRevengeTarget((EntityLivingBase)entity); + } + + if (entity instanceof EntityPlayer) { + this.recentlyHit = 100; + this.attackingPlayer = (EntityPlayer)entity; + } else if (entity instanceof net.minecraft.entity.passive.EntityTameable) { + net.minecraft.entity.passive.EntityTameable entitywolf = (net.minecraft.entity.passive.EntityTameable)entity; + + if (entitywolf.isTamed()) { + this.recentlyHit = 100; + this.attackingPlayer = null; + } + } + } + + if (flag) { + this.worldObj.setEntityState(this, (byte)2); + + if (source != DamageSource.drown) { + this.setBeenAttacked(); + } + + if (entity != null) { + double d1 = entity.posX - this.posX; + double d0; + + for (d0 = entity.posZ - this.posZ; d1 * d1 + d0 * d0 < 1.0E-4D; d0 = (Math.random() - Math.random()) * 0.01D) { + d1 = (Math.random() - Math.random()) * 0.01D; + } + + this.attackedAtYaw = (float)(Math.atan2(d0, d1) * 180.0D / Math.PI) - this.rotationYaw; + this.knockBack(entity, damage, d1, d0); + } else { + this.attackedAtYaw = (float)((int)(Math.random() * 2.0D) * 180); + } + } + + String s; + + if (this.getHealth() <= 0.0F) { + s = this.getDeathSound(); + + if (flag && s != null) { + this.playSound(s, this.getSoundVolume(), this.getSoundPitch()); + } + + this.onDeath(source); + } else { + s = this.getHurtSound(); + + if (flag && s != null) { + this.playSound(s, this.getSoundVolume(), this.getSoundPitch()); + } + } + + return true; + } + } +} diff --git a/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityPlayer.java b/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityPlayer.java new file mode 100644 index 0000000..e644b74 --- /dev/null +++ b/src/main/java/com/zivilon/cinder_loe/mixins/MixinEntityPlayer.java @@ -0,0 +1,64 @@ +package com.zivilon.cinder_loe.mixins; + +import com.zivilon.cinder_loe.util.Pair; +import com.zivilon.cinder_loe.util.DamageEvent; + +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.Overwrite; + +import net.minecraft.potion.Potion; +import net.minecraft.entity.*; +import net.minecraft.entity.player.*; +import net.minecraft.item.ItemStack; +import net.minecraft.util.DamageSource; +import net.minecraft.world.World; +import net.minecraft.entity.effect.EntityLightningBolt; + +import net.minecraftforge.common.ForgeHooks; +import net.minecraftforge.common.ISpecialArmor.ArmorProperties; + +import com.mojang.authlib.GameProfile; + +import java.util.List; + +@Mixin(EntityPlayer.class) +public abstract class MixinEntityPlayer extends EntityLivingBase { + + public MixinEntityPlayer(World world, GameProfile p_i45324_2_) { + super(world); + } + + @Shadow + public abstract void addExhaustion(float p_71020_1_); + @Shadow + public InventoryPlayer inventory; + + /** + * @author Shinare + * @reason Removed vanilla blocking damage reduction + */ + @Overwrite + protected void damageEntity(DamageSource source, float damage) { + if (!this.isEntityInvulnerable()) + { + damage = ForgeHooks.onLivingHurt(this, source, damage); + if (damage <= 0) return; + + damage = ArmorProperties.ApplyArmor(this, inventory.armorInventory, source, damage); + if (damage <= 0) return; + damage = this.applyPotionDamageCalculations(source, damage); + float f1 = damage; + damage = Math.max(damage - this.getAbsorptionAmount(), 0.0F); + this.setAbsorptionAmount(this.getAbsorptionAmount() - (f1 - damage)); + + if (damage != 0.0F) + { + this.addExhaustion(source.getHungerDamage()); + float f2 = this.getHealth(); + this.setHealth(this.getHealth() - damage); + this.func_110142_aN().func_94547_a(source, f2, damage); + } + } + } +} diff --git a/src/main/java/com/zivilon/cinder_loe/mixins/overrides/MixinLOTRTradeEntriesOverrides.java b/src/main/java/com/zivilon/cinder_loe/mixins/overrides/MixinLOTRTradeEntriesOverrides.java index 0e49892..a994822 100644 --- a/src/main/java/com/zivilon/cinder_loe/mixins/overrides/MixinLOTRTradeEntriesOverrides.java +++ b/src/main/java/com/zivilon/cinder_loe/mixins/overrides/MixinLOTRTradeEntriesOverrides.java @@ -17,6 +17,9 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Overwrite; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.Unique; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import java.util.Arrays; @@ -128,11 +131,8 @@ public abstract class MixinLOTRTradeEntriesOverrides { * @author * @reason */ - @Overwrite(remap = false) - public static void setupTrades1() { - HOBBIT_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweed, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitPipe), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugChocolate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.mushroom_stew), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mushroomPie), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.leekSoup), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitRing), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitOven), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitPancake), 10)); - HOBBIT_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedLeaf), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.leek, 2), 1), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clover, 1, 1), 40), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)HOBBIT_BARTENDER_BUY).setVessels(LOTRFoods.HOBBIT_DRINK); + @Inject(method = "setupTrades1", at = @At("RETURN"), remap = false) + private static void newTrades(CallbackInfo ci) { MORDOR_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.morgulTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetOrc), 20), @@ -162,7 +162,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.cinderFurItem, 1, 1), 2), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200)); - MORDOR_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.blackUrukSteel), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.nauriteGem), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.morgulShroom), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.elfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitBone), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 3)); ((MixinLOTRTradeEntriesOverrides)(Object)MORDOR_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); GONDOR_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.gondorianTable), 100), @@ -182,11 +181,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorGondor), 25), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200)); - GONDOR_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - GALADHRIM_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.swordElven), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerElven), 13), new LOTRTradeEntry(new ItemStack(LOTRMod.spearElven), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.polearmElven), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.longspearElven), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.axeElven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.elvenBow), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.swordMallorn), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornBow), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetElven), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyElven), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsElven), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsElven), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.elanor), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.niphredil), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornTorchSilver, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornTorchBlue, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornTorchGold, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornTorchGreen, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.lembas), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMiruvor, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.hithlain), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.chestMallorn), 20)); - GALADHRIM_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.orcBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.wargBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.trollBone), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6)); ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_BLACKSMITH_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GALADHRIM_TRADER_BUY).setVessels(LOTRFoods.ELF_DRINK); URUK_HAI_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.urukTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetUruk), 24), @@ -217,11 +212,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.wargArmorUruk), 25)); - URUK_HAI_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.urukSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.elfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitBone), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweed, 3), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 3)); - DWARF_MINER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.coal, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreSilver), 12), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 22), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 4), 3), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 20), new LOTRTradeEntry(new ItemStack(Items.flint), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.sulfur), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.saltpeter), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12)); - DWARF_MINER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cram), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenAle, 1, Short.MAX_VALUE), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeDwarven), 10)); ((MixinLOTRTradeEntriesOverrides)(Object)URUK_HAI_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)DWARF_MINER_BUY).setVessels(LOTRFoods.DWARF_DRINK); ROHAN_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rohirricTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.swordRohan), 15), @@ -245,29 +236,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorRohan), 25)); - ROHAN_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - DUNLENDING_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dunlendingTable), 100), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRum, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6)); - DUNLENDING_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - ROHAN_MEADHOST_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 6), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(Items.apple, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.aleHorn), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.aleHornGold), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWater), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMilk), 3)); - ROHAN_MEADHOST_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - HOBBIT_ORCHARDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.apple), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 4, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 4, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 4, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 4, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 4, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 4, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 9999), 12)); - HOBBIT_ORCHARDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - HOBBIT_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedLeaf), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedSeeds), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cornStalk), 1), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brandingIron), 16), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - HOBBIT_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - BLUE_DWARF_MINER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.coal, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreSilver), 12), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 22), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 4), 3), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 20), new LOTRTradeEntry(new ItemStack(Items.flint), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.sulfur), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.saltpeter), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12)); - BLUE_DWARF_MINER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, Short.MAX_VALUE), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenAle, 1, Short.MAX_VALUE), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBlueDwarven), 10)); - BLUE_DWARF_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dwarvenForge), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarvenRing), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.swordBlueDwarven), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.spearBlueDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeBlueDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.hammerBlueDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeBlueDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBlueDwarven), 13), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBlueDwarven), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBlueDwarven), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.shovelBlueDwarven), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mattockBlueDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.throwingAxeBlueDwarven), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetBlueDwarven), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyBlueDwarven), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsBlueDwarven), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsBlueDwarven), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenAle, 1, 9999), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenTonic, 1, 9999), 14), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugDwarvenAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugDwarvenAle, 1, 3), 160), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfHerb), 10), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 4), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 3), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12)); - BLUE_DWARF_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2)); - NEAR_HARAD_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarNearHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.spearNearHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.poleaxeNearHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.maceNearHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeNearHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerNearHarad), 13), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerNearHaradPoisoned), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.swordHarad), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.spearHarad), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeHarad), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHarad), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHaradPoisoned), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.swordGulfHarad), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetNearHarad), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyNearHarad), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsNearHarad), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsNearHarad), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetHarnedor), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyHarnedor), 34), new LOTRTradeEntry(new ItemStack(LOTRMod.legsHarnedor), 28), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsHarnedor), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetUmbar), 28), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyUmbar), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.legsUmbar), 32), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsUmbar), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetGulfHarad), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyGulfHarad), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsGulfHarad), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsGulfHarad), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorNearHarad), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorUmbar), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradBow), 20), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.swordMoredain), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 3), 160), new LOTRTradeEntry(new ItemStack(LOTRMod.date, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 14), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 2), 50), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipan), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanChocolate), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanBlock), 25), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonade), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 3), 160), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 3), 160), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 5), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 6), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 7), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 3), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBananaBeer, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMangoJuice), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.lionFur), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.lionCooked), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoCooked), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoHorn), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHide), 4), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 4), 1), new LOTRTradeEntry(new ItemStack(Blocks.lapis_ore), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 50), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.shishKebab), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.kebabStand), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.kebabStandSand), 60)); - NEAR_HARAD_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_BLACKSMITH_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)DUNLENDING_BARTENDER_BUY).setVessels(LOTRFoods.DUNLENDING_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_MEADHOST_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HOBBIT_ORCHARDER_BUY).setVessels(LOTRFoods.HOBBIT_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HOBBIT_FARMER_BUY).setVessels(LOTRFoods.HOBBIT_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BLUE_DWARF_MINER_BUY).setVessels(LOTRFoods.DWARF_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BLUE_DWARF_MERCHANT_BUY).setVessels(LOTRFoods.DWARF_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)NEAR_HARAD_MERCHANT_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); ANGMAR_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.angmarTable), 100), @@ -298,7 +267,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.wargArmorAngmar), 25)); - ANGMAR_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.guldurilCrystal), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitBone), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 3)); DOL_GULDUR_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dolGuldurTable), 100), @@ -323,12 +291,8 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(Items.string), 2)); - DOL_GULDUR_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.guldurilCrystal), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitBone), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 3)); - HALF_TROLL_SCAVENGER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.halfTrollTable), 100), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 22), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.silver), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.silverNugget), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugTorogDraught, 1, 9999), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarNearHarad), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.spearNearHarad), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.swordHarad), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.spearHarad), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetNearHarad), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarOrc), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeOrc), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetOrc), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarHalfTroll), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.maceHalfTroll), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeHalfTroll), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHalfTroll), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHalfTrollPoisoned), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.hammerHalfTroll), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.swordGondor), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.hammerGondor), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.spearMoredain), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeMoredain), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerMoredain), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.clubMoredain), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.swordMoredain), 15), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3), new LOTRTradeEntry(new ItemStack(Items.bone), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.orcBone), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.trollBone), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 50)); - HALF_TROLL_SCAVENGER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHorn), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHide), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lionRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoRaw), 3), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 2), new LOTRTradeEntry(new ItemStack(Items.reeds, 4), 1), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25)); - ((MixinLOTRTradeEntriesOverrides)(Object)ANGMAR_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); + ((MixinLOTRTradeEntriesOverrides)(Object)ANGMAR_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); ((MixinLOTRTradeEntriesOverrides)(Object)DOL_GULDUR_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HALF_TROLL_SCAVENGER_BUY).setVessels(LOTRFoods.HALF_TROLL_DRINK); GALADHRIM_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.elvenTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.swordElven), 18), @@ -348,7 +312,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3)); - GALADHRIM_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 5), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 5), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.galvorn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.mallornStick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40)); HIGH_ELF_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.highElvenTable), 100), @@ -369,7 +332,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3)); - HIGH_ELF_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 5), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 5), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.galvorn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40)); ((MixinLOTRTradeEntriesOverrides)(Object)GALADHRIM_SMITH_BUY).setVessels(LOTRFoods.ELF_DRINK); ((MixinLOTRTradeEntriesOverrides)(Object)HIGH_ELF_SMITH_BUY).setVessels(LOTRFoods.ELF_DRINK); ((MixinLOTRTradeEntriesOverrides)(Object)WOOD_ELF_SMITH_BUY).setVessels(LOTRFoods.WOOD_ELF_DRINK); @@ -392,27 +354,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3)); - WOOD_ELF_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 5), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 5), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40)); - - MOREDAIN_HUNTSMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.lionFur), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHide), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHorn), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoHorn), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.lionRaw), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoRaw), 6), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - MOREDAIN_HUNTSMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.yamRoast), 2), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.spearMoredain), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 2)); - MOREDAIN_HUTMAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.moredainTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 4, 10), 1), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 4), 2), new LOTRTradeEntry(new ItemStack(Blocks.stained_hardened_clay, 4, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.thatch, 4, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 4), 3)); - MOREDAIN_HUTMAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.redClayBall, 16), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 4, 0), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 4, 1), 1), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12)); - IRON_HILLS_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dwarvenForge), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarvenRing), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.swordDwarven), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.spearDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.hammerDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerDwarven), 13), new LOTRTradeEntry(new ItemStack(LOTRMod.axeDwarven), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeDwarven), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.shovelDwarven), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mattockDwarven), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.throwingAxeDwarven), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetDwarven), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyDwarven), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsDwarven), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsDwarven), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetDwarvenSilver), 50), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyDwarvenSilver), 60), new LOTRTradeEntry(new ItemStack(LOTRMod.legsDwarvenSilver), 55), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsDwarvenSilver), 50), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenAle, 1, 9999), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenTonic, 1, 9999), 14), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugDwarvenAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugDwarvenAle, 1, 3), 160), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfHerb), 10), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 4), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.cram), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.dalishPastryItem), 16), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12)); - IRON_HILLS_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2)); - SCRAP_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.shireHeather), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.saltedFlesh), 7)); - SCRAP_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.urukSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.blackUrukSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.blueDwarfSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.obsidianShard), 2), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.flint), 1), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.fur), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds, 2), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.horn), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.chestnut, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.partyHat, 1, Short.MAX_VALUE), 100)); - TAUREDAIN_SHAMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerTauredain), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerTauredainPoisoned), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.tauredainBlowgun), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.tauredainDart, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.tauredainDartPoisoned, 4), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugChocolate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mugTauredainCocoa, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugTauredainCure), 20)); - TAUREDAIN_SHAMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.obsidianShard), 2), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(Items.glass_bottle), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoHorn), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHorn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 2, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 2, 3), 1), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_mushroom, 1, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.brown_mushroom, 1, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.corn, 2), 1)); - TAUREDAIN_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.reeds), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.driedReeds), 2), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 3)); - TAUREDAIN_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeTauredain), 10), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)MOREDAIN_HUNTSMAN_BUY).setVessels(LOTRFoods.MOREDAIN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)MOREDAIN_HUTMAKER_BUY).setVessels(LOTRFoods.MOREDAIN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)IRON_HILLS_MERCHANT_BUY).setVessels(LOTRFoods.DWARF_DRINK); - - ((MixinLOTRTradeEntriesOverrides)(Object)TAUREDAIN_SHAMAN_BUY).setVessels(LOTRFoods.TAUREDAIN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)TAUREDAIN_FARMER_BUY).setVessels(LOTRFoods.TAUREDAIN_DRINK); - DWARF_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dwarvenTable), 100), @@ -445,8 +386,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBars, 8), 20)); - DWARF_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfSteel), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16)); - BLUE_DWARF_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.blueDwarvenTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.blacksmithHammer), 18), @@ -470,7 +409,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.blueDwarfBars, 8), 20)); - BLUE_DWARF_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.blueDwarfSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 3), 1), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16)); ((MixinLOTRTradeEntriesOverrides)(Object)DWARF_SMITH_BUY).setVessels(LOTRFoods.DWARF_DRINK); ((MixinLOTRTradeEntriesOverrides)(Object)BLUE_DWARF_SMITH_BUY).setVessels(LOTRFoods.DWARF_DRINK); @@ -494,82 +432,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorDale), 25)); - DALE_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - DALE_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cornBread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cram), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.dalishPastryItem), 12), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.cherryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipan), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanChocolate), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanBlock), 20), new LOTRTradeEntry(new ItemStack(Items.cookie), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2)); - DALE_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mapleSyrup), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.raisins), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 3), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)DALE_BLACKSMITH_BUY).setVessels(LOTRFoods.DALE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)DALE_BAKER_BUY).setVessels(LOTRFoods.DALE_DRINK); - - DORWINION_VINTNER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.dorwinionTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 3), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 4), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 3), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 4), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedGrapeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteGrapeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2)); - DORWINION_VINTNER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite, 3), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1)); - DORWINION_VINEKEEPER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.grapevine), 4)); - DORWINION_VINEKEEPER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - DORWINION_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.helmetDorwinion), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyDorwinion), 35), new LOTRTradeEntry(new ItemStack(LOTRMod.legsDorwinion), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsDorwinion), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.raisins), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 9999), 15), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugRedWine, 1, 2), 160), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugRedWine, 1, 3), 220), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugWhiteWine, 1, 2), 160), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugWhiteWine, 1, 3), 220), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedGrapeJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteGrapeJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.banner, 1, LOTRItemBanner.BannerType.DORWINION.bannerID), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 0), 12)); - DORWINION_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletSilver), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletGold), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.wineGlass), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.barrel), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 2), new LOTRTradeEntry(new ItemStack(Items.melon), 2), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 3), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.wood, 1, 2), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 1), 2)); - ((MixinLOTRTradeEntriesOverrides)(Object)DORWINION_VINTNER_BUY).setVessels(LOTRFoods.DORWINION_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)DORWINION_VINEKEEPER_BUY).setVessels(LOTRFoods.DORWINION_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)DORWINION_MERCHANT_BUY).setVessels(LOTRFoods.DORWINION_DRINK); - - DALE_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.swordDale), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.spearDale), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeDale), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeDale), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerDale), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetDale), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyDale), 35), new LOTRTradeEntry(new ItemStack(LOTRMod.legsDale), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsDale), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.swordDwarven), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.battleaxeDwarven), 24), new LOTRTradeEntry(new ItemStack(LOTRMod.hammerDwarven), 24), new LOTRTradeEntry(new ItemStack(LOTRMod.mugVodka, 1, 9999), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.mugDwarvenAle, 1, 9999), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorDale), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.daleBow), 20), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.cram), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.dalishPastryItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.daleCracker, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.daleCracker, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.daleCracker, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.daleCracker, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.daleCracker, 1, 4), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15)); - DALE_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)DALE_MERCHANT_BUY).setVessels(LOTRFoods.DALE_DRINK); - - - GONDOR_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedPlant), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.corn, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cornStalk), 1), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brandingIron), 16), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - GONDOR_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - GONDOR_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.aleHorn), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.aleHornGold), 8), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugChocolate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 9999), 12)); - GONDOR_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - GONDOR_GREENGROCER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.apple), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.pomegranate), 5), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.raisins), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 2), new LOTRTradeEntry(new ItemStack(Items.melon), 25)); - GONDOR_GREENGROCER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - GONDOR_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 1), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 1), 8), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 6), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 2), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 8), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 0), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 10), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 13), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 14), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 2), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 5), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 1), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 6), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 2), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 7), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 3), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 8), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 0), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 10), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 11), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 3), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 12), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 15), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 3), 10), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - GONDOR_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - GONDOR_MASON_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.gondorianTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick, 8, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick, 1, 5), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 8, 8), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 6), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 0), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.brick2, 8, 11), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.brick4, 1, 6), 12), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 8), 4), new LOTRTradeEntry(new ItemStack(Blocks.sandstone, 8), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.redSandstone, 8), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.whiteSandstone, 8), 6)); - GONDOR_MASON_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3)); - GONDOR_BREWER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPlumKvass, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCarrotWine, 1, 9999), 12), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCarrotWine, 1, 2), 140), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCarrotWine, 1, 3), 180), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateWine, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugChocolate), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlueberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlackberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRaspberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCranberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugElderberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateJuice), 10)); - GONDOR_BREWER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pomegranate), 2)); - GONDOR_FLORIST_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 0), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 1), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 2), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 3), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 4), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 5), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 6), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 7), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 8), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.yellow_flower, 1, 8), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bluebell, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.marigold, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lavender, 1, 0), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 0), 15), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 1), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 4), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 5), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 0), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 1), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 2), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 3), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 4), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 0), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 0), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 1), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 2), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 3), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 2), 45), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 3), 45)); - GONDOR_FLORIST_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - GONDOR_BUTCHER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(Items.porkchop), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 5), new LOTRTradeEntry(new ItemStack(Items.chicken), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.camelRaw), 8), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - GONDOR_BUTCHER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.lead), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - GONDOR_FISHMONGER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.fish, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 3), 12), new LOTRTradeEntry(new ItemStack((Item)Items.fishing_rod), 8), new LOTRTradeEntry(new ItemStack(Items.boat), 5), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.sponge), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 50), new LOTRTradeEntry(new ItemStack((Item)Items.leather_boots), 5)); - GONDOR_FISHMONGER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - GONDOR_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cornBread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.cherryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipan), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanChocolate), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanBlock), 20), new LOTRTradeEntry(new ItemStack(Items.cookie), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2)); - GONDOR_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 2), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 3), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_FARMER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_BARTENDER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_GREENGROCER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_LUMBERMAN_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_MASON_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_BREWER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_FLORIST_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_BUTCHER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_FISHMONGER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GONDOR_BAKER_BUY).setVessels(LOTRFoods.GONDOR_DRINK); - - ROHAN_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - ROHAN_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - ROHAN_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 1), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 1), 8), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 10), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 13), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 12), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - ROHAN_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - ROHAN_BUILDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rohirricTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.dirt, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick, 8, 4), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 1, 3), 2), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 8), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 1), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 1), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 1), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamS, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamS, 3, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.thatch, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.thatch, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.thatchFloor, 16, 0), 2)); - ROHAN_BUILDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3)); - ROHAN_BREWER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPlumKvass, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlueberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlackberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRaspberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCranberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugElderberryJuice), 5)); - ROHAN_BREWER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 1)); - ROHAN_BUTCHER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(Items.porkchop), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 5), new LOTRTradeEntry(new ItemStack(Items.chicken), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - ROHAN_BUTCHER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.lead), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - ROHAN_FISHMONGER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.fish, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 3), 12), new LOTRTradeEntry(new ItemStack((Item)Items.fishing_rod), 8), new LOTRTradeEntry(new ItemStack(Items.boat), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 70), new LOTRTradeEntry(new ItemStack((Item)Items.leather_boots), 5)); - ROHAN_FISHMONGER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - ROHAN_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cornBread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 8), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.cherryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2)); - ROHAN_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - ROHAN_ORCHARDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.apple), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 4, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 4, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 4, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 4, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 10)); - ROHAN_ORCHARDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.aleHorn), 3)); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_FARMER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_LUMBERMAN_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_BUILDER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_BREWER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_BUTCHER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_FISHMONGER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_BAKER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_ORCHARDER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); DUNEDAIN_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, @@ -594,12 +457,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeCrossbow), 12)); - DUNEDAIN_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - ROHAN_STABLEMASTER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.saddle), 10), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(Items.string), 2)); - ROHAN_STABLEMASTER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 3), new LOTRTradeEntry(new ItemStack(Items.apple), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 2), new LOTRTradeEntry(new ItemStack(Items.carrot), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4)); ((MixinLOTRTradeEntriesOverrides)(Object)DUNEDAIN_BLACKSMITH_BUY).setVessels(LOTRFoods.RANGER_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)ROHAN_STABLEMASTER_BUY).setVessels(LOTRFoods.ROHAN_DRINK); - RHUN_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rhunTable), 100), @@ -626,39 +484,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorRhunGold), 25)); - RHUN_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gildedIron), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - RHUN_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 1), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 1), 8), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 6), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 2), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 13), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 14), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 2), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 5), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 1), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 1), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 6), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 2), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 7), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 3), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 3), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 10), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 11), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 3), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 15), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 2), 10), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - RHUN_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - RHUN_MASON_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rhunTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 8, 11), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 1, 12), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick5, 1, 15), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 1, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar2, 4, 8), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 8, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar2, 4, 9), 8), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 8), 4), new LOTRTradeEntry(new ItemStack(Blocks.sandstone, 8), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.redSandstone, 8), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.whiteSandstone, 8), 6)); - RHUN_MASON_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3)); - RHUN_BUTCHER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(Items.porkchop), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 5), new LOTRTradeEntry(new ItemStack(Items.chicken), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - RHUN_BUTCHER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.lead), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - RHUN_BREWER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugSourMilk, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugSourMilk, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugSourMilk, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPlumKvass, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugVodka, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugVodka, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugVodka, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 9999), 15), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugRedWine, 1, 2), 160), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugRedWine, 1, 3), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 9999), 15), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugWhiteWine, 1, 2), 160), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugWhiteWine, 1, 3), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateWine, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPomegranateWine, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPomegranateWine, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlueberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlackberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRaspberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCranberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugElderberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedGrapeJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteGrapeJuice), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateJuice), 5)); - RHUN_BREWER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 1), new LOTRTradeEntry(new ItemStack(Items.potato), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pomegranate), 1)); - RHUN_FISHMONGER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.fish, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 3), 12), new LOTRTradeEntry(new ItemStack((Item)Items.fishing_rod), 8), new LOTRTradeEntry(new ItemStack(Items.boat), 5), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.sponge), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 50), new LOTRTradeEntry(new ItemStack((Item)Items.leather_boots), 5)); - RHUN_FISHMONGER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - RHUN_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cornBread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.cherryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2)); - RHUN_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - RHUN_HUNTER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.fur), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.horn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.kineArawHorn), 50), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 3)); - RHUN_HUNTER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerRhun), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.spearIron), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearBronze), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearRhun), 5), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 2), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); - RHUN_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cornStalk), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeRed), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.grapeWhite), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.pomegranate), 3), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brandingIron), 16), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - RHUN_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - RHUN_GOLDSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.goldRing), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.silverRing), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletGold), 27), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletSilver), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.chandelier, 1, 3), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.chandelier, 1, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.birdCage, 1, 3), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.birdCage, 1, 2), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.goldBars), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.silverBars), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetRhunGold), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyRhunGold), 45), new LOTRTradeEntry(new ItemStack(LOTRMod.legsRhunGold), 35), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsRhunGold), 25)); - RHUN_GOLDSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6)); - RHUN_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 2), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRedWine, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugWhiteWine, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateWine, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugSourMilk, 1, 9999), 8)); - RHUN_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_BLACKSMITH_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_LUMBERMAN_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_MASON_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_BUTCHER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_BREWER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_FISHMONGER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_BAKER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_HUNTER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_FARMER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_GOLDSMITH_BUY).setVessels(LOTRFoods.RHUN_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RHUN_BARTENDER_BUY).setVessels(LOTRFoods.RHUN_DRINK); - RIVENDELL_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, @@ -680,11 +506,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3)); - RIVENDELL_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 5), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 5), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.elfSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.galvorn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40)); - RIVENDELL_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.swordRivendell), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerRivendell), 13), new LOTRTradeEntry(new ItemStack(LOTRMod.spearRivendell), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.polearmRivendell), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.longspearRivendell), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.rivendellBow), 21), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetRivendell), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyRivendell), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsRivendell), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsRivendell), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.highElvenTorch, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.lembas), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMiruvor, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3)); - RIVENDELL_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.orcBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.wargBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.trollBone), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mithrilNugget), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6)); - ((MixinLOTRTradeEntriesOverrides)(Object)RIVENDELL_SMITH_BUY).setVessels(LOTRFoods.ELF_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)RIVENDELL_TRADER_BUY).setVessels(LOTRFoods.ELF_DRINK); + ((MixinLOTRTradeEntriesOverrides)(Object)RIVENDELL_SMITH_BUY).setVessels(LOTRFoods.ELF_DRINK); GUNDABAD_TRADER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.gundabadTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetBronze), 20), @@ -718,7 +540,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.cinderFurItem, 1, 1), 2), new LOTRTradeEntry(new ItemStack(CinderLoE.cinderFurItem, 1, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsFur), 12)); - GUNDABAD_TRADER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.orcSteel), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.urukSteel), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.feather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfBone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitBone), 1), new LOTRTradeEntry(new ItemStack(Items.bone), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.manFlesh), 3)); ((MixinLOTRTradeEntriesOverrides)(Object)GUNDABAD_TRADER_BUY).setVessels(LOTRFoods.ORC_DRINK); } @@ -726,8 +547,8 @@ public abstract class MixinLOTRTradeEntriesOverrides { * @author * @reason */ - @Overwrite(remap = false) - public static void setupTrades2() { + @Inject(method = "setupTrades2", at = @At("RETURN"), remap = false) + private static void newTrades2(CallbackInfo ci) { NEAR_HARAD_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarNearHarad), 15), @@ -755,7 +576,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorNearHarad), 25)); - NEAR_HARAD_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); ((MixinLOTRTradeEntriesOverrides)(Object)NEAR_HARAD_BLACKSMITH_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); HARNEDOR_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradTable), 100), @@ -774,7 +594,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeCrossbow), 12)); - HARNEDOR_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); ((MixinLOTRTradeEntriesOverrides)(Object)HARNEDOR_BLACKSMITH_BUY).setVessels(LOTRFoods.HARNEDOR_DRINK); UMBAR_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.umbarTable), 100), @@ -807,7 +626,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorUmbar), 25)); - UMBAR_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)UMBAR_BLACKSMITH_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); GULF_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.gulfTable), 100), @@ -826,54 +644,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeCrossbow), 12)); - GULF_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.driedReeds), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); ((MixinLOTRTradeEntriesOverrides)(Object)GULF_BLACKSMITH_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - NOMAD_MERCHANT_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.scimitarNearHarad), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.spearNearHarad), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.poleaxeNearHarad), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.maceNearHarad), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeNearHarad), 17), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerNearHarad), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerNearHaradPoisoned), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.swordHarad), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.spearHarad), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.pikeHarad), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHarad), 11), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHaradPoisoned), 14), new LOTRTradeEntry(new ItemStack(LOTRMod.swordGulfHarad), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetNearHarad), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyNearHarad), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsNearHarad), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsNearHarad), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetHarnedor), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyHarnedor), 34), new LOTRTradeEntry(new ItemStack(LOTRMod.legsHarnedor), 28), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsHarnedor), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetUmbar), 28), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyUmbar), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.legsUmbar), 32), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsUmbar), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.helmetGulfHarad), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.bodyGulfHarad), 36), new LOTRTradeEntry(new ItemStack(LOTRMod.legsGulfHarad), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.bootsGulfHarad), 22), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorNearHarad), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.horseArmorUmbar), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradBow), 20), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lionFur), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10), new LOTRTradeEntry(new ItemStack(Blocks.sandstone, 4), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.redSandstone, 4), 5)); - NOMAD_MERCHANT_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 4), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, Short.MAX_VALUE), 4), new LOTRTradeEntry(new ItemStack(Items.sugar), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - ((MixinLOTRTradeEntriesOverrides)(Object)NOMAD_MERCHANT_BUY).setVessels(LOTRFoods.NOMAD_DRINK); - HARNEDOR_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.shishKebab), 8), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 9999), 15)); - HARNEDOR_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)HARNEDOR_BARTENDER_BUY).setVessels(LOTRFoods.HARNEDOR_DRINK); - - HARAD_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 16), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Blocks.log2, 1, 0), 6), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 4), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV2, 3, 0), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves2, 1, 0), 6), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 4), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 14), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 0), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 6), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 7), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 10), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 11), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 15), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 3), 10), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - HARAD_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - HARAD_MASON_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 8), 4), new LOTRTradeEntry(new ItemStack(Blocks.sandstone, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.redSandstone, 8), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.whiteSandstone, 8), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick, 8, 15), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 5), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 8, 13), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 15), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 15), 6)); - HARAD_MASON_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 3)); - HARAD_BUTCHER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(Items.porkchop), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 5), new LOTRTradeEntry(new ItemStack(Items.chicken), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.camelRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - HARAD_BUTCHER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.lead), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - HARAD_BREWER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAraq, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 12), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 2), 140), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 3), 180), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 12), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 2), 140), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 3), 180), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateWine, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMelonLiqueur, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBananaBeer, 1, 9999), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugChocolate), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlueberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlackberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRaspberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCranberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugElderberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPomegranateJuice), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMangoJuice), 8)); - HARAD_BREWER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 1), new LOTRTradeEntry(new ItemStack(Blocks.cactus), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pomegranate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 2), new LOTRTradeEntry(new ItemStack(Items.melon, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 2)); - HARAD_FISHMONGER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.fish, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Items.fish, 1, 3), 12), new LOTRTradeEntry(new ItemStack((Item)Items.fishing_rod), 8), new LOTRTradeEntry(new ItemStack(Items.boat), 5), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.sponge), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 9), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 50), new LOTRTradeEntry(new ItemStack((Item)Items.leather_boots), 5)); - HARAD_FISHMONGER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - HARAD_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 5), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipan), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanChocolate), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanBlock), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2)); - HARAD_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - HARAD_HUNTER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.fur), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.horn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.lionFur), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHide), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHorn), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoHorn), 30), new LOTRTradeEntry(new ItemStack(LOTRMod.lionRaw), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraRaw), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoRaw), 10), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 3)); - HARAD_HUNTER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHarad), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.spearIron), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearBronze), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearHarad), 5), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 2), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); - HARAD_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cornStalk), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brandingIron), 16), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - HARAD_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - HARAD_MINER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.coal, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.iron_ore), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.oreCopper), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreTin), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.oreSilver), 12), new LOTRTradeEntry(new ItemStack(Blocks.gold_ore), 22), new LOTRTradeEntry(new ItemStack(Items.dye, 1, 4), 1), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 4), 3), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 20), new LOTRTradeEntry(new ItemStack(Items.flint), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.sulfur), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.saltpeter), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 40), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12)); - HARAD_MINER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2)); - HARAD_FLORIST_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.haradFlower, 1, 3), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 0), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 1), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 2), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 3), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.rhunFlower, 1, 4), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 0), 25), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 0), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 4), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 5), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 6), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 7), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 8), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.yellow_flower, 1, 8), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.bluebell, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.marigold, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.lavender, 1, 0), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 0), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 1), 15), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 4), 15), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 5), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 1), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.morgulShroom, 1, 0), 20)); - HARAD_FLORIST_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10)); - HARAD_GOLDSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.goldRing), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.silverRing), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletGold), 27), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletSilver), 18), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.chandelier, 1, 3), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.chandelier, 1, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.birdCage, 1, 3), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.birdCage, 1, 2), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.goldBars), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.silverBars), 6)); - HARAD_GOLDSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(Items.gold_nugget), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.coral), 6)); - UMBAR_MASON_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.umbarTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.hardened_clay, 8), 4), new LOTRTradeEntry(new ItemStack(Blocks.sandstone, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.redSandstone, 8), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.whiteSandstone, 8), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick, 8, 15), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 5), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 8, 13), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick3, 1, 15), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 15), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 8, 6), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 1, 8), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar2, 4, 10), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rock, 8, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brick2, 8, 11), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brick6, 1, 9), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar, 4, 9), 8)); - UMBAR_MASON_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 3)); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_LUMBERMAN_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_MASON_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_BUTCHER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_BREWER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_FISHMONGER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_BAKER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_HUNTER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_FARMER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_MINER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_FLORIST_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)HARAD_GOLDSMITH_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)UMBAR_MASON_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - - - NOMAD_ARMOURER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.nearHaradTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.swordHarad), 14), @@ -895,25 +666,8 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeCrossbow), 12)); - NOMAD_ARMOURER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.driedReeds), 1), new LOTRTradeEntry(new ItemStack(Blocks.wool, 1, Short.MAX_VALUE), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 12), new LOTRTradeEntry(new ItemStack(Items.leather), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); ((MixinLOTRTradeEntriesOverrides)(Object)NOMAD_ARMOURER_BUY).setVessels(LOTRFoods.NOMAD_DRINK); - GULF_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 8), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 3), 6), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 3), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 3), 6), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 3), 12), new LOTRTradeEntry(new ItemStack(Blocks.log2, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV2, 3, 0), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves2, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 7), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 3), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 11), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 3), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 14), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 2), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 2), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 6), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 2), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 2), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 7), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 8), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 0), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 10), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 11), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 15), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 3), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 3), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 3), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 3), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 3), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 3), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 3), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood9, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 4), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam9, 3, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves9, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling9, 1, 0), 12), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - GULF_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - GULF_HUNTER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.fur), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.horn), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.lionFur), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHide), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.gemsbokHorn), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoHorn), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.lionRaw), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraRaw), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoRaw), 8), new LOTRTradeEntry(new ItemStack(Items.rotten_flesh), 3)); - GULF_HUNTER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerHarad), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.spearIron), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearBronze), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.spearHarad), 5), new LOTRTradeEntry(new ItemStack(Items.arrow, 4), 2), new LOTRTradeEntry(new ItemStack(Items.stick, 8), 1), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.bottlePoison), 10)); - SOUTHRON_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.shishKebab), 8), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 9999), 12)); - SOUTHRON_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - GULF_BARTENDER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.camelCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.kebab), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.shishKebab), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.lionCooked), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraCooked), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoCooked), 12), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 6), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugOrangeJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.waterskin), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.skullCup), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAraq, 1, 9999), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLemonLiqueur, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugLimeLiqueur, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCactusLiqueur, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBananaBeer, 1, 9999), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMangoJuice), 10)); - GULF_BARTENDER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lionRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.zebraRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rhinoRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.date), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.orange), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lime), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.mango), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1)); - GULF_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.oliveBread), 5), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.bananaCakeItem), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipan), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanChocolate), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.marzipanBlock), 16), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2)); - GULF_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.banana), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.almond), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.olive), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - ((MixinLOTRTradeEntriesOverrides)(Object)GULF_LUMBERMAN_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GULF_HUNTER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)SOUTHRON_BARTENDER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GULF_BARTENDER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)GULF_BAKER_BUY).setVessels(LOTRFoods.SOUTHRON_DRINK); - TAUREDAIN_SMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.tauredainTable), 100), new LOTRTradeEntry(new ItemStack(LOTRMod.blacksmithHammer), 18), @@ -931,7 +685,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeBars, 8), 20)); - TAUREDAIN_SMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.obsidianShard), 2), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 2, 3), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)TAUREDAIN_SMITH_BUY).setVessels(LOTRFoods.TAUREDAIN_DRINK); WICKED_DWARF_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.blacksmithHammer), 18), @@ -969,7 +722,6 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.gateDwarven, 1, 0), 12)); - WICKED_DWARF_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.dwarfSteel), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.diamond), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.sapphire), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.ruby), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.opal), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.amethyst), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pearl), 25), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.lava_bucket), 16), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 1), new LOTRTradeEntry(new ItemStack(Items.glowstone_dust, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.obsidianShard), 2)); ((MixinLOTRTradeEntriesOverrides)(Object)WICKED_DWARF_BUY).setVessels(LOTRFoods.DWARF_DRINK); BREE_BLACKSMITH_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.breeTable), 100), @@ -998,32 +750,7 @@ public abstract class MixinLOTRTradeEntriesOverrides { new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 1), 200), new LOTRTradeEntry(new ItemStack(CinderLoE.forgingKit, 1, 0), 200), new LOTRTradeEntry(new ItemStack(LOTRMod.bronzeCrossbow), 12)); - BREE_BLACKSMITH_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.ironNugget, 9), 3), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Items.gold_ingot), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.copper), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.tin), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bronze), 3), new LOTRTradeEntry(new ItemStack(Items.string, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.emerald), 15), new LOTRTradeEntry(new ItemStack(LOTRMod.amber), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.topaz), 8), new LOTRTradeEntry(new ItemStack(Items.leather), 2)); - BREE_INNKEEPER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_porkchop), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 7), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitStew), 10), new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicMug), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletCopper), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.gobletWood), 2), new LOTRTradeEntry(new ItemStack(Items.baked_potato, 2), 7), new LOTRTradeEntry(new ItemStack(Items.cooked_fished), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 7), new LOTRTradeEntry(new ItemStack(Items.mushroom_stew), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.mushroomPie), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.leekSoup), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweed, 4), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitPipe), 25)); - BREE_INNKEEPER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.beef), 3), new LOTRTradeEntry(new ItemStack(Items.porkchop), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 3), new LOTRTradeEntry(new ItemStack(Items.chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.clayMug), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1), new LOTRTradeEntry(new ItemStack(Items.potato, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.leek, 2), 1), new LOTRTradeEntry(new ItemStack(Items.fish), 2), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedLeaf), 2)); - BREE_BAKER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.bread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cornBread), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mushroomPie), 8), new LOTRTradeEntry(new ItemStack(Items.cake), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.appleCrumbleItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.berryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.cherryPieItem), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.lemonCakeItem), 20), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitPancake), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.hobbitPancakeMapleSyrup), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.plate), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.ceramicPlate), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodPlate), 2)); - BREE_BAKER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_mushroom, 1, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.brown_mushroom, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(Items.egg, 2), 1), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blueberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.blackberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.raspberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cranberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.elderberry), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lemon), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.clayPlate), 1)); - BREE_BUTCHER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.beef), 5), new LOTRTradeEntry(new ItemStack(Items.porkchop), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.gammon), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonRaw), 5), new LOTRTradeEntry(new ItemStack(Items.chicken), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitRaw), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.deerRaw), 4), new LOTRTradeEntry(new ItemStack(Items.leather), 3), new LOTRTradeEntry(new ItemStack(Items.feather), 3)); - BREE_BUTCHER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(LOTRMod.daggerIron), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.daggerBronze), 3), new LOTRTradeEntry(new ItemStack(Items.iron_ingot), 3), new LOTRTradeEntry(new ItemStack(Items.lead), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 3), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.salt), 10)); - BREE_BREWER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.mugAle, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugAle, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCider, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCider, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPerry, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPerry, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMapleBeer, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMapleBeer, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMapleBeer, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugPlumKvass, 1, 9999), 10), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 2), 120), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugPlumKvass, 1, 3), 170), new LOTRTradeEntry(new ItemStack(LOTRMod.mugMead, 1, 9999), 12), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 2), 140), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugMead, 1, 3), 180), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 9999), 12), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 2), 140), new LOTRTradeEntryBarrel(new ItemStack(LOTRMod.mugCherryLiqueur, 1, 3), 180), new LOTRTradeEntry(new ItemStack(LOTRMod.mugAppleJuice), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlueberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugBlackberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugRaspberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugCranberryJuice), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.mugElderberryJuice), 5)); - BREE_BREWER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.wheat, 2), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.mapleSyrup), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 1), new LOTRTradeEntry(new ItemStack(Items.sugar, 2), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 1)); - BREE_MASON_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(LOTRMod.breeTable), 100), new LOTRTradeEntry(new ItemStack(Blocks.stone, 8), 2), new LOTRTradeEntry(new ItemStack(Blocks.cobblestone, 8), 1), new LOTRTradeEntry(new ItemStack(Blocks.stonebrick, 8, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.brick_block, 8), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.cobblebrick, 8, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar2, 4, 2), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.pillar2, 4, 3), 5)); - BREE_MASON_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.iron_pickaxe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_pickaxe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.pickaxeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.iron_shovel), 8), new LOTRTradeEntry(new ItemStack(Items.stone_shovel), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.shovelBronze), 6), new LOTRTradeEntry(new ItemStack(Items.coal, 2, Short.MAX_VALUE), 1), new LOTRTradeEntry(new ItemStack(Blocks.torch, 16), 2), new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.bread), 2), new LOTRTradeEntry(new ItemStack(Items.cooked_beef), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.muttonCooked), 3), new LOTRTradeEntry(new ItemStack(Items.cooked_chicken), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.rabbitCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.deerCooked), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweed, 2), 1)); - BREE_LUMBERMAN_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 0), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 0), 2), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 0), 2), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 0), 4), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 1), 4), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 1), 4), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 1), 8), new LOTRTradeEntry(new ItemStack(Blocks.log, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 2), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV1, 3, 2), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves, 1, 2), 3), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 2), 6), new LOTRTradeEntry(new ItemStack(Blocks.log2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Blocks.planks, 4, 5), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamV2, 3, 1), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.leaves2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(Blocks.sapling, 1, 5), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam1, 3, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling, 1, 0), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 4), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 0), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitWood, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 5), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeamFruit, 3, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitLeaves, 1, 1), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.fruitSapling, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 9), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 1), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 1), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 10), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam2, 3, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves2, 1, 2), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling2, 1, 2), 12), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 12), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks, 4, 13), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam3, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves3, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling3, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam4, 3, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves4, 1, 3), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling4, 1, 3), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 4), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam5, 3, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves5, 1, 0), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling5, 1, 0), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 9), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam6, 3, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves6, 1, 1), 4), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling6, 1, 1), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.wood7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.planks2, 4, 12), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam7, 3, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves7, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling7, 1, 0), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.wood8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.planks3, 4, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.woodBeam8, 3, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.leaves8, 1, 0), 5), new LOTRTradeEntry(new ItemStack(LOTRMod.sapling8, 1, 0), 10), new LOTRTradeEntry(new ItemStack(Items.stick, 4), 1)); - BREE_LUMBERMAN_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_axe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_axe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.axeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1), new LOTRTradeEntry(new ItemStack((Item)Items.shears), 5)); - BREE_FLORIST_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 0), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 1), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 2), 6), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 3), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 4), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 5), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 6), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 7), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.red_flower, 1, 8), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.yellow_flower, 1, 8), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.bluebell, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.marigold, 1, 0), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.lavender, 1, 0), 3), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 0), 10), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 1), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 4), 8), new LOTRTradeEntry(new ItemStack((Block)Blocks.double_plant, 1, 5), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 1), 10), new LOTRTradeEntry(new ItemStack(LOTRMod.doubleFlower, 1, 0), 25), new LOTRTradeEntry(new ItemStack(LOTRMod.shireHeather, 1, 0), 6)); - BREE_FLORIST_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); - BREE_FARMER_BUY = new LOTRTradeEntries(TradeType.BUY, new LOTRTradeEntry(new ItemStack(Items.wheat), 2), new LOTRTradeEntry(new ItemStack(Items.wheat_seeds), 1), new LOTRTradeEntry(new ItemStack(Items.carrot), 3), new LOTRTradeEntry(new ItemStack(Items.potato), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.lettuce), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.leek), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.turnip), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedLeaf), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.pipeweedSeeds), 6), new LOTRTradeEntry(new ItemStack(LOTRMod.corn), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.cornStalk), 1), new LOTRTradeEntry(new ItemStack(Items.apple), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.appleGreen), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.pear), 3), new LOTRTradeEntry(new ItemStack(LOTRMod.cherry), 2), new LOTRTradeEntry(new ItemStack(LOTRMod.plum), 3), new LOTRTradeEntry(new ItemStack(Blocks.wool), 2), new LOTRTradeEntry(new ItemStack(Items.milk_bucket), 8), new LOTRTradeEntry(new ItemStack(Items.lead), 8), new LOTRTradeEntry(new ItemStack(LOTRMod.brandingIron), 16), new LOTRTradeEntry(new ItemStack(Blocks.hay_block), 12)); - BREE_FARMER_SELL = new LOTRTradeEntries(TradeType.SELL, new LOTRTradeEntry(new ItemStack(Items.bucket), 3), new LOTRTradeEntry(new ItemStack(Items.water_bucket), 4), new LOTRTradeEntry(new ItemStack(Items.iron_hoe), 8), new LOTRTradeEntry(new ItemStack(Items.stone_hoe), 1), new LOTRTradeEntry(new ItemStack(LOTRMod.hoeBronze), 6), new LOTRTradeEntry(new ItemStack(Items.dye, 6, 15), 1)); ((MixinLOTRTradeEntriesOverrides)(Object)BREE_BLACKSMITH_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_INNKEEPER_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_BAKER_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_BUTCHER_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_BREWER_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_MASON_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_LUMBERMAN_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_FLORIST_BUY).setVessels(LOTRFoods.BREE_DRINK); - ((MixinLOTRTradeEntriesOverrides)(Object)BREE_FARMER_BUY).setVessels(LOTRFoods.BREE_DRINK); } } diff --git a/src/main/java/com/zivilon/cinder_loe/util/DamageEvent.java b/src/main/java/com/zivilon/cinder_loe/util/DamageEvent.java new file mode 100644 index 0000000..7cef160 --- /dev/null +++ b/src/main/java/com/zivilon/cinder_loe/util/DamageEvent.java @@ -0,0 +1,73 @@ +package com.zivilon.cinder_loe.util; + +import net.minecraft.entity.*; +import net.minecraft.entity.player.*; +import net.minecraft.util.DamageSource; +import lotr.common.item.*; +import net.minecraft.item.*; +import net.minecraft.world.World; + +public class DamageEvent { + public DamageSource source; + public float damage; + public EntityLivingBase defender; + public Entity attacker; + + public DamageEvent(DamageSource source, float damage, EntityLivingBase defender, Entity attacker) { + this.source = source; + this.damage = damage; + this.defender = defender; + this.attacker = attacker; + } + + public static Pair run_events(DamageEvent event) { + boolean cancel = false; + World world = event.defender.worldObj; + + if (event.defender instanceof EntityPlayer && !event.source.isUnblockable()) { + EntityPlayerMP player = (EntityPlayerMP) event.defender; + ItemStack sword = player.getHeldItem(); + if (!(event.attacker instanceof EntityLivingBase)) return new Pair<>(event, cancel); + EntityLivingBase attacker = (EntityLivingBase)event.attacker; + + float playerYaw = player.getRotationYawHead(); + float attackerYaw = attacker.getRotationYawHead(); + + // Normalize both angles to be within 0 - 360 + playerYaw = (playerYaw + 360) % 360; + attackerYaw = (attackerYaw + 360) % 360; + + // Calculate the angle difference + float angleDifference = Math.abs(playerYaw - attackerYaw); + + if (angleDifference > 180) { + angleDifference = 360 - angleDifference; + } + ItemStack weapon = attacker.getHeldItem(); + if (weapon != null) { + if (player.isBlocking() && angleDifference >= 135 && angleDifference <=225) { + + if (weapon.getItem() instanceof ItemAxe || weapon.getItem() instanceof LOTRItemAxe || weapon.getItem() instanceof LOTRItemBattleaxe) { + sword.damageItem((int) (event.damage *1.5), player); // Axes deal 150% the Durability damage + player.clearItemInUse(); + world.playSoundAtEntity(player, "random.anvil_land", 1F, 2F); + event.damage *= 0.25f; // Only 25% Passes through + } else if (weapon.getItem() instanceof LOTRItemHammer) { + sword.damageItem((int) event.damage, player); // Hammers bypass the block better, but only deal 100% of the durability damage + player.clearItemInUse(); + world.playSoundAtEntity(player, "random.anvil_land", 1F, 2F); + event.damage *= 0.5f; // Only 50% Passes through + } else { + sword.damageItem((int) (event.damage/2), player); //Swords only deal 50% of durability damage + player.clearItemInUse(); + world.playSoundAtEntity(player, "random.anvil_land", 1F, 2F); + event.damage = 0.0f; + cancel = true; + } + } + } + } + + return new Pair<>(event, cancel); + } +} diff --git a/src/main/java/com/zivilon/cinder_loe/util/Pair.java b/src/main/java/com/zivilon/cinder_loe/util/Pair.java new file mode 100644 index 0000000..a0514f6 --- /dev/null +++ b/src/main/java/com/zivilon/cinder_loe/util/Pair.java @@ -0,0 +1,18 @@ +package com.zivilon.cinder_loe.util; + +public class Pair { + public K key; + public V value; + + public Pair(K key, V value) { + this.key = key; + this.value = value; + } + + public K getKey() { + return key; + } + public V getValue() { + return value; + } +} diff --git a/src/main/resources/mixins.cinder_loe.json b/src/main/resources/mixins.cinder_loe.json index 9126b90..d5f5975 100644 --- a/src/main/resources/mixins.cinder_loe.json +++ b/src/main/resources/mixins.cinder_loe.json @@ -45,7 +45,9 @@ "overrides.MixinLOTRItemEntDraught", "overrides.MixinLOTRReplacedMethods", "overrides.MixinLOTRTradeEntriesOverrides", - "overrides.MixinLOTRUnitTradeEntries" + "overrides.MixinLOTRUnitTradeEntries", + "MixinEntityLivingBase", + "MixinEntityPlayer" ], "client": [] }