Package net.minecraft.util.datafix.fixes
Class BlockEntityCustomNameToComponentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.BlockEntityCustomNameToComponentFix
public class BlockEntityCustomNameToComponentFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityCustomNameToComponentFix
(com.mojang.datafixers.schemas.Schema p_14817_) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Dynamic
<T> fixTagCustomName
(com.mojang.serialization.Dynamic<T> p_394274_) com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
NAMEABLE_BLOCK_ENTITIES
-
-
Constructor Details
-
BlockEntityCustomNameToComponentFix
public BlockEntityCustomNameToComponentFix(com.mojang.datafixers.schemas.Schema p_14817_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixTagCustomName
public static <T> com.mojang.serialization.Dynamic<T> fixTagCustomName(com.mojang.serialization.Dynamic<T> p_394274_)
-