Class ItemRendererShrineOrb

java.lang.Object
com.pixelmonmod.pixelmon.client.render.item.ItemRendererShrineOrb
All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel, net.minecraftforge.client.extensions.IForgeBakedModel

public class ItemRendererShrineOrb extends Object implements net.minecraft.client.resources.model.BakedModel
Gradually fills in the orb as it gains more KOs. TODO Check again
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.client.resources.model.ModelResourceLocation
    The filled texture of an orb of static souls.
    static final net.minecraft.client.resources.model.ModelResourceLocation
    The filled texture of an orb of fiery souls.
    static final net.minecraft.client.resources.model.ModelResourceLocation
    The filled texture of an orb of frozen souls.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemRendererShrineOrb(net.minecraft.client.resources.model.BakedModel model)
    Initializes the renderer.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.block.model.ItemOverrides
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    List<net.minecraft.client.renderer.block.model.BakedQuad>
    getQuads(net.minecraft.world.level.block.state.BlockState p_235039_, net.minecraft.core.Direction p_235040_, net.minecraft.util.RandomSource p_235041_)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     

    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

    getTransforms

    Methods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel

    applyTransform, getModelData, getParticleIcon, getQuads, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
  • Field Details

    • uno

      public static final net.minecraft.client.resources.model.ModelResourceLocation uno
      The filled texture of an orb of frozen souls.
    • dos

      public static final net.minecraft.client.resources.model.ModelResourceLocation dos
      The filled texture of an orb of static souls.
    • tres

      public static final net.minecraft.client.resources.model.ModelResourceLocation tres
      The filled texture of an orb of fiery souls.
  • Constructor Details

    • ItemRendererShrineOrb

      public ItemRendererShrineOrb(net.minecraft.client.resources.model.BakedModel model)
      Initializes the renderer.
      Parameters:
      model - The model for the orb.
  • Method Details

    • isCustomRenderer

      public boolean isCustomRenderer()
      Specified by:
      isCustomRenderer in interface net.minecraft.client.resources.model.BakedModel
    • getParticleIcon

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()
      Specified by:
      getParticleIcon in interface net.minecraft.client.resources.model.BakedModel
    • isGui3d

      public boolean isGui3d()
      Specified by:
      isGui3d in interface net.minecraft.client.resources.model.BakedModel
    • getOverrides

      public net.minecraft.client.renderer.block.model.ItemOverrides getOverrides()
      Specified by:
      getOverrides in interface net.minecraft.client.resources.model.BakedModel
    • useAmbientOcclusion

      public boolean useAmbientOcclusion()
      Specified by:
      useAmbientOcclusion in interface net.minecraft.client.resources.model.BakedModel
    • getQuads

      public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(net.minecraft.world.level.block.state.BlockState p_235039_, net.minecraft.core.Direction p_235040_, net.minecraft.util.RandomSource p_235041_)
      Specified by:
      getQuads in interface net.minecraft.client.resources.model.BakedModel
    • usesBlockLight

      public boolean usesBlockLight()
      Specified by:
      usesBlockLight in interface net.minecraft.client.resources.model.BakedModel