Package net.minecraft.util.datafix.fixes
Class AbstractBlockPropertyFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractBlockPropertyFix
- Direct Known Subclasses:
BlockPropertyRenameAndFix
,JigsawRotationFix
public abstract class AbstractBlockPropertyFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBlockPropertyFix
(com.mojang.datafixers.schemas.Schema pOutputSchema, String pName) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.serialization.Dynamic
<?> fixBlockState
(com.mojang.serialization.Dynamic<?> pTag) protected abstract <T> com.mojang.serialization.Dynamic
<T> fixProperties
(String pName, com.mojang.serialization.Dynamic<T> pProperties) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
protected abstract boolean
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
-
name
-
-
Constructor Details
-
AbstractBlockPropertyFix
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixBlockState
private com.mojang.serialization.Dynamic<?> fixBlockState(com.mojang.serialization.Dynamic<?> pTag) -
shouldFix
-
fixProperties
protected abstract <T> com.mojang.serialization.Dynamic<T> fixProperties(String pName, com.mojang.serialization.Dynamic<T> pProperties)
-