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 p_394621_, String p_394285_) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.serialization.Dynamic
<?> fixBlockState
(com.mojang.serialization.Dynamic<?> p_394590_) protected abstract <T> com.mojang.serialization.Dynamic
<T> fixProperties
(String p_393737_, com.mojang.serialization.Dynamic<T> p_394197_) 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<?> p_394590_) -
shouldFix
-
fixProperties
protected abstract <T> com.mojang.serialization.Dynamic<T> fixProperties(String p_393737_, com.mojang.serialization.Dynamic<T> p_394197_)
-