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

@@ -1,6 +1,6 @@
--- a/net/minecraft/world/inventory/ContainerFurnace.java
+++ b/net/minecraft/world/inventory/ContainerFurnace.java
@@ -12,6 +12,11 @@
@@ -14,6 +14,11 @@
import net.minecraft.world.level.World;
import net.minecraft.world.level.block.entity.TileEntityFurnace;
@@ -12,7 +12,7 @@
public abstract class ContainerFurnace extends ContainerRecipeBook<IInventory> {
public static final int INGREDIENT_SLOT = 0;
@@ -29,6 +34,22 @@
@@ -31,6 +36,22 @@
private final Recipes<? extends RecipeCooking> recipeType;
private final RecipeBookType recipeBookType;
@@ -35,7 +35,7 @@
protected ContainerFurnace(Containers<?> containers, Recipes<? extends RecipeCooking> recipes, RecipeBookType recipebooktype, int i, PlayerInventory playerinventory) {
this(containers, recipes, recipebooktype, i, playerinventory, new InventorySubcontainer(3), new ContainerProperties(4));
}
@@ -45,6 +66,7 @@
@@ -47,6 +68,7 @@
this.addSlot(new Slot(iinventory, 0, 56, 17));
this.addSlot(new SlotFurnaceFuel(this, iinventory, 1, 56, 53));
this.addSlot(new SlotFurnaceResult(playerinventory.player, iinventory, 2, 116, 35));
@@ -43,7 +43,7 @@
int j;
@@ -102,6 +124,7 @@
@@ -104,6 +126,7 @@
@Override
public boolean stillValid(EntityHuman entityhuman) {
@@ -51,7 +51,7 @@
return this.container.stillValid(entityhuman);
}
@@ -157,7 +180,7 @@
@@ -159,7 +182,7 @@
}
protected boolean canSmelt(ItemStack itemstack) {