Organise imports

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-03-09 08:47:33 +11:00
parent 1ae7bcc4d0
commit b2efd58164
188 changed files with 879 additions and 825 deletions

View File

@@ -1,14 +1,15 @@
--- a/net/minecraft/server/EntityFireworks.java
+++ b/net/minecraft/server/EntityFireworks.java
@@ -4,6 +4,7 @@
import java.util.List;
@@ -5,6 +5,8 @@
import java.util.OptionalInt;
import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
+
public class EntityFireworks extends IProjectile {
@@ -121,7 +122,11 @@
public static final DataWatcherObject<ItemStack> FIREWORK_ITEM = DataWatcher.a(EntityFireworks.class, DataWatcherRegistry.g);
@@ -121,7 +123,11 @@
}
if (!this.world.isClientSide && this.ticksFlown > this.expectedLifespan) {
@@ -21,7 +22,7 @@
}
}
@@ -136,7 +141,11 @@
@@ -136,7 +142,11 @@
protected void a(MovingObjectPositionEntity movingobjectpositionentity) {
super.a(movingobjectpositionentity);
if (!this.world.isClientSide) {
@@ -34,7 +35,7 @@
}
}
@@ -146,7 +155,11 @@
@@ -146,7 +156,11 @@
this.world.getType(blockposition).a(this.world, blockposition, (Entity) this);
if (!this.world.s_() && this.hasExplosions()) {
@@ -47,7 +48,7 @@
}
super.a(movingobjectpositionblock);
@@ -172,7 +185,9 @@
@@ -172,7 +186,9 @@
if (f > 0.0F) {
if (this.ridingEntity != null) {
@@ -57,7 +58,7 @@
}
double d0 = 5.0D;
@@ -199,7 +214,9 @@
@@ -199,7 +215,9 @@
if (flag) {
float f1 = f * (float) Math.sqrt((5.0D - (double) this.g((Entity) entityliving)) / 5.0D);