- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {StringBuilder s =
new StringBuilder()
new StringBuilder(32)
String str;new StringBuilder(str)
- Smart code suggestions by Codota
}
@Nullable @Override public Cache cacheTile(@Nonnull TileEntity tile, byte side) { Attachment attachment = parent.getAttachment(side); if (attachment != null && !attachment.allowDuctConnection()) { return null; } if (InventoryHelper.hasItemHandlerCap(tile, EnumFacing.VALUES[side ^ 1])) { return new Cache(tile, attachment); } return null; }
@Override public ConnectionType getConnectionType(byte side) { if(this.tileCache[side] == null) { this.tileCache[side] = new Cache(pipe, null); } return cofh.thermaldynamics.duct.ConnectionType.NORMAL; }