public class EntityRidingToPassengerFix
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
EntityRidingToPassengerFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private <OldEntityTree,NewEntityTree,Entity> |
fixEntityTree(com.mojang.datafixers.schemas.Schema inputSchema,
com.mojang.datafixers.schemas.Schema outputSchema,
com.mojang.datafixers.types.Type<OldEntityTree> inputEntityTreeType,
com.mojang.datafixers.types.Type<NewEntityTree> outputEntityTreeType,
com.mojang.datafixers.types.Type<Entity> inputEntityType) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public EntityRidingToPassengerFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private <OldEntityTree,NewEntityTree,Entity> com.mojang.datafixers.TypeRewriteRule fixEntityTree(com.mojang.datafixers.schemas.Schema inputSchema, com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.types.Type<OldEntityTree> inputEntityTreeType, com.mojang.datafixers.types.Type<NewEntityTree> outputEntityTreeType, com.mojang.datafixers.types.Type<Entity> inputEntityType)