Class ModelBuilder.ElementBuilder.RotationBuilder
java.lang.Object
io.github.vampirestudios.vampirelib.api.datagen.ModelBuilder.ElementBuilder.RotationBuilder
- Enclosing class:
- ModelBuilder.ElementBuilder
-
Constructor Details
-
RotationBuilder
public RotationBuilder()
-
-
Method Details
-
origin
-
axis
- Parameters:
axis- the axis of rotation- Returns:
- this builder
- Throws:
NullPointerException- ifaxisisnull
-
angle
- Parameters:
angle- the rotation angle- Returns:
- this builder
- Throws:
IllegalArgumentException- ifangleis invalid (not one of 0, +/-22.5, +/-45)
-
rescale
-
end
-