Uses of Class
me.c7dev.dexterity.util.DexTransformation
Packages that use DexTransformation
-
Uses of DexTransformation in me.c7dev.dexterity.util
Methods in me.c7dev.dexterity.util that return DexTransformationModifier and TypeMethodDescriptionDexTransformation.clone()
DexBlock.getTransformation()
DexBlockState.getTransformation()
static DexTransformation
DexTransformation.newDefaultTransformation()
Returns a transformation set so that the scale is 1 and location is in the block centerstatic DexTransformation
DexTransformation.newEmptyTransformation()
Returns a transformation set so that the scale is 1 and translation is 0 (the block display's corner)Sets the scale to the input Vector and resets the displacement Creates an easy way to set scale and keep the block display centeredDexTransformation.setDisplacement
(float x, float y, float z) DexTransformation.setDisplacement
(Vector d) DexTransformation.setLeftRotation
(org.joml.Quaternionf lr) DexTransformation.setRightRotation
(org.joml.Quaternionf rr) DexTransformation.setRollOffset
(Vector v) DexTransformation.setScale
(float x, float y, float z) Methods in me.c7dev.dexterity.util with parameters of type DexTransformationModifier and TypeMethodDescriptionvoid
DexBlock.setTransformation
(DexTransformation dt) Sets the transformation wrapper and updates the entityConstructors in me.c7dev.dexterity.util with parameters of type DexTransformationModifierConstructorDescriptionDexBlockState
(Location loc, UUID uuid, DexTransformation trans, BlockData block, DexterityDisplay disp, float roll, Color glow)