Package net.minecraft.util.datafix.fixes
Class StatsCounterFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.StatsCounterFix
public class StatsCounterFix
extends com.mojang.datafixers.DataFix
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStatsCounterFix
(com.mojang.datafixers.schemas.Schema p_16939_, boolean p_16940_) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.TypeRewriteRule
com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.TypeRewriteRule
private static StatsCounterFix.StatType
unpackLegacyKey
(String pKey) private static String
upgradeBlock
(String pId) private static String
upgradeItem
(String pId) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
SPECIAL_OBJECTIVE_CRITERIA
-
SKIP
-
CUSTOM_MAP
-
BLOCK_KEY
- See Also:
-
NEW_BLOCK_KEY
- See Also:
-
ITEM_KEYS
-
ENTITY_KEYS
-
ENTITIES
-
NEW_CUSTOM_KEY
- See Also:
-
-
Constructor Details
-
StatsCounterFix
public StatsCounterFix(com.mojang.datafixers.schemas.Schema p_16939_, boolean p_16940_)
-
-
Method Details
-
unpackLegacyKey
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
makeStatFixer
private com.mojang.datafixers.TypeRewriteRule makeStatFixer() -
makeObjectiveFixer
private com.mojang.datafixers.TypeRewriteRule makeObjectiveFixer() -
upgradeItem
-
upgradeBlock
-