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.TypeRewriteRulecom.mojang.datafixers.TypeRewriteRulemakeRule()private com.mojang.datafixers.TypeRewriteRuleprivate static StatsCounterFix.StatTypeunpackLegacyKey(String p_294417_) private static StringupgradeBlock(String p_16951_) private static StringupgradeItem(String p_16949_) 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:
makeRulein classcom.mojang.datafixers.DataFix
-
makeStatFixer
private com.mojang.datafixers.TypeRewriteRule makeStatFixer() -
makeObjectiveFixer
private com.mojang.datafixers.TypeRewriteRule makeObjectiveFixer() -
upgradeItem
-
upgradeBlock
-