Class SpriteItemModel
java.lang.Object
com.pixelmonmod.pixelmon.client.models.items.SpriteItemModel
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel
,net.minecraftforge.client.extensions.IForgeBakedModel
public class SpriteItemModel
extends Object
implements net.minecraft.client.resources.model.BakedModel
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.resources.model.ModelResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.resources.model.BakedModel
getBakedModel
(Pokemon pixelmon, net.minecraft.client.resources.model.BakedModel originalModel) net.minecraft.client.renderer.block.model.ItemOverrides
net.minecraft.client.renderer.texture.TextureAtlasSprite
List<net.minecraft.client.renderer.block.model.BakedQuad>
getQuads
(@Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand) List<net.minecraft.client.renderer.block.model.BakedQuad>
getQuads
(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData extraData, net.minecraft.client.renderer.RenderType renderType) net.minecraft.client.renderer.block.model.ItemTransforms
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.minecraftforge.client.extensions.IForgeBakedModel
applyTransform, getModelData, getParticleIcon, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
-
Field Details
-
RESOURCE_LOCATION
public static final net.minecraft.client.resources.model.ModelResourceLocation RESOURCE_LOCATION
-
-
Constructor Details
-
SpriteItemModel
public SpriteItemModel(net.minecraft.client.resources.model.BakedModel model)
-
-
Method Details
-
getQuads
@Nonnull public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(@Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.core.Direction side, @Nonnull net.minecraft.util.RandomSource rand, @Nonnull net.minecraftforge.client.model.data.ModelData extraData, net.minecraft.client.renderer.RenderType renderType) - Specified by:
getQuads
in interfacenet.minecraftforge.client.extensions.IForgeBakedModel
-
getQuads
public List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(@Nullable @Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.core.Direction side, net.minecraft.util.RandomSource rand) - Specified by:
getQuads
in interfacenet.minecraft.client.resources.model.BakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfacenet.minecraft.client.resources.model.BakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfacenet.minecraft.client.resources.model.BakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfacenet.minecraft.client.resources.model.BakedModel
-
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
-
getTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()- Specified by:
getTransforms
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
-
getBakedModel
public static net.minecraft.client.resources.model.BakedModel getBakedModel(Pokemon pixelmon, net.minecraft.client.resources.model.BakedModel originalModel)
-