Record Class SpecialModelRenderer.BakeContext.Simple
java.lang.Object
java.lang.Record
net.minecraft.client.render.item.model.special.SpecialModelRenderer.BakeContext.Simple
- Record Components:
entityModelSet-spriteHolder-playerSkinRenderCache-
- All Implemented Interfaces:
SpecialModelRenderer.BakeContext
- Enclosing interface:
SpecialModelRenderer.BakeContext
@Environment(CLIENT)
public static record SpecialModelRenderer.BakeContext.Simple(LoadedEntityModels entityModelSet, SpriteHolder spriteHolder, PlayerSkinCache playerSkinRenderCache)
extends Record
implements SpecialModelRenderer.BakeContext
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/SpecialModelRenderer$BakeContext$Simpleintermediary net/minecraft/class_10515$class_11695$class_11696official ibh$a$anamed entityModelSetintermediary comp_3391official anamed spriteHolderintermediary comp_4551official bnamed playerSkinRenderCacheintermediary comp_4658official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.render.item.model.special.SpecialModelRenderer.BakeContext
SpecialModelRenderer.BakeContext.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LoadedEntityModelsThe field for theentityModelSetrecord component.private final PlayerSkinCacheThe field for theplayerSkinRenderCacherecord component.private final SpriteHolderThe field for thespriteHolderrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSimple(LoadedEntityModels loadedEntityModels, SpriteHolder spriteHolder, PlayerSkinCache playerSkinCache) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityModelSetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theplayerSkinRenderCacherecord component.Returns the value of thespriteHolderrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entityModelSet
The field for theentityModelSetrecord component. -
spriteHolder
The field for thespriteHolderrecord component. -
playerSkinRenderCache
The field for theplayerSkinRenderCacherecord component.
-
-
Constructor Details
-
Simple
public Simple(LoadedEntityModels loadedEntityModels, SpriteHolder spriteHolder, PlayerSkinCache playerSkinCache)
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
entityModelSet
Returns the value of theentityModelSetrecord component.- Specified by:
entityModelSetin interfaceSpecialModelRenderer.BakeContext- Returns:
- the value of the
entityModelSetrecord component
-
spriteHolder
Returns the value of thespriteHolderrecord component.- Specified by:
spriteHolderin interfaceSpecialModelRenderer.BakeContext- Returns:
- the value of the
spriteHolderrecord component
-
playerSkinRenderCache
Returns the value of theplayerSkinRenderCacherecord component.- Specified by:
playerSkinRenderCachein interfaceSpecialModelRenderer.BakeContext- Returns:
- the value of the
playerSkinRenderCacherecord component
-