Tabnine Logo
DynamicLocation.addRelativeOffset
Code IndexAdd Tabnine to your IDE (free)

How to use
addRelativeOffset
method
in
de.slikey.effectlib.util.DynamicLocation

Best Java code snippets using de.slikey.effectlib.util.DynamicLocation.addRelativeOffset (Showing top 2 results out of 315)

origin: Slikey/EffectLib

/**
 * Set the Location this Effect is centered on.
 */
public void setDynamicOrigin(DynamicLocation location) {
  if (location == null) {
    throw new IllegalArgumentException("Origin Location cannot be null!");
  }
  origin = location;
  if (offset != null) {
    origin.addOffset(offset);
  }
  if (relativeOffset != null) {
    origin.addRelativeOffset(relativeOffset);
  }
  origin.setDirectionOffset(yawOffset, pitchOffset);
  origin.setYaw(yaw);
  origin.setPitch(pitch);
  origin.setUpdateLocation(updateLocations);
  origin.setUpdateDirection(updateDirections);
  origin.updateDirection();
}
origin: elBukkit/MagicPlugin

this.origin.addRelativeOffset(originRelativeOffset);
this.target.addRelativeOffset(targetRelativeOffset);
de.slikey.effectlib.utilDynamicLocationaddRelativeOffset

Popular methods of DynamicLocation

  • <init>
  • addOffset
  • getEntity
  • getLocation
  • setDirection
  • updateFrom
  • getEntityLocation
  • hasValidEntity
  • setDirectionOffset
  • setPitch
  • setUpdateDirection
  • setUpdateLocation
  • setUpdateDirection,
  • setUpdateLocation,
  • setYaw,
  • update,
  • updateDirection,
  • updateOffsets

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • IsNull (org.hamcrest.core)
    Is the value null?
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now