- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
/** * 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(); }
this.origin.addRelativeOffset(originRelativeOffset); this.target.addRelativeOffset(targetRelativeOffset);