public static interface ItemTransform.Builder
ItemTransform
instances| Modifier and Type | Method and Description |
|---|---|
@NotNull ItemTransform |
build()
Finished building the
ItemTransform instance
using the previously set values |
@NotNull ItemTransform.Builder |
rotation(@NotNull Vector3Float rotation)
Sets the rotation for the model display.
|
@NotNull ItemTransform.Builder |
scale(@NotNull Vector3Float scale)
Sets the scale for the model display [0, 4]
|
@NotNull ItemTransform.Builder |
translation(@NotNull Vector3Float translation)
Sets the translation for the model display [-80, 80]
|
@Contract(value="_ -> this") @NotNull @NotNull ItemTransform.Builder rotation(@NotNull @NotNull Vector3Float rotation)
rotation - The rotation@Contract(value="_ -> this") @NotNull @NotNull ItemTransform.Builder translation(@NotNull @NotNull Vector3Float translation)
translation - The translation@Contract(value="_ -> this") @NotNull @NotNull ItemTransform.Builder scale(@NotNull @NotNull Vector3Float scale)
scale - The scale@Contract(value="-> this") @NotNull @NotNull ItemTransform build()
ItemTransform instance
using the previously set valuesItemTransform instance