public abstract class BlockRename
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Constructor and Description |
---|
BlockRename(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_207437_0_,
java.lang.String p_207437_1_,
java.util.function.Function<java.lang.String,java.lang.String> p_207437_2_) |
protected abstract java.lang.String |
fixBlock(java.lang.String p_206309_1_) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public BlockRename(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 fixBlock(java.lang.String p_206309_1_)
public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema p_207437_0_, java.lang.String p_207437_1_, java.util.function.Function<java.lang.String,java.lang.String> p_207437_2_)