Class ItemRendererShrineOrb
java.lang.Object
com.pixelmonmod.pixelmon.client.render.item.ItemRendererShrineOrb
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel,net.neoforged.neoforge.client.extensions.IBakedModelExtension
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
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.resources.model.ModelResourceLocationThe filled texture of an orb of static souls.static final net.minecraft.client.resources.model.ModelResourceLocationThe filled texture of an orb of fiery souls.static final net.minecraft.client.resources.model.ModelResourceLocationThe filled texture of an orb of frozen souls. -
Constructor Summary
ConstructorsConstructorDescriptionItemRendererShrineOrb(net.minecraft.client.resources.model.BakedModel model) Initializes the renderer. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.block.model.ItemOverridesnet.minecraft.client.renderer.texture.TextureAtlasSpriteList<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_) booleanbooleanisGui3d()booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.resources.model.BakedModel
getTransformsMethods inherited from interface net.neoforged.neoforge.client.extensions.IBakedModelExtension
applyTransform, getModelData, getParticleIcon, getQuads, getRenderPasses, getRenderTypes, getRenderTypes, 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:
isCustomRendererin interfacenet.minecraft.client.resources.model.BakedModel
-
getParticleIcon
public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()- Specified by:
getParticleIconin interfacenet.minecraft.client.resources.model.BakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3din interfacenet.minecraft.client.resources.model.BakedModel
-
getOverrides
public net.minecraft.client.renderer.block.model.ItemOverrides getOverrides()- Specified by:
getOverridesin interfacenet.minecraft.client.resources.model.BakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusionin 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:
getQuadsin interfacenet.minecraft.client.resources.model.BakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLightin interfacenet.minecraft.client.resources.model.BakedModel
-