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 apg
intermediary net/minecraft/class_3595
named net/minecraft/datafixer/fix/EntityBlockStateFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityBlockStateFix
(com.mojang.datafixers.schemas.Schema schema, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getNumericalBlockId
(String blockId) com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.Typed<?>
mergeIdAndData
(com.mojang.datafixers.Typed<?> typed, String oldIdKey, String oldDataKey, String newStateKey) private com.mojang.datafixers.Typed<?>
method_15695
(com.mojang.datafixers.Typed<?> typed) private com.mojang.datafixers.Typed<?>
useFunction
(com.mojang.datafixers.Typed<?> typed, 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
Lapg;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 schema, boolean bool)
-
-
Method Details
-
getNumericalBlockId
- Mappings:
Namespace Name Mixin selector official a
Lapg;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
-
method_15695
private com.mojang.datafixers.Typed<?> method_15695(com.mojang.datafixers.Typed<?> typed) - Mappings:
Namespace Name Mixin selector official a
Lapg;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 method_15695
Lnet/minecraft/datafixer/fix/EntityBlockStateFix;method_15695(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
mergeIdAndData
private com.mojang.datafixers.Typed<?> mergeIdAndData(com.mojang.datafixers.Typed<?> typed, String oldIdKey, String oldDataKey, String newStateKey) - Mappings:
Namespace Name Mixin selector official a
Lapg;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<?> typed, String entityId, Function<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> function) - Mappings:
Namespace Name Mixin selector official a
Lapg;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;
-