mirror of
https://github.com/FabricMC/fabric.git
synced 2025-05-19 17:50:51 -04:00
remove unused FlammableBlockRegistryImpl code
This commit is contained in:
parent
2d246adb3e
commit
562d9fce4e
1 changed files with 2 additions and 4 deletions
|
@ -44,8 +44,6 @@ public class FlammableBlockRegistryImpl implements FlammableBlockRegistry, Ident
|
||||||
private final Map<Block, FlammableBlockRegistry.Entry> registeredEntriesBlock = new HashMap<>();
|
private final Map<Block, FlammableBlockRegistry.Entry> registeredEntriesBlock = new HashMap<>();
|
||||||
private final Map<Tag<Block>, FlammableBlockRegistry.Entry> registeredEntriesTag = new HashMap<>();
|
private final Map<Tag<Block>, FlammableBlockRegistry.Entry> registeredEntriesTag = new HashMap<>();
|
||||||
private final Map<Block, FlammableBlockRegistry.Entry> computedEntries = new HashMap<>();
|
private final Map<Block, FlammableBlockRegistry.Entry> computedEntries = new HashMap<>();
|
||||||
private final Object2IntMap<Block> computedBurnChances = new Object2IntOpenHashMap<>();
|
|
||||||
private final Object2IntMap<Block> computedSpreadChances = new Object2IntOpenHashMap<>();
|
|
||||||
private final Identifier id;
|
private final Identifier id;
|
||||||
private final Block key;
|
private final Block key;
|
||||||
private boolean tagsPresent = false;
|
private boolean tagsPresent = false;
|
||||||
|
@ -79,14 +77,14 @@ public class FlammableBlockRegistryImpl implements FlammableBlockRegistry, Ident
|
||||||
}
|
}
|
||||||
computedEntries.putAll(registeredEntriesBlock);
|
computedEntries.putAll(registeredEntriesBlock);
|
||||||
|
|
||||||
computedBurnChances.clear();
|
/* computedBurnChances.clear();
|
||||||
computedSpreadChances.clear();
|
computedSpreadChances.clear();
|
||||||
|
|
||||||
for (Block block : computedEntries.keySet()) {
|
for (Block block : computedEntries.keySet()) {
|
||||||
FlammableBlockRegistry.Entry entry = computedEntries.get(block);
|
FlammableBlockRegistry.Entry entry = computedEntries.get(block);
|
||||||
computedBurnChances.put(block, entry.getBurnChance());
|
computedBurnChances.put(block, entry.getBurnChance());
|
||||||
computedSpreadChances.put(block, entry.getSpreadChance());
|
computedSpreadChances.put(block, entry.getSpreadChance());
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
// User-facing fire registry interface - queries vanilla fire block
|
// User-facing fire registry interface - queries vanilla fire block
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue