public class HangingEntityFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static int[][] |
OFFSETS |
Constructor and Description |
---|
HangingEntityFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private com.mojang.serialization.Dynamic<?> |
fixDecorationPosition(com.mojang.serialization.Dynamic<?> dynamic,
boolean isPainting,
boolean isItemFrame) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public HangingEntityFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
private com.mojang.serialization.Dynamic<?> fixDecorationPosition(com.mojang.serialization.Dynamic<?> dynamic, boolean isPainting, boolean isItemFrame)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix