congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Title.setFadeIn
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: SpigotMC/BungeeCord

@Override
public Title fadeIn(int ticks)
{
  if ( times == null )
  {
    times = createPacket( Action.TIMES );
  }
  times.setFadeIn( 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 fadeIn(int ticks)
{
  if ( times == null )
  {
    times = createPacket( Action.TIMES );
  }
  times.setFadeIn( 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.packetTitlesetFadeIn

Popular methods of Title

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

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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