mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +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;
|
||||
private int e;
|
||||
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
|
||||
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
@@ -0,0 +0,0 @@ public class EntityTypes {
|
||||
a("zombie_villager", 5651507, 7969893);
|
||||
EntityTypes.d.add(EntityTypes.a);
|
||||
}
|
||||
@@ -0,0 +0,0 @@ import org.apache.logging.log4j.Logger;
|
||||
|
||||
public class EntityTypes {
|
||||
|
||||
+ // Paper start
|
||||
+ 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<>();
|
||||
+ // Paper end
|
||||
|
||||
private static void a(int i, String s, Class<? extends Entity> oclass, String s1) {
|
||||
try {
|
||||
+
|
||||
public static final MinecraftKey a = new MinecraftKey("lightning_bolt");
|
||||
private static final MinecraftKey e = new MinecraftKey("player");
|
||||
private static final Logger f = LogManager.getLogger();
|
||||
@@ -0,0 +0,0 @@ public class EntityTypes {
|
||||
|
||||
EntityTypes.b.a(i, minecraftkey, oclass);
|
||||
|
|
Loading…
Reference in a new issue