public abstract class ChoiceFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private String |
choiceName |
private String |
name |
private com.mojang.datafixers.DSL.TypeReference |
type |
Constructor and Description |
---|
ChoiceFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType,
String name,
com.mojang.datafixers.DSL.TypeReference type,
String choiceName) |
Modifier and Type | Method and Description |
---|---|
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
protected abstract com.mojang.datafixers.Typed<?> |
transform(com.mojang.datafixers.Typed<?> inputType) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead