Package net.minecraft.util.datafix.fixes
Class EntityRidingToPassengersFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRidingToPassengersFix
public class EntityRidingToPassengersFix
extends com.mojang.datafixers.DataFix
-
Constructor Summary
ConstructorsConstructorDescriptionEntityRidingToPassengersFix
(com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate <OldEntityTree,
NewEntityTree, Entity>
com.mojang.datafixers.TypeRewriteRulecap
(com.mojang.datafixers.schemas.Schema pInputSchema, com.mojang.datafixers.schemas.Schema pOutputSchema, com.mojang.datafixers.types.Type<OldEntityTree> pOldEntityTreeType, com.mojang.datafixers.types.Type<NewEntityTree> pNewEntityTreeType, com.mojang.datafixers.types.Type<Entity> pEntityType) com.mojang.datafixers.TypeRewriteRule
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
-
EntityRidingToPassengersFix
public EntityRidingToPassengersFix(com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
cap
private <OldEntityTree,NewEntityTree, com.mojang.datafixers.TypeRewriteRule capEntity> (com.mojang.datafixers.schemas.Schema pInputSchema, com.mojang.datafixers.schemas.Schema pOutputSchema, com.mojang.datafixers.types.Type<OldEntityTree> pOldEntityTreeType, com.mojang.datafixers.types.Type<NewEntityTree> pNewEntityTreeType, com.mojang.datafixers.types.Type<Entity> pEntityType)
-