Enum Class BlockModelBuilder.RootTransformBuilder.TransformOrigin
java.lang.Object
java.lang.Enum<BlockModelBuilder.RootTransformBuilder.TransformOrigin>
net.minecraftforge.client.model.generators.BlockModelBuilder.RootTransformBuilder.TransformOrigin
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelBuilder.RootTransformBuilder.TransformOrigin>
,Constable
,StringRepresentable
- Enclosing class:
- BlockModelBuilder.RootTransformBuilder
@Deprecated(forRemoval=true,
since="1.19.4")
public static enum BlockModelBuilder.RootTransformBuilder.TransformOrigin
extends Enum<BlockModelBuilder.RootTransformBuilder.TransformOrigin>
implements StringRepresentable
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Modifier and TypeFieldDescriptionprivate final TransformationHelper.TransformOrigin
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD
-
Constructor Summary
ModifierConstructorDescriptionprivate
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BlockModelBuilder.RootTransformBuilder.TransformOrigin
fromString
(String originName) Deprecated, for removal: This API element is subject to removal in a future version.@NotNull String
Deprecated, for removal: This API element is subject to removal in a future version.org.joml.Vector3f
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CENTER
Deprecated, for removal: This API element is subject to removal in a future version. -
CORNER
Deprecated, for removal: This API element is subject to removal in a future version. -
OPPOSING_CORNER
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Field Details
-
newOrigin
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
TransformOrigin
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getVector
public org.joml.Vector3f getVector()Deprecated, for removal: This API element is subject to removal in a future version. -
getSerializedName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSerializedName
in interfaceStringRepresentable
-
toNewOrigin
Deprecated, for removal: This API element is subject to removal in a future version. -
fromString
@Nullable public static @Nullable BlockModelBuilder.RootTransformBuilder.TransformOrigin fromString(String originName) Deprecated, for removal: This API element is subject to removal in a future version.
-
TransformationHelper.TransformOrigin
instead