Paper/nms-patches/IWorldWriter.patch
2018-07-15 10:00:00 +10:00

12 lines
396 B
Diff

--- a/net/minecraft/server/IWorldWriter.java
+++ b/net/minecraft/server/IWorldWriter.java
@@ -6,6 +6,8 @@
boolean addEntity(Entity entity);
+ boolean addEntity(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason); // CraftBukkit
+
boolean setAir(BlockPosition blockposition);
void a(EnumSkyBlock enumskyblock, BlockPosition blockposition, int i);