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 pOutputSchema, boolean pChangesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.TypeRewriteRulecom.mojang.datafixers.TypeRewriteRulemakeRule()private com.mojang.datafixers.TypeRewriteRuleprivate static StatsCounterFix.StatTypeunpackLegacyKey(String pKey) private static StringupgradeBlock(String pId) private static StringupgradeItem(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 pOutputSchema, boolean pChangesType)
-
-
Method Details
-
unpackLegacyKey
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRulein classcom.mojang.datafixers.DataFix
-
makeStatFixer
private com.mojang.datafixers.TypeRewriteRule makeStatFixer() -
makeObjectiveFixer
private com.mojang.datafixers.TypeRewriteRule makeObjectiveFixer() -
upgradeItem
-
upgradeBlock
-