mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Move definition of fields up
This commit is contained in:
parent
2e05bc73b3
commit
5a2b8d5cdc
1 changed files with 9 additions and 8 deletions
|
@ -52,20 +52,21 @@ index 1f2fe87b6..2cb462b8e 100644
|
||||||
protected DataPalette c;
|
protected DataPalette c;
|
||||||
private int e;
|
private int e;
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java
|
diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||||
index ba461ad48..66c270493 100644
|
index ba461ad48..2359b31f4 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||||
@@ -0,0 +0,0 @@ public class EntityTypes {
|
@@ -0,0 +0,0 @@ import org.apache.logging.log4j.Logger;
|
||||||
a("zombie_villager", 5651507, 7969893);
|
|
||||||
EntityTypes.d.add(EntityTypes.a);
|
public class EntityTypes {
|
||||||
}
|
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ public static Map<Class<? extends Entity>, MinecraftKey> clsToKeyMap = new java.util.HashMap<>();
|
+ public static Map<Class<? extends Entity>, MinecraftKey> clsToKeyMap = new java.util.HashMap<>();
|
||||||
+ public static Map<Class<? extends Entity>, org.bukkit.entity.EntityType> clsToTypeMap = new java.util.HashMap<>();
|
+ public static Map<Class<? extends Entity>, org.bukkit.entity.EntityType> clsToTypeMap = new java.util.HashMap<>();
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
+
|
||||||
private static void a(int i, String s, Class<? extends Entity> oclass, String s1) {
|
public static final MinecraftKey a = new MinecraftKey("lightning_bolt");
|
||||||
try {
|
private static final MinecraftKey e = new MinecraftKey("player");
|
||||||
|
private static final Logger f = LogManager.getLogger();
|
||||||
@@ -0,0 +0,0 @@ public class EntityTypes {
|
@@ -0,0 +0,0 @@ public class EntityTypes {
|
||||||
|
|
||||||
EntityTypes.b.a(i, minecraftkey, oclass);
|
EntityTypes.b.a(i, minecraftkey, oclass);
|
||||||
|
|
Loading…
Reference in a new issue