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 outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate <OldEntityTree,
NewEntityTree, Entity>
com.mojang.datafixers.TypeRewriteRulecap
(com.mojang.datafixers.schemas.Schema inputSchema, com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.types.Type<OldEntityTree> oldEntityTreeType, com.mojang.datafixers.types.Type<NewEntityTree> newEntityTreeType, com.mojang.datafixers.types.Type<Entity> entityType) 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 outputSchema, boolean changesType)
-
-
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 inputSchema, com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.types.Type<OldEntityTree> oldEntityTreeType, com.mojang.datafixers.types.Type<NewEntityTree> newEntityTreeType, com.mojang.datafixers.types.Type<Entity> entityType)
-