Package | Description |
---|---|
net.minecraft.client.renderer.block.model | |
net.minecraftforge.client | |
net.minecraftforge.common.model |
Modifier and Type | Field and Description |
---|---|
private ModelRotation |
Variant.rotation |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Integer,ModelRotation> |
ModelRotation.MAP_ROTATIONS |
Modifier and Type | Method and Description |
---|---|
static ModelRotation |
ModelRotation.getModelRotation(int x,
int y) |
ModelRotation |
Variant.getRotation()
Deprecated.
|
protected ModelRotation |
Variant.Deserializer.parseModelRotation(com.google.gson.JsonObject json) |
static ModelRotation |
ModelRotation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelRotation[] |
ModelRotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static void |
FaceBakery.addUvRotation(ModelRotation p_188013_0_,
EnumFacing p_188013_1_,
FaceBakery.Rotation p_188013_2_) |
private BlockFaceUV |
FaceBakery.applyUVLock(BlockFaceUV p_188010_1_,
EnumFacing p_188010_2_,
ModelRotation p_188010_3_) |
private IBakedModel |
ModelBakery.bakeModel(ModelBlock modelBlockIn,
ModelRotation modelRotationIn,
boolean uvLocked) |
private void |
FaceBakery.fillVertexData(int[] p_188015_1_,
int p_188015_2_,
EnumFacing p_188015_3_,
BlockFaceUV p_188015_4_,
float[] p_188015_5_,
TextureAtlasSprite p_188015_6_,
ModelRotation p_188015_7_,
BlockPartRotation p_188015_8_,
boolean p_188015_9_) |
private static int |
FaceBakery.getIndex(ModelRotation p_188014_0_,
EnumFacing p_188014_1_) |
private BakedQuad |
ModelBakery.makeBakedQuad(BlockPart p_177589_1_,
BlockPartFace p_177589_2_,
TextureAtlasSprite p_177589_3_,
EnumFacing p_177589_4_,
ModelRotation p_177589_5_,
boolean p_177589_6_) |
BakedQuad |
FaceBakery.makeBakedQuad(org.lwjgl.util.vector.Vector3f posFrom,
org.lwjgl.util.vector.Vector3f posTo,
BlockPartFace face,
TextureAtlasSprite sprite,
EnumFacing facing,
ModelRotation modelRotationIn,
BlockPartRotation partRotation,
boolean uvLocked,
boolean shade) |
private int[] |
FaceBakery.makeQuadVertexData(BlockFaceUV uvs,
TextureAtlasSprite sprite,
EnumFacing orientation,
float[] p_188012_4_,
ModelRotation rotationIn,
BlockPartRotation partRotation,
boolean shade) |
int |
FaceBakery.rotateVertex(org.lwjgl.util.vector.Vector3f p_188011_1_,
EnumFacing p_188011_2_,
int p_188011_3_,
ModelRotation p_188011_4_) |
Constructor and Description |
---|
Variant(ResourceLocation modelLocationIn,
ModelRotation rotationIn,
boolean uvLockIn,
int weightIn) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<TRSRTransformation> |
ForgeHooksClient.applyTransform(ModelRotation rotation,
java.util.Optional<? extends IModelPart> part) |
static javax.vecmath.Matrix4f |
ForgeHooksClient.getMatrix(ModelRotation modelRotation) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ModelRotation,TRSRTransformation> |
TRSRTransformation.Cache.rotations |
Modifier and Type | Method and Description |
---|---|
static ModelRotation |
TRSRTransformation.getRotation(EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
static TRSRTransformation |
TRSRTransformation.from(ModelRotation rotation) |
(package private) static TRSRTransformation |
TRSRTransformation.Cache.get(ModelRotation rotation) |
Constructor and Description |
---|
TRSRTransformation(ModelRotation rotation)
Deprecated.
|