- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Connection c =
DataSource dataSource;dataSource.getConnection()
String url;DriverManager.getConnection(url)
IdentityDatabaseUtil.getDBConnection()
- Smart code suggestions by Codota
}
@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); } }
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); } }