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

This commit is contained in:
md_5
2015-06-06 19:33:48 +10:00
parent a6a57a96d0
commit a65e45d889
47 changed files with 76 additions and 632 deletions

View File

@@ -1,15 +1,8 @@
--- a/net/minecraft/server/FoodMetaData.java
+++ b/net/minecraft/server/FoodMetaData.java
@@ -2,13 +2,21 @@
public class FoodMetaData {
- private int foodLevel = 20;
- private float saturationLevel = 5.0F;
- private float exhaustionLevel;
+ public int foodLevel = 20; // CraftBukkit - public
+ public float saturationLevel = 5.0F; // CraftBukkit - public
+ public float exhaustionLevel; // CraftBukkit - public
@@ -6,9 +6,17 @@
public float saturationLevel = 5.0F;
public float exhaustionLevel;
private int foodTickTimer;
+ private EntityHuman entityhuman; // CraftBukkit
private int e = 20;