类 MultipartBakedModel

  • 所有已实现的接口:
    BakedModel

    @Environment(CLIENT)
    public class MultipartBakedModel
    extends Object
    implements BakedModel
    Mappings:
    Namespace Name
    official exx
    intermediary net/minecraft/class_1095
    named net/minecraft/client/render/model/MultipartBakedModel
    • 字段详细资料

      • components

        private final List<Pair<Predicate<BlockState>,​BakedModel>> components
        Mappings:
        Namespace Name Mixin selector
        official g Lexx;g:Ljava/util/List;
        intermediary field_5427 Lnet/minecraft/class_1095;field_5427:Ljava/util/List;
        named components Lnet/minecraft/client/render/model/MultipartBakedModel;components:Ljava/util/List;
      • ambientOcclusion

        protected final boolean ambientOcclusion
        Mappings:
        Namespace Name Mixin selector
        official a Lexx;a:Z
        intermediary field_5430 Lnet/minecraft/class_1095;field_5430:Z
        named ambientOcclusion Lnet/minecraft/client/render/model/MultipartBakedModel;ambientOcclusion:Z
      • depthGui

        protected final boolean depthGui
        Mappings:
        Namespace Name Mixin selector
        official b Lexx;b:Z
        intermediary field_5429 Lnet/minecraft/class_1095;field_5429:Z
        named depthGui Lnet/minecraft/client/render/model/MultipartBakedModel;depthGui:Z
      • sideLit

        protected final boolean sideLit
        Mappings:
        Namespace Name Mixin selector
        official c Lexx;c:Z
        intermediary field_21863 Lnet/minecraft/class_1095;field_21863:Z
        named sideLit Lnet/minecraft/client/render/model/MultipartBakedModel;sideLit:Z
      • sprite

        protected final Sprite sprite
        Mappings:
        Namespace Name Mixin selector
        official d Lexx;d:Lewd;
        intermediary field_5425 Lnet/minecraft/class_1095;field_5425:Lnet/minecraft/class_1058;
        named sprite Lnet/minecraft/client/render/model/MultipartBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
      • transformations

        protected final ModelTransformation transformations
        Mappings:
        Namespace Name Mixin selector
        official e Lexx;e:Leng;
        intermediary field_5426 Lnet/minecraft/class_1095;field_5426:Lnet/minecraft/class_809;
        named transformations Lnet/minecraft/client/render/model/MultipartBakedModel;transformations:Lnet/minecraft/client/render/model/json/ModelTransformation;
      • itemPropertyOverrides

        protected final ModelOverrideList itemPropertyOverrides
        Mappings:
        Namespace Name Mixin selector
        official f Lexx;f:Lene;
        intermediary field_5428 Lnet/minecraft/class_1095;field_5428:Lnet/minecraft/class_806;
        named itemPropertyOverrides Lnet/minecraft/client/render/model/MultipartBakedModel;itemPropertyOverrides:Lnet/minecraft/client/render/model/json/ModelOverrideList;
      • stateCache

        private final Map<BlockState,​BitSet> stateCache
        Mappings:
        Namespace Name Mixin selector
        official h Lexx;h:Ljava/util/Map;
        intermediary field_5431 Lnet/minecraft/class_1095;field_5431:Ljava/util/Map;
        named stateCache Lnet/minecraft/client/render/model/MultipartBakedModel;stateCache:Ljava/util/Map;
    • 构造器详细资料

      • MultipartBakedModel

        public MultipartBakedModel​(List<Pair<Predicate<BlockState>,​BakedModel>> components)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lexx;<init>(Ljava/util/List;)V
        intermediary <init> Lnet/minecraft/class_1095;<init>(Ljava/util/List;)V
        named <init> Lnet/minecraft/client/render/model/MultipartBakedModel;<init>(Ljava/util/List;)V
    • 方法详细资料

      • getQuads

        public List<BakedQuad> getQuads​(@Nullable
                                        @Nullable BlockState state,
                                        @Nullable
                                        @Nullable Direction face,
                                        Random random)
        指定者:
        getQuads 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official a Lexp;a(Lcjr;Lgg;Ljava/util/Random;)Ljava/util/List;
        intermediary method_4707 Lnet/minecraft/class_1087;method_4707(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Ljava/util/Random;)Ljava/util/List;
        named getQuads Lnet/minecraft/client/render/model/BakedModel;getQuads(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Ljava/util/Random;)Ljava/util/List;
      • useAmbientOcclusion

        public boolean useAmbientOcclusion()
        指定者:
        useAmbientOcclusion 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official a Lexp;a()Z
        intermediary method_4708 Lnet/minecraft/class_1087;method_4708()Z
        named useAmbientOcclusion Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
      • hasDepth

        public boolean hasDepth()
        指定者:
        hasDepth 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official b Lexp;b()Z
        intermediary method_4712 Lnet/minecraft/class_1087;method_4712()Z
        named hasDepth Lnet/minecraft/client/render/model/BakedModel;hasDepth()Z
      • isSideLit

        public boolean isSideLit()
        Allows control of the lighting when rendering a model in a GUI.

        True, the model will be lit from the side, like a block.

        False, the model will be lit from the front, like an item.

        指定者:
        isSideLit 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official c Lexp;c()Z
        intermediary method_24304 Lnet/minecraft/class_1087;method_24304()Z
        named isSideLit Lnet/minecraft/client/render/model/BakedModel;isSideLit()Z
      • isBuiltin

        public boolean isBuiltin()
        指定者:
        isBuiltin 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official d Lexp;d()Z
        intermediary method_4713 Lnet/minecraft/class_1087;method_4713()Z
        named isBuiltin Lnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
      • getSprite

        public Sprite getSprite()
        指定者:
        getSprite 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official e Lexp;e()Lewd;
        intermediary method_4711 Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;
        named getSprite Lnet/minecraft/client/render/model/BakedModel;getSprite()Lnet/minecraft/client/texture/Sprite;
      • getTransformation

        public ModelTransformation getTransformation()
        指定者:
        getTransformation 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official f Lexp;f()Leng;
        intermediary method_4709 Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;
        named getTransformation Lnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;
      • getOverrides

        public ModelOverrideList getOverrides()
        指定者:
        getOverrides 在接口中 BakedModel
        Mappings:
        Namespace Name Mixin selector
        official g Lexp;g()Lene;
        intermediary method_4710 Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;
        named getOverrides Lnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;