Codota Logo
TileEntityBase.updateBlock
Code IndexAdd Codota to your IDE (free)

How to use
updateBlock
method
in
com.enderio.core.common.TileEntityBase

Best Java code snippets using com.enderio.core.common.TileEntityBase.updateBlock (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: SleepyTrousers/EnderIO

@Override
protected void updateBlock() {
 super.updateBlock();
 if (!world.isRemote) {
  forceClientRerender = true;
  forceUpdatePlayers();
  forceClientRerender = false;
 } else if (DiagnosticsConfig.debugChunkRerenders.get()) {
  EnderIO.proxy.markBlock(getWorld(), getPos(), COLOR_REN);
 }
}
origin: SleepyTrousers/EnderIO

protected void onAfterDataPacket() {
 if (forceClientRerender) {
  super.updateBlock();
  forceClientRerender = false;
  if (DiagnosticsConfig.debugChunkRerenders.get()) {
   EnderIO.proxy.markBlock(getWorld(), getPos(), COLOR_REN_SRV);
  }
 } else if (DiagnosticsConfig.debugUpdatePackets.get()) {
  EnderIO.proxy.markBlock(getWorld(), getPos(), COLOR_UPD);
 }
}
com.enderio.core.commonTileEntityBaseupdateBlock

Popular methods of TileEntityBase

  • getWorld
  • getPos
  • doUpdate
  • getUpdatePacket
    SERVER: Called when block data is sent (client receiving blocks from server, via notifyBlockUpdate).
  • hasWorld
  • init
    Called directly after the TE is constructed. This is the place to call non-final methods. Note: This
  • invalidate
  • isInvalid
  • onChunkUnload
  • readCustomNBT
  • sendProgressIf
  • setGhostSlotContents
    Called server-side when a GhostSlot is changed. Check that the given slot number really is a ghost s
  • sendProgressIf,
  • setGhostSlotContents,
  • setWorld,
  • setWorldCreate,
  • shouldDoWorkThisTick,
  • writeCustomNBT

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • orElseThrow (Optional)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now