Record Class ItemModelCable.Unbaked
java.lang.Object
java.lang.Record
org.cyclops.integrateddynamics.core.client.model.ItemModelCable.Unbaked
- All Implemented Interfaces:
net.minecraft.client.renderer.item.ItemModel.Unbaked
,net.minecraft.client.resources.model.ResolvableModel
- Enclosing class:
ItemModelCable
public static record ItemModelCable.Unbaked()
extends Record
implements net.minecraft.client.renderer.item.ItemModel.Unbaked
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.resources.model.ResolvableModel
net.minecraft.client.resources.model.ResolvableModel.Resolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ItemModelCable.Unbaked> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.item.ItemModel
bake
(net.minecraft.client.renderer.item.ItemModel.BakingContext bakingContext) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.void
resolveDependencies
(net.minecraft.client.resources.model.ResolvableModel.Resolver resolver) final String
toString()
Returns a string representation of this record class.com.mojang.serialization.MapCodec
<ItemModelCable.Unbaked> type()
-
Field Details
-
MAP_CODEC
-
-
Constructor Details
-
Unbaked
public Unbaked()Creates an instance of aUnbaked
record class.
-
-
Method Details
-
type
- Specified by:
type
in interfacenet.minecraft.client.renderer.item.ItemModel.Unbaked
-
bake
public net.minecraft.client.renderer.item.ItemModel bake(net.minecraft.client.renderer.item.ItemModel.BakingContext bakingContext) - Specified by:
bake
in interfacenet.minecraft.client.renderer.item.ItemModel.Unbaked
-
resolveDependencies
public void resolveDependencies(net.minecraft.client.resources.model.ResolvableModel.Resolver resolver) - Specified by:
resolveDependencies
in interfacenet.minecraft.client.resources.model.ResolvableModel
-
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.
-