Class DelegatingChildDynamicItemAndBlockModel
java.lang.Object
org.cyclops.cyclopscore.client.model.DynamicBaseModel
org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DelegatingChildDynamicItemAndBlockModel
- All Implemented Interfaces:
net.minecraft.client.resources.model.ModelDebugName
,net.minecraft.client.resources.model.ResolvedModel
,net.neoforged.neoforge.client.extensions.ResolvedModelExtension
public abstract class DelegatingChildDynamicItemAndBlockModel
extends DelegatingDynamicItemAndBlockModel
A dynamic model with a parent that can be used for items and blocks that delegates its blockstate.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.client.resources.model.ResolvedModel
Fields inherited from class org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
blockState, facing, modelData, rand, renderType
Fields inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
ROTATION_FIX, ROTATION_UV, UVS
Fields inherited from interface net.minecraft.client.resources.model.ResolvedModel
DEFAULT_AMBIENT_OCCLUSION, DEFAULT_GUI_LIGHT
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingChildDynamicItemAndBlockModel
(net.minecraft.client.resources.model.ResolvedModel baseModel) DelegatingChildDynamicItemAndBlockModel
(net.minecraft.client.resources.model.ResolvedModel baseModel, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.neoforged.neoforge.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType) -
Method Summary
Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
getBlockStateQuads, getGeneralQuads, handleBlockState, handleItemState, isItemStack
Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
addBakedQuad, addBakedQuad, addBakedQuadRotated, addBakedQuadRotated, addColoredBakedQuad, addColoredBakedQuad, revRotate, rotate, vertexToInts
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.resources.model.ResolvedModel
bakeTopGeometry, getTopAmbientOcclusion, getTopGeometry, getTopGuiLight, getTopTextureSlots, getTopTransforms, resolveParticleSprite
Methods inherited from interface net.neoforged.neoforge.client.extensions.ResolvedModelExtension
getTopAdditionalProperties
-
Field Details
-
baseModel
protected final net.minecraft.client.resources.model.ResolvedModel baseModel
-
-
Constructor Details
-
DelegatingChildDynamicItemAndBlockModel
public DelegatingChildDynamicItemAndBlockModel(net.minecraft.client.resources.model.ResolvedModel baseModel) -
DelegatingChildDynamicItemAndBlockModel
public DelegatingChildDynamicItemAndBlockModel(net.minecraft.client.resources.model.ResolvedModel baseModel, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.neoforged.neoforge.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
-
-
Method Details
-
wrapped
public net.minecraft.client.resources.model.UnbakedModel wrapped() -
parent
@Nullable public @Nullable net.minecraft.client.resources.model.ResolvedModel parent() -
debugName
-