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 DexTransformationDexTransformation.newDefaultTransformation()Returns a transformation set so that the scale is 1 and location is in the block centerstatic DexTransformationDexTransformation.newEmptyTransformation()Returns a transformation set so that the scale is 1 and translation is 0 (the block display's corner)DexTransformation.rescale(org.bukkit.util.Vector s) 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(org.bukkit.util.Vector d) DexTransformation.setLeftRotation(org.joml.Quaternionf lr) DexTransformation.setRightRotation(org.joml.Quaternionf rr) DexTransformation.setRollOffset(org.bukkit.util.Vector v) DexTransformation.setScale(float x, float y, float z) DexTransformation.setScale(org.bukkit.util.Vector s) Methods in me.c7dev.dexterity.util with parameters of type DexTransformationModifier and TypeMethodDescriptionvoidDexBlock.setTransformation(DexTransformation dt) Sets the transformation wrapper and updates the entityConstructors in me.c7dev.dexterity.util with parameters of type DexTransformationModifierConstructorDescriptionDexBlockState(org.bukkit.Location loc, UUID uuid, DexTransformation trans, org.bukkit.block.data.BlockData block, DexterityDisplay disp, float roll, org.bukkit.Color glow)