类 StandaloneGeometryBakingContext.Builder
java.lang.Object
net.minecraftforge.client.model.geometry.StandaloneGeometryBakingContext.Builder
-
字段概要
字段修饰符和类型字段说明private boolean
private static final Material
private @Nullable ResourceLocation
private Transformation
private ItemTransforms
private boolean
private boolean
private BiPredicate<String,
Boolean> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build
(ResourceLocation modelName) withGui3d
(boolean isGui3d) withMaterials
(Map<String, Material> materials, Material defaultMaterial) withRenderTypeHint
(ResourceLocation renderTypeHint) withRootTransform
(Transformation rootTransform) withTextures
(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) withTextures
(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) withTransforms
(ItemTransforms transforms) withUseAmbientOcclusion
(boolean useAmbientOcclusion) withUseBlockLight
(boolean useBlockLight) withVisibleComponents
(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> parts)
-
字段详细资料
-
NO_MATERIAL
-
materialCheck
-
materialLookup
-
isGui3d
private boolean isGui3d -
useBlockLight
private boolean useBlockLight -
useAmbientOcclusion
private boolean useAmbientOcclusion -
transforms
-
rootTransform
-
renderTypeHint
-
visibilityTest
-
-
构造器详细资料
-
Builder
private Builder() -
Builder
-
-
方法详细资料
-
withTextures
public StandaloneGeometryBakingContext.Builder withTextures(Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) -
withTextures
public StandaloneGeometryBakingContext.Builder withTextures(ResourceLocation atlasLocation, Map<String, ResourceLocation> textures, ResourceLocation defaultTexture) -
withMaterials
public StandaloneGeometryBakingContext.Builder withMaterials(Map<String, Material> materials, Material defaultMaterial) -
withGui3d
-
withUseBlockLight
-
withUseAmbientOcclusion
-
withTransforms
-
withRootTransform
-
withRenderTypeHint
-
withVisibleComponents
public StandaloneGeometryBakingContext.Builder withVisibleComponents(it.unimi.dsi.fastutil.objects.Object2BooleanMap<String> parts) -
build
-