@@ -32,7 +32,7 @@
|
||||
|
||||
public MerchantRecipe(NBTTagCompound nbttagcompound) {
|
||||
this.rewardExp = true;
|
||||
@@ -81,6 +99,7 @@
|
||||
@@ -96,6 +114,7 @@
|
||||
return ItemStack.EMPTY;
|
||||
} else {
|
||||
int i = this.baseCostA.getCount();
|
||||
@@ -40,7 +40,7 @@
|
||||
int j = Math.max(0, MathHelper.floor((float) (i * this.demand) * this.priceMultiplier));
|
||||
|
||||
return this.baseCostA.copyWithCount(MathHelper.clamp(i + j + this.specialPriceDiff, 1, this.baseCostA.getItem().getMaxStackSize()));
|
||||
@@ -201,7 +220,11 @@
|
||||
@@ -216,7 +235,11 @@
|
||||
if (!this.satisfiedBy(itemstack, itemstack1)) {
|
||||
return false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user