public class EntityProjectileOwnerFix
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
EntityProjectileOwnerFix(com.mojang.datafixers.schemas.Schema outputSchema) |
Modifier and Type | Method and Description |
---|---|
private com.mojang.datafixers.Typed<?> |
fixEntities(com.mojang.datafixers.Typed<?> typed) |
private com.mojang.serialization.Dynamic<?> |
insertOwnerUuidArray(com.mojang.serialization.Dynamic<?> dynamic,
long most,
long least) |
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static int[] |
makeUuidArray(long most,
long least) |
private com.mojang.serialization.Dynamic<?> |
moveFlatOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic) |
private com.mojang.serialization.Dynamic<?> |
moveNestedOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic) |
private com.mojang.serialization.Dynamic<?> |
moveOwnerToArray(com.mojang.serialization.Dynamic<?> dynamic) |
private com.mojang.serialization.Dynamic<?> |
renamePotionToItem(com.mojang.serialization.Dynamic<?> dynamic) |
private com.mojang.datafixers.Typed<?> |
update(com.mojang.datafixers.Typed<?> typed,
String string,
Function<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> function) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public EntityProjectileOwnerFix(com.mojang.datafixers.schemas.Schema outputSchema)
protected com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private com.mojang.datafixers.Typed<?> fixEntities(com.mojang.datafixers.Typed<?> typed)
private com.mojang.serialization.Dynamic<?> moveFlatOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.serialization.Dynamic<?> moveNestedOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.serialization.Dynamic<?> renamePotionToItem(com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.serialization.Dynamic<?> moveOwnerToArray(com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.serialization.Dynamic<?> insertOwnerUuidArray(com.mojang.serialization.Dynamic<?> dynamic, long most, long least)
private static int[] makeUuidArray(long most, long least)