枚举类 ForgeRenderTypes
- 所有已实现的接口:
Serializable
,Comparable<ForgeRenderTypes>
,Constable
-
嵌套类概要
嵌套类修饰符和类型类说明private static class
private static class
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static final ResourceLocation
get()
static RenderType
getEntityCutoutMipped
(ResourceLocation textureLocation) static RenderType
getItemLayeredCutout
(ResourceLocation textureLocation) static RenderType
getItemLayeredCutoutMipped
(ResourceLocation textureLocation) static RenderType
getItemLayeredSolid
(ResourceLocation textureLocation) static RenderType
getItemLayeredTranslucent
(ResourceLocation textureLocation) static RenderType
getText
(ResourceLocation locationIn) static RenderType
getTextIntensity
(ResourceLocation locationIn) static RenderType
getTextIntensityPolygonOffset
(ResourceLocation locationIn) static RenderType
getTextIntensitySeeThrough
(ResourceLocation locationIn) static RenderType
getTextPolygonOffset
(ResourceLocation locationIn) static RenderType
getTextSeeThrough
(ResourceLocation locationIn) static RenderType
getTranslucentParticlesTarget
(ResourceLocation locationIn) static RenderType
getUnlitTranslucent
(ResourceLocation textureLocation) static RenderType
getUnlitTranslucent
(ResourceLocation textureLocation, boolean sortingEnabled) static RenderType
getUnsortedTranslucent
(ResourceLocation textureLocation) static ForgeRenderTypes
返回带有指定名称的该类的枚举常量。static ForgeRenderTypes[]
values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
-
枚举常量详细资料
-
ITEM_LAYERED_SOLID
-
ITEM_LAYERED_CUTOUT
-
ITEM_LAYERED_CUTOUT_MIPPED
-
ITEM_LAYERED_TRANSLUCENT
-
ITEM_UNSORTED_TRANSLUCENT
-
ITEM_UNLIT_TRANSLUCENT
-
ITEM_UNSORTED_UNLIT_TRANSLUCENT
-
TRANSLUCENT_ON_PARTICLES_TARGET
-
-
字段详细资料
-
enableTextTextureLinearFiltering
-
renderTypeSupplier
-
-
构造器详细资料
-
ForgeRenderTypes
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- 如果该枚举类没有带有指定名称的常量NullPointerException
- 如果参数为空值
-
blockAtlas
-
getItemLayeredSolid
- 返回:
- A RenderType fit for multi-layer solid item rendering.
-
getItemLayeredCutout
- 返回:
- A RenderType fit for multi-layer cutout item item rendering.
-
getItemLayeredCutoutMipped
- 返回:
- A RenderType fit for multi-layer cutout-mipped item rendering.
-
getItemLayeredTranslucent
- 返回:
- A RenderType fit for multi-layer translucent item rendering.
-
getUnsortedTranslucent
- 返回:
- A RenderType fit for translucent item/entity rendering, but with depth sorting disabled.
-
getUnlitTranslucent
- 返回:
- A RenderType fit for translucent item/entity rendering, but with diffuse lighting disabled so that fullbright quads look correct.
-
getUnlitTranslucent
public static RenderType getUnlitTranslucent(ResourceLocation textureLocation, boolean sortingEnabled) - 参数:
sortingEnabled
- If false, depth sorting will not be performed.- 返回:
- A RenderType fit for translucent item/entity rendering, but with diffuse lighting disabled so that fullbright quads look correct.
-
getEntityCutoutMipped
- 返回:
- Same as
RenderType.entityCutout(ResourceLocation)
, but with mipmapping enabled.
-
getText
- 返回:
- Replacement of
RenderType.text(ResourceLocation)
, but with optional linear texture filtering.
-
getTextIntensity
- 返回:
- Replacement of
RenderType.textIntensity(ResourceLocation)
, but with optional linear texture filtering.
-
getTextPolygonOffset
- 返回:
- Replacement of
RenderType.textPolygonOffset(ResourceLocation)
, but with optional linear texture filtering.
-
getTextIntensityPolygonOffset
- 返回:
- Replacement of
RenderType.textIntensityPolygonOffset(ResourceLocation)
, but with optional linear texture filtering.
-
getTextSeeThrough
- 返回:
- Replacement of
RenderType.textSeeThrough(ResourceLocation)
, but with optional linear texture filtering.
-
getTextIntensitySeeThrough
- 返回:
- Replacement of
RenderType.textIntensitySeeThrough(ResourceLocation)
, but with optional linear texture filtering.
-
getTranslucentParticlesTarget
- 返回:
- A variation of
RenderType.translucent()
that uses引用无效
OutputStateShard#PARTICLES_TARGET
-
get
-