Tabnine Logo
Title.setFadeOut
Code IndexAdd Tabnine to your IDE (free)

How to use
setFadeOut
method
in
net.md_5.bungee.protocol.packet.Title

Best Java code snippets using net.md_5.bungee.protocol.packet.Title.setFadeOut (Showing top 4 results out of 315)

origin: SpigotMC/BungeeCord

@Override
public Title fadeOut(int ticks)
{
  if ( times == null )
  {
    times = createPacket( Action.TIMES );
  }
  times.setFadeOut( ticks );
  return this;
}
origin: SpigotMC/BungeeCord

private static net.md_5.bungee.protocol.packet.Title createPacket(Action action)
{
  net.md_5.bungee.protocol.packet.Title title = new net.md_5.bungee.protocol.packet.Title();
  title.setAction( action );
  if ( action == Action.TIMES )
  {
    // Set packet to default values first
    title.setFadeIn( 20 );
    title.setStay( 60 );
    title.setFadeOut( 20 );
  }
  return title;
}
origin: WaterfallMC/Waterfall-Old

@Override
public Title fadeOut(int ticks)
{
  if ( times == null )
  {
    times = createPacket( Action.TIMES );
  }
  times.setFadeOut( ticks );
  return this;
}
origin: WaterfallMC/Waterfall-Old

private static net.md_5.bungee.protocol.packet.Title createPacket(Action action)
{
  net.md_5.bungee.protocol.packet.Title title = new net.md_5.bungee.protocol.packet.Title();
  title.setAction( action );
  if ( action == Action.TIMES )
  {
    // Set packet to default values first
    title.setFadeIn( 20 );
    title.setStay( 60 );
    title.setFadeOut( 20 );
  }
  return title;
}
net.md_5.bungee.protocol.packetTitlesetFadeOut

Popular methods of Title

  • <init>
  • readString
  • readVarInt
  • setAction
  • setFadeIn
  • setStay
  • setText
  • writeString
  • writeVarInt

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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