mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-21 07:49:17 +00:00
Poll fonts to prevent adding useless entries, add missing mapping
This commit is contained in:
@@ -103,7 +103,7 @@ public class FontTransformer implements TextureTransformer {
|
|||||||
containedCharacters.get(upperData).add(fontData);
|
containedCharacters.get(upperData).add(fontData);
|
||||||
|
|
||||||
images.computeIfAbsent(fontData.filename(), filename -> {
|
images.computeIfAbsent(fontData.filename(), filename -> {
|
||||||
Texture texture = context.peekOrVanilla(filename); // TODO Should we poll this instead?
|
Texture texture = context.pollOrPeekVanilla(filename); // TODO Should we poll this instead?
|
||||||
try {
|
try {
|
||||||
return texture == null ? null : this.readImage(texture);
|
return texture == null ? null : this.readImage(texture);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
@@ -501,6 +501,7 @@
|
|||||||
"stonecutter_saw": "stonecutter2_saw",
|
"stonecutter_saw": "stonecutter2_saw",
|
||||||
"kelp_plant": ["kelp_a", "kelp_b", "kelp_c", "kelp_d"],
|
"kelp_plant": ["kelp_a", "kelp_b", "kelp_c", "kelp_d"],
|
||||||
"kelp": ["kelp_top", "kelp_top_bulb"],
|
"kelp": ["kelp_top", "kelp_top_bulb"],
|
||||||
|
"firefly_bush_emissive": "firefly_bush_firefly",
|
||||||
|
|
||||||
|
|
||||||
"acacia_trapdoor": "acacia_trapdoor",
|
"acacia_trapdoor": "acacia_trapdoor",
|
||||||
|
|||||||
Reference in New Issue
Block a user