Class ModelEntangledChaliceBaked
java.lang.Object
org.cyclops.cyclopscore.client.model.DynamicBaseModel
org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
org.cyclops.evilcraft.client.render.model.ModelEntangledChaliceBaked
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel,net.minecraftforge.client.extensions.IForgeBakedModel
public class ModelEntangledChaliceBaked
extends org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
A baked entangled chalice model.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel.ItemOverridesInner -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.client.resources.model.BakedModelstatic final net.minecraft.resources.ResourceLocationstatic net.minecraft.client.resources.model.BakedModelstatic final net.minecraft.resources.ResourceLocationFields inherited from class org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel
blockState, entity, facing, itemStack, modelData, rand, worldFields inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
ROTATION_FIX, ROTATION_UV, UVS -
Constructor Summary
ConstructorsConstructorDescriptionModelEntangledChaliceBaked(String id, net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity) ModelEntangledChaliceBaked(String id, net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, Random rand, net.minecraftforge.client.model.data.IModelData modelData) -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetColorSeed(String id) Set the color seed of the chalice.protected List<net.minecraft.client.renderer.block.model.BakedQuad>getFluidQuads(net.minecraftforge.fluids.FluidStack fluidStack, int capacity) List<net.minecraft.client.renderer.block.model.BakedQuad>net.minecraftforge.client.model.data.IModelDatagetModelData(net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraftforge.client.model.data.IModelData tileData) net.minecraft.client.renderer.texture.TextureAtlasSpritenet.minecraft.client.renderer.block.model.ItemTransformsnet.minecraft.client.resources.model.BakedModelhandleBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, Random rand, net.minecraftforge.client.model.data.IModelData modelData) net.minecraft.client.resources.model.BakedModelhandleItemState(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity) booleanMethods inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
getOverrides, getQuads, getQuads, getRenderingSide, isItemStackMethods inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel
addBakedQuad, addBakedQuad, addBakedQuadRotated, addBakedQuadRotated, addColoredBakedQuad, addColoredBakedQuad, isCustomRenderer, isGui3d, revRotate, rotate, useAmbientOcclusion, vertexToIntsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
doesHandlePerspectives, getLayerModels, getParticleIcon, handlePerspective, isLayered, useAmbientOcclusion
-
Field Details
-
chaliceModelName
public static final net.minecraft.resources.ResourceLocation chaliceModelName -
gemsModelName
public static final net.minecraft.resources.ResourceLocation gemsModelName -
chaliceModel
public static net.minecraft.client.resources.model.BakedModel chaliceModel -
gemsModel
public static net.minecraft.client.resources.model.BakedModel gemsModel
-
-
Constructor Details
-
ModelEntangledChaliceBaked
public ModelEntangledChaliceBaked() -
ModelEntangledChaliceBaked
-
ModelEntangledChaliceBaked
public ModelEntangledChaliceBaked(String id, net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)
-
-
Method Details
-
getColorSeed
Set the color seed of the chalice.- Parameters:
id- Unique id of a chalice group.- Returns:
- The color seed
-
getGeneralQuads
- Overrides:
getGeneralQuadsin classorg.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
-
getModelData
@Nonnull public net.minecraftforge.client.model.data.IModelData getModelData(@Nonnull net.minecraft.world.level.BlockAndTintGetter world, @Nonnull net.minecraft.core.BlockPos pos, @Nonnull net.minecraft.world.level.block.state.BlockState state, @Nonnull net.minecraftforge.client.model.data.IModelData tileData) -
handleBlockState
public net.minecraft.client.resources.model.BakedModel handleBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, Random rand, net.minecraftforge.client.model.data.IModelData modelData) - Specified by:
handleBlockStatein classorg.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
-
handleItemState
public net.minecraft.client.resources.model.BakedModel handleItemState(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity) - Specified by:
handleItemStatein classorg.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
-
getParticleIcon
public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon() -
getFluidQuads
protected List<net.minecraft.client.renderer.block.model.BakedQuad> getFluidQuads(net.minecraftforge.fluids.FluidStack fluidStack, int capacity) -
usesBlockLight
public boolean usesBlockLight() -
getTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()
-