Package com.pixelmonmod.pixelmon.client
Record Class ClientProxy.ItemBEWLR
java.lang.Object
java.lang.Record
com.pixelmonmod.pixelmon.client.ClientProxy.ItemBEWLR
- All Implemented Interfaces:
net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
- Enclosing class:
ClientProxy
public static record ClientProxy.ItemBEWLR(net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer renderer)
extends Record
implements net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
net.neoforged.neoforge.client.extensions.common.IClientItemExtensions.FontContext -
Field Summary
Fields inherited from interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionItemBEWLR(net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer renderer) Creates an instance of aItemBEWLRrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.net.minecraft.client.renderer.BlockEntityWithoutLevelRendererfinal inthashCode()Returns a hash code value for this object.net.minecraft.client.renderer.BlockEntityWithoutLevelRendererrenderer()Returns the value of therendererrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
applyForgeHandTransform, getArmorLayerTintColor, getArmPose, getDefaultDyeColor, getFont, getGenericArmorModel, getHumanoidArmorModel, renderHelmetOverlay, renderHelmetOverlay, setupModelAnimations, shouldBobAsEntity, shouldSpreadAsEntity
-
Constructor Details
-
ItemBEWLR
public ItemBEWLR(net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer renderer) Creates an instance of aItemBEWLRrecord class.- Parameters:
renderer- the value for therendererrecord component
-
-
Method Details
-
getCustomRenderer
public net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer getCustomRenderer()- Specified by:
getCustomRendererin interfacenet.neoforged.neoforge.client.extensions.common.IClientItemExtensions
-
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). -
renderer
public net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer renderer()Returns the value of therendererrecord component.- Returns:
- the value of the
rendererrecord component
-