Package net.minecraft.datafixer.fix
Class EntityBlockStateFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityBlockStateFix
public class EntityBlockStateFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/EntityBlockStateFix
intermediary net/minecraft/class_3595
official bca
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityBlockStateFix
(com.mojang.datafixers.schemas.Schema schema, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.Typed
<?> fixFallingBlock
(com.mojang.datafixers.Typed<?> fallingBlock) static int
getNumericalBlockId
(String blockId) com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.Typed
<?> mergeIdAndData
(com.mojang.datafixers.Typed<?> entity, String oldIdKey, String oldDataKey, String newStateKey) private com.mojang.datafixers.Typed
<?> useFunction
(com.mojang.datafixers.Typed<?> entity, String entityId, Function<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> function) 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
-
Field Details
-
BLOCK_NAME_TO_ID
- Mappings:
Namespace Name Mixin selector named BLOCK_NAME_TO_ID
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;BLOCK_NAME_TO_ID:Ljava/util/Map;
intermediary field_15891
Lnet/minecraft/class_3595;field_15891:Ljava/util/Map;
official a
Lbca;a:Ljava/util/Map;
-
-
Constructor Details
-
EntityBlockStateFix
public EntityBlockStateFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
-
-
Method Details
-
getNumericalBlockId
- Mappings:
Namespace Name Mixin selector named getNumericalBlockId
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;getNumericalBlockId(Ljava/lang/String;)I
intermediary method_15686
Lnet/minecraft/class_3595;method_15686(Ljava/lang/String;)I
official a
Lbca;a(Ljava/lang/String;)I
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixFallingBlock
private com.mojang.datafixers.Typed<?> fixFallingBlock(com.mojang.datafixers.Typed<?> fallingBlock) - Mappings:
Namespace Name Mixin selector named fixFallingBlock
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;fixFallingBlock(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_15695
Lnet/minecraft/class_3595;method_15695(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
official a
Lbca;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
mergeIdAndData
private com.mojang.datafixers.Typed<?> mergeIdAndData(com.mojang.datafixers.Typed<?> entity, String oldIdKey, String oldDataKey, String newStateKey) - Mappings:
Namespace Name Mixin selector named mergeIdAndData
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;mergeIdAndData(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/datafixers/Typed;
intermediary method_15687
Lnet/minecraft/class_3595;method_15687(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/datafixers/Typed;
official a
Lbca;a(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/datafixers/Typed;
-
useFunction
private com.mojang.datafixers.Typed<?> useFunction(com.mojang.datafixers.Typed<?> entity, String entityId, Function<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> function) - Mappings:
Namespace Name Mixin selector named useFunction
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;useFunction(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
intermediary method_15682
Lnet/minecraft/class_3595;method_15682(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
official a
Lbca;a(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
-