Class ShootLocationChooser.ShootLocation

java.lang.Object
me.deecaad.weaponmechanics.weapon.shoot.ShootLocationChooser.ShootLocation
All Implemented Interfaces:
me.deecaad.core.file.Serializer<ShootLocationChooser.ShootLocation>
Enclosing class:
ShootLocationChooser

public static class ShootLocationChooser.ShootLocation extends Object implements me.deecaad.core.file.Serializer<ShootLocationChooser.ShootLocation>
Keeps track of the left and right shoot locations, since the position should probably be different for each arm.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for serializer.
    ShootLocation(me.deecaad.core.file.serializers.VectorProvider left, me.deecaad.core.file.serializers.VectorProvider right)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    offset(boolean isRightHand, org.bukkit.Location source, me.deecaad.core.utils.Quaternion localRotation)
     
    serialize(me.deecaad.core.file.SerializeData data)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface me.deecaad.core.file.Serializer

    canUsePathTo, getKeyword, getName, getParentKeywords, getWikiLink, letPassThrough, shouldSerialize, tryPathTo, useLater
  • Constructor Details

    • ShootLocation

      public ShootLocation()
      Default constructor for serializer.
    • ShootLocation

      public ShootLocation(@NotNull me.deecaad.core.file.serializers.VectorProvider left, @NotNull me.deecaad.core.file.serializers.VectorProvider right)
  • Method Details

    • offset

      public void offset(boolean isRightHand, @NotNull org.bukkit.Location source, @Nullable me.deecaad.core.utils.Quaternion localRotation)
    • serialize

      @NotNull public ShootLocationChooser.ShootLocation serialize(@NotNull me.deecaad.core.file.SerializeData data) throws me.deecaad.core.file.SerializerException
      Specified by:
      serialize in interface me.deecaad.core.file.Serializer<ShootLocationChooser.ShootLocation>
      Throws:
      me.deecaad.core.file.SerializerException