Enum Class ForgeRenderTypes
- 所有已实现的接口:
Serializable
,Comparable<ForgeRenderTypes>
,Constable
-
嵌套类概要
嵌套类修饰符和类型类说明private static class
private static class
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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
Returns the enum constant of this class with the specified name.static ForgeRenderTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
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
public static boolean enableTextTextureLinearFiltering -
renderTypeSupplier
-
-
构造器详细资料
-
ForgeRenderTypes
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
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 usesOutputStateShard#PARTICLES_TARGET
to allow fabulous transparency sorting when usingRenderLevelStageEvent
-
get
-