707172737475767778
} } @Override public EntityBlock newPumpTube(World w) { EntityBlock eb = super.newPumpTube(w); eb.texture = pumpTexture; return eb; }
777879808182838485
return eb; } @Override public EntityBlock newDrill(World w, double i, double j, double k, double l, double d, double e) { EntityBlock eb = super.newDrill(w, i, j, k, l, d, e); eb.texture = drillTexture; return eb; }
848586878889909192
return eb; } @Override public EntityBlock newDrillHead(World w, double i, double j, double k, double l, double d, double e) { EntityBlock eb = super.newDrillHead(w, i, j, k, l, d, e); eb.texture = drillHeadTexture; return eb; }
115116117118119120121122123124125
return FMLClientHandler.instance().getClient().thePlayer.getDisplayName(); } @Override public EntityBlock newEntityBlock(World world, double i, double j, double k, double iSize, double jSize, double kSize, LaserKind laserKind) { EntityBlock eb = super.newEntityBlock(world, i, j, k, iSize, jSize, kSize, laserKind); switch (laserKind) { case Blue: eb.texture = BuildCraftCore.blueLaserTexture; break;
177178179180181182183
return CoreProxy.buildCraftPlayer; } public EntityBlock newEntityBlock(World world, double i, double j, double k, double iSize, double jSize, double kSize, LaserKind laserKind) { return new EntityBlock(world, i, j, k, iSize, jSize, kSize); }
265266267268269270271272273274275276
iSize = 0.10; jSize = 0.10; } EntityBlock block = CoreProxy.proxy.newEntityBlock(world, i, j, k, iSize, jSize, kSize, kind); block.setBrightness(210); world.spawnEntityInWorld(block); return block; }
26272829303132
public void initializeNEIIntegration() { } public EntityBlock newPumpTube(World w) { return new EntityBlock(w); }
31323334353637
return new EntityBlock(w); } public EntityBlock newDrill(World w, double i, double j, double k, double l, double d, double e) { return new EntityBlock(w, i, j, k, l, d, e); }
36373839404142
return new EntityBlock(w, i, j, k, l, d, e); } public EntityBlock newDrillHead(World w, double i, double j, double k, double l, double d, double e) { return new EntityBlock(w, i, j, k, l, d, e); }
226227228229230231232233234235236237238239
public static EntityBlock getParentReferenceSymbols(Model model, Table table) { Presentation presentation = model.getConfiguration().getPresentation(); for (Iterator iter = presentation.getPresentationBlocks().iterator(); iter.hasNext();) { for (Iterator iter2 = ((PresentationBlock)iter.next()).getEntityBlockss().iterator(); iter2.hasNext();) for (Iterator iter3 = ((EntityBlocks)iter2.next()).getEntityBlocks().iterator(); iter3.hasNext();) { EntityBlock entityBlock = (EntityBlock)iter3.next(); if (entityBlock.getType()!= null && entityBlock.getName()!= null && entityBlock.getType().equals("entity-block-parent-reference") && entityBlock.getEntity().equals(table.getName())) return entityBlock; } } return null; }