mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +01:00
Fix formatting issue in previous commit
By: md_5 <git@md-5.net>
This commit is contained in:
parent
64145dd66d
commit
07a9ff30de
@ -1,6 +1,6 @@
|
|||||||
--- a/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
|
--- a/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
|
||||||
+++ b/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
|
+++ b/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
|
||||||
@@ -21,7 +21,58 @@
|
@@ -21,8 +21,59 @@
|
||||||
import net.minecraft.world.level.block.state.properties.BlockProperties;
|
import net.minecraft.world.level.block.state.properties.BlockProperties;
|
||||||
import net.minecraft.world.ticks.ContainerSingleItem;
|
import net.minecraft.world.ticks.ContainerSingleItem;
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
+// CraftBukkit end
|
+// CraftBukkit end
|
||||||
+
|
+
|
||||||
public class DecoratedPotBlockEntity extends TileEntity implements RandomizableContainer, ContainerSingleItem {
|
public class DecoratedPotBlockEntity extends TileEntity implements RandomizableContainer, ContainerSingleItem {
|
||||||
+
|
|
||||||
+ // CraftBukkit start - add fields and methods
|
+ // CraftBukkit start - add fields and methods
|
||||||
+ public List<HumanEntity> transaction = new ArrayList<>();
|
+ public List<HumanEntity> transaction = new ArrayList<>();
|
||||||
+ private int maxStack = MAX_STACK;
|
+ private int maxStack = MAX_STACK;
|
||||||
@ -56,6 +56,7 @@
|
|||||||
+ return CraftLocation.toBukkit(worldPosition, level.getWorld());
|
+ return CraftLocation.toBukkit(worldPosition, level.getWorld());
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
+
|
||||||
public static final String TAG_SHERDS = "sherds";
|
public static final String TAG_SHERDS = "sherds";
|
||||||
public static final String TAG_ITEM = "item";
|
public static final String TAG_ITEM = "item";
|
||||||
|
public static final int EVENT_POT_WOBBLES = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user