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

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

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

origin: Slikey/EffectLib

public void update() {
  if (location == null || (!updateLocation && !updateDirection)) {
    return;
  }
  Entity entityReference = entity == null ? null : entity.get();
  if (entityReference != null) {
    Location currentLocation = getEntityLocation(entityReference);
    if (updateDirection)
    {
      setDirection(currentLocation.getDirection());
    }
    if (updateLocation)
    {
      updateFrom(currentLocation);
    }
  }
}
origin: elBukkit/MagicPlugin

  if (effectLocation != null)
    effectLocation.updateFrom(targetLocation);
if (effectLocation != null)
  effectLocation.updateFrom(projectileLocation);
  effectLocation.setDirection(velocity);
de.slikey.effectlib.utilDynamicLocationupdateFrom

Popular methods of DynamicLocation

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

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JList (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
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