Package net.minecraftforge.client.model
Class BakedItemModel.BakedGuiItemModel<T extends BakedItemModel>
- java.lang.Object
-
- net.minecraftforge.client.model.BakedModelWrapper<T>
-
- net.minecraftforge.client.model.BakedItemModel.BakedGuiItemModel<T>
-
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
- Enclosing class:
- BakedItemModel
public static class BakedItemModel.BakedGuiItemModel<T extends BakedItemModel> extends BakedModelWrapper<T>
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<BakedQuad>
quads
-
Fields inherited from class net.minecraftforge.client.model.BakedModelWrapper
originalModel
-
-
Constructor Summary
Constructors Constructor Description BakedGuiItemModel(T originalModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this modeljava.util.List<BakedQuad>
getQuads(BlockState state, Direction side, java.util.Random rand)
IBakedModel
handlePerspective(ItemCameraTransforms.TransformType type, MatrixStack mat)
-
Methods inherited from class net.minecraftforge.client.model.BakedModelWrapper
getModelData, getOverrides, getParticleIcon, getParticleTexture, getQuads, getTransforms, isAmbientOcclusion, isCustomRenderer, isGui3d, useAmbientOcclusion, usesBlockLight
-
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
getBakedModel, getLayerModels, isLayered
-
-
-
-
Field Detail
-
quads
private final com.google.common.collect.ImmutableList<BakedQuad> quads
-
-
Constructor Detail
-
BakedGuiItemModel
public BakedGuiItemModel(T originalModel)
-
-
Method Detail
-
getQuads
public java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, java.util.Random rand)
- Specified by:
getQuads
in interfaceIBakedModel
- Overrides:
getQuads
in classBakedModelWrapper<T extends BakedItemModel>
-
doesHandlePerspectives
public boolean doesHandlePerspectives()
Description copied from interface:IForgeBakedModel
Override to tell the new model loader that it shouldn't wrap this model- Specified by:
doesHandlePerspectives
in interfaceIForgeBakedModel
- Overrides:
doesHandlePerspectives
in classBakedModelWrapper<T extends BakedItemModel>
-
handlePerspective
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType type, MatrixStack mat)
- Specified by:
handlePerspective
in interfaceIForgeBakedModel
- Overrides:
handlePerspective
in classBakedModelWrapper<T extends BakedItemModel>
-
-