mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Updated to use mc-dev rename revision 1
This commit is contained in:
@@ -76,18 +76,18 @@ public class FoodMetaData {
|
||||
|
||||
public void a(NBTTagCompound nbttagcompound) {
|
||||
if (nbttagcompound.hasKey("foodLevel")) {
|
||||
this.foodLevel = nbttagcompound.f("foodLevel");
|
||||
this.foodTickTimer = nbttagcompound.f("foodTickTimer");
|
||||
this.saturationLevel = nbttagcompound.h("foodSaturationLevel");
|
||||
this.exhaustionLevel = nbttagcompound.h("foodExhaustionLevel");
|
||||
this.foodLevel = nbttagcompound.getInt("foodLevel");
|
||||
this.foodTickTimer = nbttagcompound.getInt("foodTickTimer");
|
||||
this.saturationLevel = nbttagcompound.getFloat("foodSaturationLevel");
|
||||
this.exhaustionLevel = nbttagcompound.getFloat("foodExhaustionLevel");
|
||||
}
|
||||
}
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
||||
nbttagcompound.a("foodLevel", this.foodLevel);
|
||||
nbttagcompound.a("foodTickTimer", this.foodTickTimer);
|
||||
nbttagcompound.a("foodSaturationLevel", this.saturationLevel);
|
||||
nbttagcompound.a("foodExhaustionLevel", this.exhaustionLevel);
|
||||
nbttagcompound.setInt("foodLevel", this.foodLevel);
|
||||
nbttagcompound.setInt("foodTickTimer", this.foodTickTimer);
|
||||
nbttagcompound.setFloat("foodSaturationLevel", this.saturationLevel);
|
||||
nbttagcompound.setFloat("foodExhaustionLevel", this.exhaustionLevel);
|
||||
}
|
||||
|
||||
public int a() {
|
||||
|
Reference in New Issue
Block a user