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
Modifier and TypeFieldDescriptionstatic 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
ConstructorDescriptionItemRendererShrineOrb
(net.minecraft.client.resources.model.BakedModel model) Initializes the renderer. -
Method Summary
Modifier and TypeMethodDescriptionnet.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
isGui3d()
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 unoThe filled texture of an orb of frozen souls. -
dos
public static final net.minecraft.client.resources.model.ModelResourceLocation dosThe filled texture of an orb of static souls. -
tres
public static final net.minecraft.client.resources.model.ModelResourceLocation tresThe 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 interfacenet.minecraft.client.resources.model.BakedModel
-
getParticleIcon
public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()- Specified by:
getParticleIcon
in interfacenet.minecraft.client.resources.model.BakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfacenet.minecraft.client.resources.model.BakedModel
-
getOverrides
public net.minecraft.client.renderer.block.model.ItemOverrides getOverrides()- Specified by:
getOverrides
in interfacenet.minecraft.client.resources.model.BakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfacenet.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 interfacenet.minecraft.client.resources.model.BakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfacenet.minecraft.client.resources.model.BakedModel
-