public class BlockStateFlatternEntities
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,java.lang.Integer> |
MAP |
Constructor and Description |
---|
BlockStateFlatternEntities(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
static int |
getBlockId(java.lang.String p_199171_0_) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private com.mojang.datafixers.Typed<?> |
updateBlockToBlockState(com.mojang.datafixers.Typed<?> p_211434_1_,
java.lang.String p_211434_2_,
java.lang.String p_211434_3_,
java.lang.String p_211434_4_) |
private com.mojang.datafixers.Typed<?> |
updateEntity(com.mojang.datafixers.Typed<?> p_211431_1_,
java.lang.String p_211431_2_,
java.util.function.Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> p_211431_3_) |
private com.mojang.datafixers.Typed<?> |
updateFallingBlock(com.mojang.datafixers.Typed<?> p_211442_1_) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public BlockStateFlatternEntities(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
public static int getBlockId(java.lang.String p_199171_0_)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private com.mojang.datafixers.Typed<?> updateFallingBlock(com.mojang.datafixers.Typed<?> p_211442_1_)
private com.mojang.datafixers.Typed<?> updateBlockToBlockState(com.mojang.datafixers.Typed<?> p_211434_1_, java.lang.String p_211434_2_, java.lang.String p_211434_3_, java.lang.String p_211434_4_)
private com.mojang.datafixers.Typed<?> updateEntity(com.mojang.datafixers.Typed<?> p_211431_1_, java.lang.String p_211431_2_, java.util.function.Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> p_211431_3_)