Package net.minecraft.util.datafix.fixes
Class EntityItemFrameDirectionFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.EntityItemFrameDirectionFix
-
Constructor Summary
ConstructorDescriptionEntityItemFrameDirectionFix(com.mojang.datafixers.schemas.Schema p_15468_, boolean p_15469_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static byte
direction2dTo3d(byte p_15471_)
protected com.mojang.datafixers.Typed<?>
fix(com.mojang.datafixers.Typed<?> p_15473_)
com.mojang.serialization.Dynamic<?>
fixTag(com.mojang.serialization.Dynamic<?> p_15475_)
Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix
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
-
Constructor Details
-
EntityItemFrameDirectionFix
public EntityItemFrameDirectionFix(com.mojang.datafixers.schemas.Schema p_15468_, boolean p_15469_)
-
-
Method Details
-
fixTag
public com.mojang.serialization.Dynamic<?> fixTag(com.mojang.serialization.Dynamic<?> p_15475_) -
fix
protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_15473_)- Specified by:
fix
in classNamedEntityFix
-
direction2dTo3d
private static byte direction2dTo3d(byte p_15471_)
-