[SPIGOT-946] Begin making use of access transforms to simplify patching.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2015-06-06 19:33:48 +10:00
parent ae714e4861
commit 58abe21c5a
47 changed files with 76 additions and 632 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/TileEntityFurnace.java
+++ b/net/minecraft/server/TileEntityFurnace.java
@@ -1,17 +1,53 @@
@@ -1,5 +1,15 @@
package net.minecraft.server;
+// CraftBukkit start
@@ -16,14 +16,7 @@
public class TileEntityFurnace extends TileEntityContainer implements IUpdatePlayerListBox, IWorldInventory {
private static final int[] a = new int[] { 0};
private static final int[] f = new int[] { 2, 1};
private static final int[] g = new int[] { 1};
private ItemStack[] items = new ItemStack[3];
- private int burnTime;
+ public int burnTime; // CraftBukkit - public
private int ticksForCurrentFuel;
- private int cookTime;
+ public int cookTime; // CraftBukkit - public
@@ -12,6 +22,32 @@
private int cookTimeTotal;
private String m;