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

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.client.resources.model.BakedModel
     
    static final net.minecraft.resources.ResourceLocation
     
    static net.minecraft.client.resources.model.BakedModel
     
    static final net.minecraft.resources.ResourceLocation
     

    Fields inherited from class org.cyclops.cyclopscore.client.model.DelegatingDynamicItemAndBlockModel

    blockState, entity, facing, itemStack, modelData, rand, renderType, world

    Fields inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel

    ROTATION_FIX, ROTATION_UV, UVS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    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)
     
    ModelEntangledChaliceBaked(String id, net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    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.ModelData
    getModelData(net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraftforge.client.model.data.ModelData tileData)
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    net.minecraft.client.renderer.block.model.ItemTransforms
     
    net.minecraft.client.resources.model.BakedModel
    handleBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
     
    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)
     
    boolean
     

    Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel

    getOverrides, getQuads, getQuads, getRenderingSide, isItemStack

    Methods inherited from class org.cyclops.cyclopscore.client.model.DynamicBaseModel

    addBakedQuad, addBakedQuad, addBakedQuadRotated, addBakedQuadRotated, addColoredBakedQuad, addColoredBakedQuad, isCustomRenderer, isGui3d, 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.minecraftforge.client.extensions.IForgeBakedModel

    applyTransform, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, 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

      public ModelEntangledChaliceBaked(String id, net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
    • 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

      public static int getColorSeed(String id)
      Set the color seed of the chalice.
      Parameters:
      id - Unique id of a chalice group.
      Returns:
      The color seed
    • getGeneralQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getGeneralQuads()
      Overrides:
      getGeneralQuads in class org.cyclops.cyclopscore.client.model.DynamicItemAndBlockModel
    • getModelData

      @Nonnull public net.minecraftforge.client.model.data.ModelData 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.ModelData tileData)
    • handleBlockState

      public net.minecraft.client.resources.model.BakedModel handleBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      handleBlockState in class org.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:
      handleItemState in class org.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()