@@ -1,14 +1,14 @@
|
||||
--- a/net/minecraft/server/LootTableRegistry.java
|
||||
+++ b/net/minecraft/server/LootTableRegistry.java
|
||||
@@ -17,6 +17,7 @@
|
||||
@@ -15,6 +15,7 @@
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
private static final Gson b = (new GsonBuilder()).registerTypeAdapter(LootValueBounds.class, new LootValueBounds.a()).registerTypeAdapter(LootValueBinomial.class, new LootValueBinomial.a()).registerTypeAdapter(LootValueConstant.class, new LootValueConstant.a()).registerTypeAdapter(LootIntegerLimit.class, new LootIntegerLimit.a()).registerTypeAdapter(LootSelector.class, new LootSelector.b()).registerTypeAdapter(LootTable.class, new LootTable.b()).registerTypeHierarchyAdapter(LootEntryAbstract.class, new LootEntries.a()).registerTypeHierarchyAdapter(LootItemFunction.class, new LootItemFunctions.a()).registerTypeHierarchyAdapter(LootItemCondition.class, new LootItemConditions.a()).registerTypeHierarchyAdapter(LootTableInfo.EntityTarget.class, new LootTableInfo.EntityTarget.a()).create();
|
||||
private static final Gson b = LootSerialization.c().create();
|
||||
private Map<MinecraftKey, LootTable> c = ImmutableMap.of();
|
||||
+ public Map<LootTable, MinecraftKey> lootTableToKey = ImmutableMap.of(); // CraftBukkit
|
||||
private final LootPredicateManager d;
|
||||
|
||||
public LootTableRegistry(LootPredicateManager lootpredicatemanager) {
|
||||
@@ -52,7 +53,7 @@
|
||||
@@ -50,7 +51,7 @@
|
||||
LootPredicateManager lootpredicatemanager = this.d;
|
||||
|
||||
this.d.getClass();
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
immutablemap.getClass();
|
||||
LootCollector lootcollector = new LootCollector(lootcontextparameterset, function, immutablemap::get);
|
||||
@@ -64,6 +65,11 @@
|
||||
@@ -62,6 +63,11 @@
|
||||
LootTableRegistry.LOGGER.warn("Found validation problem in " + s + ": " + s1);
|
||||
});
|
||||
this.c = immutablemap;
|
||||
|
||||
Reference in New Issue
Block a user