Class BakedModelVariableOverlays
java.lang.Object
org.cyclops.cyclopscore.client.model.DynamicBaseModel
org.cyclops.integrateddynamics.core.client.model.BakedModelVariableOverlays
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel
,net.neoforged.neoforge.client.extensions.IBakedModelExtension
,IVariableModelBaked
public class BakedModelVariableOverlays
extends org.cyclops.cyclopscore.client.model.DynamicBaseModel
implements IVariableModelBaked
A baked variable model.
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
ROTATION_FIX, ROTATION_UV, UVS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.resources.model.BakedModel
getModelForItem
(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, net.minecraft.client.renderer.block.model.ItemTransforms itemTransforms) net.minecraft.client.renderer.texture.TextureAtlasSprite
<B extends IVariableModelProvider.BakedModelProvider>
BgetSubModels
(IVariableModelProvider<B> provider) Get the baked submodels for the given provider.net.minecraft.client.renderer.block.model.ItemTransforms
boolean
isGui3d()
<B extends IVariableModelProvider.BakedModelProvider>
voidsetSubModels
(IVariableModelProvider<B> provider, B subModels) Set the baked submodels for the given provider.boolean
Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
addBakedQuad, addBakedQuad, addBakedQuadRotated, addBakedQuadRotated, addColoredBakedQuad, addColoredBakedQuad, getQuads, revRotate, rotate, useAmbientOcclusion, 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.BakedModel
getQuads, useAmbientOcclusion
Methods inherited from interface net.neoforged.neoforge.client.extensions.IBakedModelExtension
applyTransform, getModelData, getParticleIcon, getQuads, getRenderPasses, getRenderType, getRenderTypes, useAmbientOcclusion
-
Constructor Details
-
BakedModelVariableOverlays
public BakedModelVariableOverlays()
-
-
Method Details
-
setSubModels
public <B extends IVariableModelProvider.BakedModelProvider> void setSubModels(IVariableModelProvider<B> provider, B subModels) Description copied from interface:IVariableModelBaked
Set the baked submodels for the given provider.- Specified by:
setSubModels
in interfaceIVariableModelBaked
- Type Parameters:
B
- The baked sub model type.- Parameters:
provider
- The provider.subModels
- The baked sub model holder.
-
getSubModels
public <B extends IVariableModelProvider.BakedModelProvider> B getSubModels(IVariableModelProvider<B> provider) Description copied from interface:IVariableModelBaked
Get the baked submodels for the given provider.- Specified by:
getSubModels
in interfaceIVariableModelBaked
- Type Parameters:
B
- The baked sub model type.- Parameters:
provider
- The provider.- Returns:
- The baked model provider.
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfacenet.minecraft.client.resources.model.BakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfacenet.minecraft.client.resources.model.BakedModel
- Overrides:
isGui3d
in classorg.cyclops.cyclopscore.client.model.DynamicBaseModel
-
getParticleIcon
public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()- Specified by:
getParticleIcon
in interfacenet.minecraft.client.resources.model.BakedModel
-
getTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()- Specified by:
getTransforms
in interfacenet.minecraft.client.resources.model.BakedModel
-
getModelForItem
public net.minecraft.client.resources.model.BakedModel getModelForItem(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, net.minecraft.client.renderer.block.model.ItemTransforms itemTransforms)
-