@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntityMinecartContainer.java
|
||||
+++ b/net/minecraft/server/EntityMinecartContainer.java
|
||||
@@ -3,23 +3,66 @@
|
||||
@@ -3,6 +3,13 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.Random;
|
||||
import javax.annotation.Nullable;
|
||||
@@ -14,12 +14,10 @@
|
||||
|
||||
public abstract class EntityMinecartContainer extends EntityMinecartAbstract implements ITileInventory, ILootable {
|
||||
|
||||
private NonNullList<ItemStack> items;
|
||||
private boolean b;
|
||||
@@ -11,15 +18,51 @@
|
||||
private MinecraftKey c;
|
||||
- private long d;
|
||||
+ public long d; // CraftBukkit private -> public
|
||||
+
|
||||
public long lootTableSeed;
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
||||
+ private int maxStack = MAX_STACK;
|
||||
@@ -55,7 +53,7 @@
|
||||
+ return getBukkitEntity().getLocation();
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
+
|
||||
protected EntityMinecartContainer(EntityTypes<?> entitytypes, World world) {
|
||||
super(entitytypes, world);
|
||||
- this.items = NonNullList.a(36, ItemStack.a);
|
||||
|
||||
Reference in New Issue
Block a user