Update to Minecraft 1.16.4

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-11-03 07:00:00 +11:00
parent 964cc7554a
commit 6450eb0ab7
34 changed files with 374 additions and 330 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/EntityTNTPrimed.java
+++ b/net/minecraft/server/EntityTNTPrimed.java
@@ -1,13 +1,16 @@
@@ -1,6 +1,7 @@
package net.minecraft.server;
import javax.annotation.Nullable;
@@ -8,10 +8,9 @@
public class EntityTNTPrimed extends Entity {
private static final DataWatcherObject<Integer> FUSE_TICKS = DataWatcher.a(EntityTNTPrimed.class, DataWatcherRegistry.b);
@@ -8,6 +9,8 @@
@Nullable
- private EntityLiving source;
+ public EntityLiving source; // PAIL private -> public
public EntityLiving source;
private int fuseTicks;
+ public float yield = 4; // CraftBukkit - add field
+ public boolean isIncendiary = false; // CraftBukkit - add field
@@ -31,7 +30,7 @@
+ this.die();
+ // CraftBukkit end
} else {
this.aJ();
this.aK();
if (this.world.isClientSide) {
@@ -71,9 +77,16 @@
}