public abstract class ItemRename
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Constructor and Description |
---|
ItemRename(com.mojang.datafixers.schemas.Schema outputSchema,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static com.mojang.datafixers.DataFix |
create(com.mojang.datafixers.schemas.Schema p_207476_0_,
java.lang.String p_207476_1_,
java.util.function.Function<java.lang.String,java.lang.String> p_207476_2_) |
protected abstract java.lang.String |
fixItem(java.lang.String p_206355_1_) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public ItemRename(com.mojang.datafixers.schemas.Schema outputSchema, java.lang.String name)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
protected abstract java.lang.String fixItem(java.lang.String p_206355_1_)
public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema p_207476_0_, java.lang.String p_207476_1_, java.util.function.Function<java.lang.String,java.lang.String> p_207476_2_)