类 EntityBlockStateFix


  • public class EntityBlockStateFix
    extends com.mojang.datafixers.DataFix
    Mappings:
    Namespace Name
    official aiv
    intermediary net/minecraft/class_3595
    named net/minecraft/datafixer/fix/EntityBlockStateFix
    • 构造器概要

      构造器 
      构造器 说明
      EntityBlockStateFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static 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)  
      • 从类继承的方法 com.mojang.datafixers.DataFix

        checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
    • 字段详细资料

      • BLOCK_NAME_TO_ID

        private static final Map<String,​Integer> BLOCK_NAME_TO_ID
        Mappings:
        Namespace Name Mixin selector
        official a Laiv;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;
    • 构造器详细资料

      • EntityBlockStateFix

        public EntityBlockStateFix​(com.mojang.datafixers.schemas.Schema outputSchema,
                                   boolean changesType)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laiv;<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
    • 方法详细资料

      • getNumericalBlockId

        public static int getNumericalBlockId​(String blockId)
        Mappings:
        Namespace Name Mixin selector
        official a Laiv;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()
        指定者:
        makeRule 在类中 com.mojang.datafixers.DataFix
        Mappings:
        Namespace Name Mixin selector
        official makeRule Laiv;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
        intermediary makeRule Lnet/minecraft/class_3595;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
        named makeRule Lnet/minecraft/datafixer/fix/EntityBlockStateFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      • method_15695

        private com.mojang.datafixers.Typed<?> method_15695​(com.mojang.datafixers.Typed<?> typed)
        Mappings:
        Namespace Name Mixin selector
        official a Laiv;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 Laiv;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 Laiv;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;