Class GuiOnlyBakedItemModel
java.lang.Object
com.pixelmonmod.pixelmon.client.models.items.GuiOnlyBakedItemModel
- All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel
,net.minecraftforge.client.extensions.IForgeBakedModel
public class GuiOnlyBakedItemModel
extends Object
implements net.minecraft.client.resources.model.BakedModel
-
Constructor Summary
ConstructorDescriptionGuiOnlyBakedItemModel
(net.minecraft.client.resources.model.BakedModel model) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.block.model.ItemOverrides
net.minecraft.client.renderer.texture.TextureAtlasSprite
@NotNull List<net.minecraft.client.renderer.block.model.BakedQuad>
getQuads
(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction side, @NotNull net.minecraft.util.RandomSource rand, @NotNull net.minecraftforge.client.model.data.ModelData data, net.minecraft.client.renderer.RenderType renderType) 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.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
-
Constructor Details
-
GuiOnlyBakedItemModel
public GuiOnlyBakedItemModel(net.minecraft.client.resources.model.BakedModel model)
-
-
Method Details
-
getQuads
@NotNull public @NotNull List<net.minecraft.client.renderer.block.model.BakedQuad> getQuads(@Nullable net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.core.Direction side, @NotNull @NotNull net.minecraft.util.RandomSource rand, @NotNull @NotNull net.minecraftforge.client.model.data.ModelData data, @Nullable 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 net.minecraft.world.level.block.state.BlockState state, @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
-