接口 BakedModel

    • 方法详细资料

      • getQuads

        List<BakedQuad> getQuads​(@Nullable
                                 @Nullable BlockState state,
                                 @Nullable
                                 @Nullable Direction face,
                                 Random random)
        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

        boolean useAmbientOcclusion()
        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

        boolean hasDepth()
        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

        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.

        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

        boolean isBuiltin()
        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

        Sprite getSprite()
        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

        ModelTransformation getTransformation()
        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

        ModelOverrideList getOverrides()
        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;