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 official ave
intermediary net/minecraft/class_3595
named net/minecraft/datafixer/fix/EntityBlockStateFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityBlockStateFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
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 official a
Lave;a:Ljava/util/Map;
intermediary field_15891
Lnet/minecraft/class_3595;field_15891:Ljava/util/Map;
named BLOCK_NAME_TO_ID
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;BLOCK_NAME_TO_ID:Ljava/util/Map;
-
-
Constructor Details
-
EntityBlockStateFix
public EntityBlockStateFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) - Mappings:
Namespace Name Mixin selector official <init>
Lave;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_3595;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
getNumericalBlockId
- Mappings:
Namespace Name Mixin selector official a
Lave;a(Ljava/lang/String;)I
intermediary method_15686
Lnet/minecraft/class_3595;method_15686(Ljava/lang/String;)I
named getNumericalBlockId
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;getNumericalBlockId(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 official a
Lave;a(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;
named fixFallingBlock
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;fixFallingBlock(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 official a
Lave;a(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;
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;
-
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 official a
Lave;a(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;
named useFunction
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;useFunction(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
-