Update to Minecraft 1.20.2

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2023-09-22 02:40:00 +10:00
parent 193398c0ff
commit 8a3c8cfcd4
238 changed files with 2448 additions and 2344 deletions

View File

@@ -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 {