public class PokeBallItemModel
extends java.lang.Object
implements net.minecraft.client.renderer.model.IBakedModel
Modifier and Type | Class and Description |
---|---|
static class |
PokeBallItemModel.OverrideList |
Modifier and Type | Field and Description |
---|---|
static net.minecraft.client.renderer.model.ModelResourceLocation |
RESOURCE_LOCATION |
Constructor and Description |
---|
PokeBallItemModel(net.minecraft.client.renderer.model.IBakedModel model) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.client.renderer.model.ItemOverrideList |
getOverrides() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getParticleIcon() |
java.util.List<net.minecraft.client.renderer.model.BakedQuad> |
getQuads(net.minecraft.block.BlockState state,
net.minecraft.util.Direction side,
java.util.Random rand) |
java.util.List<net.minecraft.client.renderer.model.BakedQuad> |
getQuads(net.minecraft.block.BlockState state,
net.minecraft.util.Direction side,
java.util.Random rand,
net.minecraftforge.client.model.data.IModelData extraData) |
net.minecraft.client.renderer.model.IBakedModel |
handlePerspective(net.minecraft.client.renderer.model.ItemCameraTransforms.TransformType type,
com.mojang.blaze3d.matrix.MatrixStack stack) |
boolean |
isCustomRenderer() |
boolean |
isGui3d() |
boolean |
useAmbientOcclusion() |
boolean |
usesBlockLight() |
public static final net.minecraft.client.renderer.model.ModelResourceLocation RESOURCE_LOCATION
public PokeBallItemModel(net.minecraft.client.renderer.model.IBakedModel model)
@Nonnull public java.util.List<net.minecraft.client.renderer.model.BakedQuad> getQuads(@Nullable net.minecraft.block.BlockState state, @Nullable net.minecraft.util.Direction side, @Nonnull java.util.Random rand, @Nonnull net.minecraftforge.client.model.data.IModelData extraData)
getQuads
in interface net.minecraftforge.client.extensions.IForgeBakedModel
public java.util.List<net.minecraft.client.renderer.model.BakedQuad> getQuads(@Nullable net.minecraft.block.BlockState state, @Nullable net.minecraft.util.Direction side, java.util.Random rand)
getQuads
in interface net.minecraft.client.renderer.model.IBakedModel
public boolean useAmbientOcclusion()
useAmbientOcclusion
in interface net.minecraft.client.renderer.model.IBakedModel
public boolean isGui3d()
isGui3d
in interface net.minecraft.client.renderer.model.IBakedModel
public boolean usesBlockLight()
usesBlockLight
in interface net.minecraft.client.renderer.model.IBakedModel
public boolean isCustomRenderer()
isCustomRenderer
in interface net.minecraft.client.renderer.model.IBakedModel
public net.minecraft.client.renderer.texture.TextureAtlasSprite getParticleIcon()
getParticleIcon
in interface net.minecraft.client.renderer.model.IBakedModel
public net.minecraft.client.renderer.model.IBakedModel handlePerspective(net.minecraft.client.renderer.model.ItemCameraTransforms.TransformType type, com.mojang.blaze3d.matrix.MatrixStack stack)
handlePerspective
in interface net.minecraftforge.client.extensions.IForgeBakedModel
public net.minecraft.client.renderer.model.ItemOverrideList getOverrides()
getOverrides
in interface net.minecraft.client.renderer.model.IBakedModel