robin4002

Untitled

Oct 26th, 2013
235
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.List;
  2. import java.util.Random;
  3.  
  4. public class ahu
  5. {
  6.   public static final cv c = new cm("air");
  7.   private aaf a;
  8.   protected String d;
  9.   public static final ahy e = new ahy("stone", 1.0F, 1.0F);
  10.   public static final ahy f = new ahy("wood", 1.0F, 1.0F);
  11.   public static final ahy g = new ahy("gravel", 1.0F, 1.0F);
  12.   public static final ahy h = new ahy("grass", 1.0F, 1.0F);
  13.   public static final ahy i = new ahy("stone", 1.0F, 1.0F);
  14.   public static final ahy j = new ahy("stone", 1.0F, 1.5F);
  15.   public static final ahy k = new ahv("stone", 1.0F, 1.0F);
  16.  
  17.   public static final ahy l = new ahy("cloth", 1.0F, 1.0F);
  18.   public static final ahy m = new ahy("sand", 1.0F, 1.0F);
  19.   public static final ahy n = new ahy("snow", 1.0F, 1.0F);
  20.   public static final ahy o = new ahw("ladder", 1.0F, 1.0F);
  21.  
  22.   public static final ahy p = new ahx("anvil", 0.3F, 1.0F);
  23.   protected boolean q;
  24.   protected int r;
  25.   protected boolean s;
  26.   protected int t;
  27.   protected boolean u;
  28.   protected float v;
  29.   protected float w;
  30.   protected boolean x = true;
  31.   protected boolean y = true;
  32.   protected boolean z;
  33.   protected boolean A;
  34.   protected double B;
  35.   protected double C;
  36.   protected double D;
  37.   protected double E;
  38.   protected double F;
  39.   protected double G;
  40.   public ahy H = e;
  41.  
  42.   public float I = 1.0F;
  43.   protected final avf J;
  44.   public float K = 0.6F;
  45.   private String b;
  46.   protected ps L;
  47.  
  48.   public static int b(ahu paramahu)
  49.   {
  50.     return c.b(paramahu);
  51.   }
  52.  
  53.   public static ahu e(int paramInt) {
  54.     return (ahu)c.a(paramInt);
  55.   }
  56.  
  57.   public static ahu a(abn paramabn) {
  58.     return e(abn.b(paramabn));
  59.   }
  60.  
  61.   public static ahu b(String paramString)
  62.   {
  63.     if (c.b(paramString)) {
  64.       return (ahu)c.a(paramString);
  65.     }
  66.     try
  67.     {
  68.       return (ahu)c.a(Integer.parseInt(paramString));
  69.     }
  70.     catch (NumberFormatException localNumberFormatException) {
  71.     }
  72.     return null;
  73.   }
  74.  
  75.   public boolean j()
  76.   {
  77.     return this.q;
  78.   }
  79.  
  80.   public int k() {
  81.     return this.r;
  82.   }
  83.  
  84.   public boolean l() {
  85.     return this.s;
  86.   }
  87.  
  88.   public int m() {
  89.     return this.t;
  90.   }
  91.  
  92.   public boolean n() {
  93.     return this.u;
  94.   }
  95.  
  96.   public avf o() {
  97.     return this.J;
  98.   }
  99.  
  100.   public avh f(int paramInt) {
  101.     return o().r();
  102.   }
  103.  
  104.   public static void p()
  105.   {
  106.     c.a(0, "air", new ahm().c("air"));
  107.     c.a(1, "stone", new amh().c(1.5F).b(10.0F).a(i).c("stone").d("stone"));
  108.     c.a(2, "grass", new ajt().c(0.6F).a(h).c("grass").d("grass"));
  109.     c.a(3, "dirt", new aix().c(0.5F).a(g).c("dirt").d("dirt"));
  110.     ahu localahu1 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("stonebrick").a(aaf.b).d("cobblestone");
  111.     c.a(4, "cobblestone", localahu1);
  112.     ahu localahu2 = new amy().c(2.0F).b(5.0F).a(f).c("wood").d("planks");
  113.     c.a(5, "planks", localahu2);
  114.     c.a(6, "sapling", new alv().c(0.0F).a(h).c("sapling").d("sapling"));
  115.     c.a(7, "bedrock", new ahu(avf.e).s().b(6000000.0F).a(i).c("bedrock").H().a(aaf.b).d("bedrock"));
  116.     c.a(8, "flowing_water", new ajd(avf.h).c(100.0F).g(3).c("water").H().d("water_flow"));
  117.     c.a(9, "water", new amf(avf.h).c(100.0F).g(3).c("water").H().d("water_still"));
  118.     c.a(10, "flowing_lava", new ajd(avf.i).c(100.0F).a(1.0F).c("lava").H().d("lava_flow"));
  119.     c.a(11, "lava", new amf(avf.i).c(100.0F).a(1.0F).c("lava").H().d("lava_still"));
  120.     c.a(12, "sand", new alt().c(0.5F).a(m).c("sand").d("sand"));
  121.     c.a(13, "gravel", new aju().c(0.6F).a(g).c("gravel").d("gravel"));
  122.     c.a(14, "gold_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreGold").d("gold_ore"));
  123.     c.a(15, "iron_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreIron").d("iron_ore"));
  124.     c.a(16, "coal_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreCoal").d("coal_ore"));
  125.     c.a(17, "log", new aky().c("log").d("log"));
  126.     c.a(18, "leaves", new akx().c("leaves").d("leaves"));
  127.     c.a(19, "sponge", new amb().c(0.6F).a(h).c("sponge").d("sponge"));
  128.     c.a(20, "glass", new ajr(avf.s, false).c(0.3F).a(k).c("glass").d("glass"));
  129.     c.a(21, "lapis_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreLapis").d("lapis_ore"));
  130.     c.a(22, "lapis_block", new akl(avh.H).c(3.0F).b(5.0F).a(i).c("blockLapis").a(aaf.b).d("lapis_block"));
  131.     c.a(23, "dispenser", new aiy().c(3.5F).a(i).c("dispenser").d("dispenser"));
  132.     ahu localahu3 = new alu().a(i).c(0.8F).c("sandStone").d("sandstone");
  133.     c.a(24, "sandstone", localahu3);
  134.     c.a(25, "noteblock", new akv().c(0.8F).c("musicBlock").d("noteblock"));
  135.     c.a(26, "bed", new aht().c(0.2F).c("bed").H().d("bed"));
  136.     c.a(27, "golden_rail", new alf().c(0.7F).a(j).c("goldenRail").d("rail_golden"));
  137.     c.a(28, "detector_rail", new aiu().c(0.7F).a(j).c("detectorRail").d("rail_detector"));
  138.     c.a(29, "sticky_piston", new aob(true).c("pistonStickyBase"));
  139.     c.a(30, "web", new amw().g(1).c(4.0F).c("web").d("web"));
  140.     c.a(31, "tallgrass", new aml().c(0.0F).a(h).c("tallgrass"));
  141.     c.a(32, "deadbush", new ait().c(0.0F).a(h).c("deadbush").d("deadbush"));
  142.     c.a(33, "piston", new aob(false).c("pistonBase"));
  143.     c.a(34, "piston_head", new aoc());
  144.     c.a(35, "wool", new aim(avf.n).c(0.8F).a(l).c("cloth").d("wool_colored"));
  145.     c.a(36, "piston_extension", new aod());
  146.     c.a(37, "yellow_flower", new ajo(0).c(0.0F).a(h).c("flower1").d("flower_dandelion"));
  147.     c.a(38, "red_flower", new ajo(1).c(0.0F).a(h).c("flower2").d("flower_rose"));
  148.     c.a(39, "brown_mushroom", new ako().c(0.0F).a(h).a(0.125F).c("mushroom").d("mushroom_brown"));
  149.     c.a(40, "red_mushroom", new ako().c(0.0F).a(h).c("mushroom").d("mushroom_red"));
  150.     c.a(41, "gold_block", new akl(avh.F).c(3.0F).b(10.0F).a(j).c("blockGold").d("gold_block"));
  151.     c.a(42, "iron_block", new akl(avh.h).c(5.0F).b(10.0F).a(j).c("blockIron").d("iron_block"));
  152.     c.a(43, "double_stone_slab", new amk(true).c(2.0F).b(10.0F).a(i).c("stoneSlab"));
  153.     c.a(44, "stone_slab", new amk(false).c(2.0F).b(10.0F).a(i).c("stoneSlab"));
  154.     ahu localahu4 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("brick").a(aaf.b).d("brick");
  155.     c.a(45, "brick_block", localahu4);
  156.     c.a(46, "tnt", new amn().c(0.0F).a(h).c("tnt").d("tnt"));
  157.     c.a(47, "bookshelf", new aib().c(1.5F).a(f).c("bookshelf").d("bookshelf"));
  158.     c.a(48, "mossy_cobblestone", new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("stoneMoss").a(aaf.b).d("cobblestone_mossy"));
  159.     c.a(49, "obsidian", new akw().c(50.0F).b(2000.0F).a(i).c("obsidian").d("obsidian"));
  160.     c.a(50, "torch", new amo().c(0.0F).a(0.9375F).a(f).c("torch").d("torch_on"));
  161.     c.a(51, "fire", new ajn().c(0.0F).a(1.0F).a(f).c("fire").H().d("fire"));
  162.     c.a(52, "mob_spawner", new akm().c(5.0F).a(j).c("mobSpawner").H().d("mob_spawner"));
  163.     c.a(53, "oak_stairs", new ame(localahu2, 0).c("stairsWood"));
  164.     c.a(54, "chest", new aij(0).c(2.5F).a(f).c("chest"));
  165.     c.a(55, "redstone_wire", new alm().c(0.0F).a(e).c("redstoneDust").H().d("redstone_dust"));
  166.     c.a(56, "diamond_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreDiamond").d("diamond_ore"));
  167.     c.a(57, "diamond_block", new akl(avh.G).c(5.0F).b(10.0F).a(j).c("blockDiamond").d("diamond_block"));
  168.     c.a(58, "crafting_table", new aiq().c(2.5F).a(f).c("workbench").d("crafting_table"));
  169.     c.a(59, "wheat", new air().c("crops").d("wheat"));
  170.     ahu localahu5 = new ajk().c(0.6F).a(g).c("farmland").d("farmland");
  171.     c.a(60, "farmland", localahu5);
  172.     c.a(61, "furnace", new ajq(false).c(3.5F).a(i).c("furnace").a(aaf.c));
  173.     c.a(62, "lit_furnace", new ajq(true).c(3.5F).a(i).a(0.875F).c("furnace"));
  174.     c.a(63, "standing_sign", new alw(any.class, true).c(1.0F).a(f).c("sign").H());
  175.     c.a(64, "wooden_door", new aiz(avf.d).c(3.0F).a(f).c("doorWood").H().d("door_wood"));
  176.     c.a(65, "ladder", new ake().c(0.4F).a(o).c("ladder").d("ladder"));
  177.     c.a(66, "rail", new alk().c(0.7F).a(j).c("rail").d("rail_normal"));
  178.     c.a(67, "stone_stairs", new ame(localahu1, 0).c("stairsStone"));
  179.     c.a(68, "wall_sign", new alw(any.class, false).c(1.0F).a(f).c("sign").H());
  180.     c.a(69, "lever", new akh().c(0.5F).a(f).c("lever").d("lever"));
  181.     c.a(70, "stone_pressure_plate", new alg("stone", avf.e, alh.b).c(0.5F).a(i).c("pressurePlate"));
  182.     c.a(71, "iron_door", new aiz(avf.f).c(5.0F).a(j).c("doorIron").H().d("door_iron"));
  183.     c.a(72, "wooden_pressure_plate", new alg("planks_oak", avf.d, alh.a).c(0.5F).a(f).c("pressurePlate"));
  184.     c.a(73, "redstone_ore", new all(false).c(3.0F).b(5.0F).a(i).c("oreRedstone").a(aaf.b).d("redstone_ore"));
  185.     c.a(74, "lit_redstone_ore", new all(true).a(0.625F).c(3.0F).b(5.0F).a(i).c("oreRedstone").d("redstone_ore"));
  186.     c.a(75, "unlit_redstone_torch", new alo(false).c(0.0F).a(f).c("notGate").d("redstone_torch_off"));
  187.     c.a(76, "redstone_torch", new alo(true).c(0.0F).a(0.5F).a(f).c("notGate").a(aaf.d).d("redstone_torch_on"));
  188.     c.a(77, "stone_button", new amj().c(0.5F).a(i).c("button"));
  189.     c.a(78, "snow_layer", new alz().c(0.1F).a(n).c("snow").g(0).d("snow"));
  190.     c.a(79, "ice", new akb().c(0.5F).g(3).a(k).c("ice").d("ice"));
  191.     c.a(80, "snow", new aly().c(0.2F).a(n).c("snow").d("snow"));
  192.     c.a(81, "cactus", new aif().c(0.4F).a(l).c("cactus").d("cactus"));
  193.     c.a(82, "clay", new aik().c(0.6F).a(g).c("clay").d("clay"));
  194.     c.a(83, "reeds", new alq().c(0.0F).a(h).c("reeds").H().d("reeds"));
  195.     c.a(84, "jukebox", new akc().c(2.0F).b(10.0F).a(i).c("jukebox").d("jukebox"));
  196.     c.a(85, "fence", new ajl("planks_oak", avf.d).c(2.0F).b(5.0F).a(f).c("fence"));
  197.     ahu localahu6 = new ali(false).c(1.0F).a(f).c("pumpkin").d("pumpkin");
  198.     c.a(86, "pumpkin", localahu6);
  199.     c.a(87, "netherrack", new aks().c(0.4F).a(i).c("hellrock").d("netherrack"));
  200.     c.a(88, "soul_sand", new ama().c(0.5F).a(m).c("hellsand").d("soul_sand"));
  201.     c.a(89, "glowstone", new ajs(avf.s).c(0.3F).a(k).a(1.0F).c("lightgem").d("glowstone"));
  202.     c.a(90, "portal", new alb().c(-1.0F).a(k).a(0.75F).c("portal").d("portal"));
  203.     c.a(91, "lit_pumpkin", new ali(true).c(1.0F).a(f).a(1.0F).c("litpumpkin").d("pumpkin"));
  204.     c.a(92, "cake", new aig().c(0.5F).a(l).c("cake").H().d("cake"));
  205.     c.a(93, "unpowered_repeater", new alr(false).c(0.0F).a(f).c("diode").H().d("repeater_off"));
  206.     c.a(94, "powered_repeater", new alr(true).c(0.0F).a(0.625F).a(f).c("diode").H().d("repeater_on"));
  207.     c.a(95, "stained_glass", new amc(avf.s).c(0.3F).a(k).c("stainedGlass").d("glass"));
  208.     c.a(96, "trapdoor", new amq(avf.d).c(3.0F).a(f).c("trapdoor").H().d("trapdoor"));
  209.     c.a(97, "monster_egg", new akn().c(0.75F).c("monsterStoneEgg"));
  210.     ahu localahu7 = new ami().c(1.5F).b(10.0F).a(i).c("stonebricksmooth").d("stonebrick");
  211.     c.a(98, "stonebrick", localahu7);
  212.     c.a(99, "brown_mushroom_block", new aka(avf.d, 0).c(0.2F).a(f).c("mushroom").d("mushroom_block"));
  213.     c.a(100, "red_mushroom_block", new aka(avf.d, 1).c(0.2F).a(f).c("mushroom").d("mushroom_block"));
  214.     c.a(101, "iron_bars", new amm("iron_bars", "iron_bars", avf.f, true).c(5.0F).b(10.0F).a(j).c("fenceIron"));
  215.     c.a(102, "glass_pane", new amm("glass", "glass_pane_top", avf.s, false).c(0.3F).a(k).c("thinGlass"));
  216.     ahu localahu8 = new akk().c(1.0F).a(f).c("melon").d("melon");
  217.     c.a(103, "melon_block", localahu8);
  218.     c.a(104, "pumpkin_stem", new amg(localahu6).c(0.0F).a(f).c("pumpkinStem").d("pumpkin_stem"));
  219.     c.a(105, "melon_stem", new amg(localahu8).c(0.0F).a(f).c("pumpkinStem").d("melon_stem"));
  220.     c.a(106, "vine", new amt().c(0.2F).a(h).c("vine").d("vine"));
  221.     c.a(107, "fence_gate", new ajm().c(2.0F).b(5.0F).a(f).c("fenceGate"));
  222.     c.a(108, "brick_stairs", new ame(localahu4, 0).c("stairsBrick"));
  223.     c.a(109, "stone_brick_stairs", new ame(localahu7, 0).c("stairsStoneBrickSmooth"));
  224.     c.a(110, "mycelium", new akp().c(0.6F).a(h).c("mycel").d("mycelium"));
  225.     c.a(111, "waterlily", new amv().c(0.0F).a(h).c("waterlily").d("waterlily"));
  226.     ahu localahu9 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("netherBrick").a(aaf.b).d("nether_brick");
  227.     c.a(112, "nether_brick", localahu9);
  228.     c.a(113, "nether_brick_fence", new ajl("nether_brick", avf.e).c(2.0F).b(10.0F).a(i).c("netherFence"));
  229.     c.a(114, "nether_brick_stairs", new ame(localahu9, 0).c("stairsNetherBrick"));
  230.     c.a(115, "nether_wart", new akr().c("netherStalk").d("nether_wart"));
  231.     c.a(116, "enchanting_table", new aje().c(5.0F).b(2000.0F).c("enchantmentTable").d("enchanting_table"));
  232.     c.a(117, "brewing_stand", new aic().c(0.5F).a(0.125F).c("brewingStand").d("brewing_stand"));
  233.     c.a(118, "cauldron", new aii().c(2.0F).c("cauldron").d("cauldron"));
  234.     c.a(119, "end_portal", new ajf(avf.E).c(-1.0F).b(6000000.0F));
  235.     c.a(120, "end_portal_frame", new ajg().a(k).a(0.125F).c(-1.0F).c("endPortalFrame").b(6000000.0F).a(aaf.c).d("endframe"));
  236.     c.a(121, "end_stone", new ahu(avf.e).c(3.0F).b(15.0F).a(i).c("whiteStone").a(aaf.b).d("end_stone"));
  237.     c.a(122, "dragon_egg", new ajb().c(3.0F).b(15.0F).a(i).a(0.125F).c("dragonEgg").d("dragon_egg"));
  238.     c.a(123, "redstone_lamp", new aln(false).c(0.3F).a(k).c("redstoneLight").a(aaf.d).d("redstone_lamp_off"));
  239.     c.a(124, "lit_redstone_lamp", new aln(true).c(0.3F).a(k).c("redstoneLight").d("redstone_lamp_on"));
  240.     c.a(125, "double_wooden_slab", new ana(true).c(2.0F).b(5.0F).a(f).c("woodSlab"));
  241.     c.a(126, "wooden_slab", new ana(false).c(2.0F).b(5.0F).a(f).c("woodSlab"));
  242.     c.a(127, "cocoa", new ail().c(0.2F).b(5.0F).a(f).c("cocoa").d("cocoa"));
  243.     c.a(128, "sandstone_stairs", new ame(localahu3, 0).c("stairsSandStone"));
  244.     c.a(129, "emerald_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreEmerald").d("emerald_ore"));
  245.     c.a(130, "ender_chest", new ajh().c(22.5F).b(1000.0F).a(i).c("enderChest").a(0.5F));
  246.     c.a(131, "tripwire_hook", new ams().c("tripWireSource").d("trip_wire_source"));
  247.     c.a(132, "tripwire", new amr().c("tripWire").d("trip_wire"));
  248.     c.a(133, "emerald_block", new akl(avh.I).c(5.0F).b(10.0F).a(j).c("blockEmerald").d("emerald_block"));
  249.     c.a(134, "spruce_stairs", new ame(localahu2, 1).c("stairsWoodSpruce"));
  250.     c.a(135, "birch_stairs", new ame(localahu2, 2).c("stairsWoodBirch"));
  251.     c.a(136, "jungle_stairs", new ame(localahu2, 3).c("stairsWoodJungle"));
  252.     c.a(137, "command_block", new ain().s().b(6000000.0F).c("commandBlock").d("command_block"));
  253.     c.a(138, "beacon", new ahs().c("beacon").a(1.0F).d("beacon"));
  254.     c.a(139, "cobblestone_wall", new amu(localahu1).c("cobbleWall"));
  255.     c.a(140, "flower_pot", new ajp().c(0.0F).a(e).c("flowerPot").d("flower_pot"));
  256.     c.a(141, "carrots", new aih().c("carrots").d("carrots"));
  257.     c.a(142, "potatoes", new ald().c("potatoes").d("potatoes"));
  258.     c.a(143, "wooden_button", new amz().c(0.5F).a(f).c("button"));
  259.     c.a(144, "skull", new alx().c(1.0F).a(i).c("skull").d("skull"));
  260.     c.a(145, "anvil", new ahn().c(5.0F).a(p).b(2000.0F).c("anvil"));
  261.     c.a(146, "trapped_chest", new aij(1).c(2.5F).a(f).c("chestTrap"));
  262.     c.a(147, "light_weighted_pressure_plate", new amx("gold_block", avf.f, 15).c(0.5F).a(f).c("weightedPlate_light"));
  263.     c.a(148, "heavy_weighted_pressure_plate", new amx("iron_block", avf.f, 150).c(0.5F).a(f).c("weightedPlate_heavy"));
  264.     c.a(149, "unpowered_comparator", new aio(false).c(0.0F).a(f).c("comparator").H().d("comparator_off"));
  265.     c.a(150, "powered_comparator", new aio(true).c(0.0F).a(0.625F).a(f).c("comparator").H().d("comparator_on"));
  266.     c.a(151, "daylight_detector", new ais().c(0.2F).a(f).c("daylightDetector").d("daylight_detector"));
  267.     c.a(152, "redstone_block", new ale(avh.f).c(5.0F).b(10.0F).a(j).c("blockRedstone").d("redstone_block"));
  268.     c.a(153, "quartz_ore", new akz().c(3.0F).b(5.0F).a(i).c("netherquartz").d("quartz_ore"));
  269.     c.a(154, "hopper", new ajz().c(3.0F).b(8.0F).a(f).c("hopper").d("hopper"));
  270.     ahu localahu10 = new alj().a(i).c(0.8F).c("quartzBlock").d("quartz_block");
  271.     c.a(155, "quartz_block", localahu10);
  272.     c.a(156, "quartz_stairs", new ame(localahu10, 0).c("stairsQuartz"));
  273.     c.a(157, "activator_rail", new alf().c(0.7F).a(j).c("activatorRail").d("rail_activator"));
  274.     c.a(158, "dropper", new ajc().c(3.5F).a(i).c("dropper").d("dropper"));
  275.     c.a(159, "stained_hardened_clay", new aim(avf.e).c(1.25F).b(7.0F).a(i).c("clayHardenedStained").d("hardened_clay_stained"));
  276.     c.a(160, "stained_glass_pane", new amd().c(0.3F).a(k).c("thinStainedGlass").d("glass"));
  277.     c.a(161, "leaves2", new akt().c("leaves").d("leaves"));
  278.     c.a(162, "log2", new aku().c("log").d("log"));
  279.     c.a(163, "acacia_stairs", new ame(localahu2, 4).c("stairsWoodAcacia"));
  280.     c.a(164, "dark_oak_stairs", new ame(localahu2, 5).c("stairsWoodDarkOak"));
  281.  
  282.     c.a(170, "hay_block", new ajy().c(0.5F).a(h).c("hayBlock").a(aaf.b).d("hay_block"));
  283.     c.a(171, "carpet", new anb().c(0.1F).a(l).c("woolCarpet").g(0));
  284.     c.a(172, "hardened_clay", new ajx().c(1.25F).b(7.0F).a(i).c("clayHardened").d("hardened_clay"));
  285.     c.a(173, "coal_block", new ahu(avf.e).c(5.0F).b(10.0F).a(i).c("blockCoal").a(aaf.b).d("coal_block"));
  286.     c.a(174, "packed_ice", new ala().c(0.5F).a(k).c("icePacked").d("ice_packed"));
  287.     c.a(175, "double_plant", new aja());
  288.  
  289.     for (ahu localahu11 : c)
  290.       if (localahu11.J == avf.a) {
  291.         localahu11.u = false;
  292.       }
  293.       else
  294.       {
  295.         boolean bool1 = false;
  296.         int i1 = localahu11.b() == 10 ? 1 : 0;
  297.         boolean bool2 = localahu11 instanceof ajv;
  298.         int i2 = localahu11 == localahu5 ? 1 : 0;
  299.         boolean bool3 = localahu11.s;
  300.         int i3 = localahu11.r == 0 ? 1 : 0;
  301.         if ((i1 != 0) || (bool2) || (i2 != 0) || (bool3) || (i3 != 0)) {
  302.           bool1 = true;
  303.         }
  304.  
  305.         localahu11.u = bool1;
  306.       }
  307.   }
  308.  
  309.   protected ahu(avf paramavf)
  310.   {
  311.     this.J = paramavf;
  312.     a(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
  313.     this.q = c();
  314.     this.r = (c() ? 255 : 0);
  315.     this.s = (!paramavf.b());
  316.   }
  317.  
  318.   protected ahu a(ahy paramahy) {
  319.     this.H = paramahy;
  320.     return this;
  321.   }
  322.  
  323.   protected ahu g(int paramInt) {
  324.     this.r = paramInt;
  325.     return this;
  326.   }
  327.  
  328.   protected ahu a(float paramFloat) {
  329.     this.t = ((int)(15.0F * paramFloat));
  330.     return this;
  331.   }
  332.  
  333.   protected ahu b(float paramFloat) {
  334.     this.w = (paramFloat * 3.0F);
  335.     return this;
  336.   }
  337.  
  338.   public boolean q()
  339.   {
  340.     return (this.J.c()) && (d());
  341.   }
  342.  
  343.   public boolean r() {
  344.     return (this.J.k()) && (d()) && (!f());
  345.   }
  346.  
  347.   public boolean d() {
  348.     return true;
  349.   }
  350.  
  351.   public boolean b(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
  352.     return !this.J.c();
  353.   }
  354.  
  355.   public int b() {
  356.     return 0;
  357.   }
  358.  
  359.   protected ahu c(float paramFloat) {
  360.     this.v = paramFloat;
  361.     if (this.w < paramFloat * 5.0F) this.w = (paramFloat * 5.0F);
  362.     return this;
  363.   }
  364.  
  365.   protected ahu s() {
  366.     c(-1.0F);
  367.     return this;
  368.   }
  369.  
  370.   public float f(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  371.     return this.v;
  372.   }
  373.  
  374.   protected ahu a(boolean paramBoolean) {
  375.     this.z = paramBoolean;
  376.     return this;
  377.   }
  378.  
  379.   public boolean t() {
  380.     return this.z;
  381.   }
  382.  
  383.   public boolean u() {
  384.     return this.A;
  385.   }
  386.  
  387.   protected final void a(float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float paramFloat5, float paramFloat6) {
  388.     this.B = paramFloat1;
  389.     this.C = paramFloat2;
  390.     this.D = paramFloat3;
  391.     this.E = paramFloat4;
  392.     this.F = paramFloat5;
  393.     this.G = paramFloat6;
  394.   }
  395.  
  396.   public int c(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
  397.     ahu localahu = paramafx.a(paramInt1, paramInt2, paramInt3);
  398.     int i1 = paramafx.c(paramInt1, paramInt2, paramInt3, localahu.m());
  399.  
  400.     if ((i1 == 0) && ((localahu instanceof ajv))) {
  401.       paramInt2--;
  402.       localahu = paramafx.a(paramInt1, paramInt2, paramInt3);
  403.       return paramafx.c(paramInt1, paramInt2, paramInt3, localahu.m());
  404.     }
  405.     return i1;
  406.   }
  407.  
  408.   public boolean a(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  409.     if ((paramInt4 == 0) && (this.C > 0.0D)) return true;
  410.     if ((paramInt4 == 1) && (this.F < 1.0D)) return true;
  411.     if ((paramInt4 == 2) && (this.D > 0.0D)) return true;
  412.     if ((paramInt4 == 3) && (this.G < 1.0D)) return true;
  413.     if ((paramInt4 == 4) && (this.B > 0.0D)) return true;
  414.     if ((paramInt4 == 5) && (this.E < 1.0D)) return true;
  415.     return !paramafx.a(paramInt1, paramInt2, paramInt3).c();
  416.   }
  417.  
  418.   public boolean d(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  419.   {
  420.     return paramafx.a(paramInt1, paramInt2, paramInt3).o().a();
  421.   }
  422.  
  423.   public ps e(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  424.     return a(paramInt4, paramafx.e(paramInt1, paramInt2, paramInt3));
  425.   }
  426.  
  427.   public ps a(int paramInt1, int paramInt2) {
  428.     return this.L;
  429.   }
  430.  
  431.   public final ps h(int paramInt) {
  432.     return a(paramInt, 0);
  433.   }
  434.  
  435.   public ayf g(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  436.     return ayf.a().a(paramInt1 + this.B, paramInt2 + this.C, paramInt3 + this.D, paramInt1 + this.E, paramInt2 + this.F, paramInt3 + this.G);
  437.   }
  438.  
  439.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ayf paramayf, List paramList, qn paramqn) {
  440.     ayf localayf = a(paramafn, paramInt1, paramInt2, paramInt3);
  441.     if ((localayf != null) && (paramayf.b(localayf))) paramList.add(localayf);
  442.   }
  443.  
  444.   public ayf a(afn paramafn, int paramInt1, int paramInt2, int paramInt3)
  445.   {
  446.     return ayf.a().a(paramInt1 + this.B, paramInt2 + this.C, paramInt3 + this.D, paramInt1 + this.E, paramInt2 + this.F, paramInt3 + this.G);
  447.   }
  448.  
  449.   public boolean c() {
  450.     return true;
  451.   }
  452.  
  453.   public boolean a(int paramInt, boolean paramBoolean) {
  454.     return v();
  455.   }
  456.  
  457.   public boolean v() {
  458.     return true;
  459.   }
  460.  
  461.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, Random paramRandom)
  462.   {
  463.   }
  464.  
  465.   public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, Random paramRandom)
  466.   {
  467.   }
  468.  
  469.   public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  470.   {
  471.   }
  472.  
  473.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ahu paramahu) {
  474.   }
  475.  
  476.   public int a(afn paramafn) {
  477.     return 10;
  478.   }
  479.  
  480.   public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  481.   }
  482.  
  483.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ahu paramahu, int paramInt4) {
  484.   }
  485.  
  486.   public int a(Random paramRandom) {
  487.     return 1;
  488.   }
  489.  
  490.   public abn a(int paramInt1, Random paramRandom, int paramInt2) {
  491.     return abn.a(this);
  492.   }
  493.  
  494.   public float a(xl paramxl, afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  495.     float f1 = f(paramafn, paramInt1, paramInt2, paramInt3);
  496.     if (f1 < 0.0F) return 0.0F;
  497.     if (!paramxl.a(this)) {
  498.       return paramxl.a(this, false) / f1 / 100.0F;
  499.     }
  500.     return paramxl.a(this, true) / f1 / 30.0F;
  501.   }
  502.  
  503.   public final void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
  504.     a(paramafn, paramInt1, paramInt2, paramInt3, paramInt4, 1.0F, paramInt5);
  505.   }
  506.  
  507.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, float paramFloat, int paramInt5) {
  508.     if (paramafn.E) return;
  509.     int i1 = a(paramInt5, paramafn.s);
  510.     for (int i2 = 0; i2 < i1; i2++)
  511.       if (paramafn.s.nextFloat() <= paramFloat) {
  512.         abn localabn = a(paramInt4, paramafn.s, paramInt5);
  513.         if (localabn != null)
  514.         {
  515.           a(paramafn, paramInt1, paramInt2, paramInt3, new abp(localabn, 1, a(paramInt4)));
  516.         }
  517.       }
  518.   }
  519.  
  520.   protected void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, abp paramabp) { if ((paramafn.E) || (!paramafn.N().b("doTileDrops"))) return;
  521.  
  522.     float f1 = 0.7F;
  523.     double d1 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
  524.     double d2 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
  525.     double d3 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
  526.     vw localvw = new vw(paramafn, paramInt1 + d1, paramInt2 + d2, paramInt3 + d3, paramabp);
  527.     localvw.b = 10;
  528.     paramafn.d(localvw); }
  529.  
  530.   protected void c(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  531.   {
  532.     if (!paramafn.E)
  533.       while (paramInt4 > 0) {
  534.         int i1 = rc.a(paramInt4);
  535.         paramInt4 -= i1;
  536.         paramafn.d(new rc(paramafn, paramInt1 + 0.5D, paramInt2 + 0.5D, paramInt3 + 0.5D, i1));
  537.       }
  538.   }
  539.  
  540.   public int a(int paramInt)
  541.   {
  542.     return 0;
  543.   }
  544.  
  545.   public float a(qn paramqn) {
  546.     return this.w / 5.0F;
  547.   }
  548.  
  549.   public ayi a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ayk paramayk1, ayk paramayk2) {
  550.     a(paramafn, paramInt1, paramInt2, paramInt3);
  551.  
  552.     paramayk1 = paramayk1.c(-paramInt1, -paramInt2, -paramInt3);
  553.     paramayk2 = paramayk2.c(-paramInt1, -paramInt2, -paramInt3);
  554.  
  555.     ayk localayk1 = paramayk1.b(paramayk2, this.B);
  556.     ayk localayk2 = paramayk1.b(paramayk2, this.E);
  557.  
  558.     ayk localayk3 = paramayk1.c(paramayk2, this.C);
  559.     ayk localayk4 = paramayk1.c(paramayk2, this.F);
  560.  
  561.     ayk localayk5 = paramayk1.d(paramayk2, this.D);
  562.     ayk localayk6 = paramayk1.d(paramayk2, this.G);
  563.  
  564.     if (!a(localayk1)) localayk1 = null;
  565.     if (!a(localayk2)) localayk2 = null;
  566.     if (!b(localayk3)) localayk3 = null;
  567.     if (!b(localayk4)) localayk4 = null;
  568.     if (!c(localayk5)) localayk5 = null;
  569.     if (!c(localayk6)) localayk6 = null;
  570.  
  571.     ayk localayk7 = null;
  572.  
  573.     if ((localayk1 != null) && ((localayk7 == null) || (paramayk1.e(localayk1) < paramayk1.e(localayk7)))) localayk7 = localayk1;
  574.     if ((localayk2 != null) && ((localayk7 == null) || (paramayk1.e(localayk2) < paramayk1.e(localayk7)))) localayk7 = localayk2;
  575.     if ((localayk3 != null) && ((localayk7 == null) || (paramayk1.e(localayk3) < paramayk1.e(localayk7)))) localayk7 = localayk3;
  576.     if ((localayk4 != null) && ((localayk7 == null) || (paramayk1.e(localayk4) < paramayk1.e(localayk7)))) localayk7 = localayk4;
  577.     if ((localayk5 != null) && ((localayk7 == null) || (paramayk1.e(localayk5) < paramayk1.e(localayk7)))) localayk7 = localayk5;
  578.     if ((localayk6 != null) && ((localayk7 == null) || (paramayk1.e(localayk6) < paramayk1.e(localayk7)))) localayk7 = localayk6;
  579.  
  580.     if (localayk7 == null) return null;
  581.  
  582.     int i1 = -1;
  583.  
  584.     if (localayk7 == localayk1) i1 = 4;
  585.     if (localayk7 == localayk2) i1 = 5;
  586.     if (localayk7 == localayk3) i1 = 0;
  587.     if (localayk7 == localayk4) i1 = 1;
  588.     if (localayk7 == localayk5) i1 = 2;
  589.     if (localayk7 == localayk6) i1 = 3;
  590.  
  591.     return new ayi(paramInt1, paramInt2, paramInt3, i1, localayk7.c(paramInt1, paramInt2, paramInt3));
  592.   }
  593.  
  594.   private boolean a(ayk paramayk) {
  595.     if (paramayk == null) return false;
  596.     return (paramayk.d >= this.C) && (paramayk.d <= this.F) && (paramayk.e >= this.D) && (paramayk.e <= this.G);
  597.   }
  598.  
  599.   private boolean b(ayk paramayk) {
  600.     if (paramayk == null) return false;
  601.     return (paramayk.c >= this.B) && (paramayk.c <= this.E) && (paramayk.e >= this.D) && (paramayk.e <= this.G);
  602.   }
  603.  
  604.   private boolean c(ayk paramayk) {
  605.     if (paramayk == null) return false;
  606.     return (paramayk.c >= this.B) && (paramayk.c <= this.E) && (paramayk.d >= this.C) && (paramayk.d <= this.F);
  607.   }
  608.  
  609.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, afi paramafi) {
  610.   }
  611.  
  612.   public int w() {
  613.     return 0;
  614.   }
  615.  
  616.   public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, abp paramabp) {
  617.     return d(paramafn, paramInt1, paramInt2, paramInt3, paramInt4);
  618.   }
  619.  
  620.   public boolean d(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  621.     return c(paramafn, paramInt1, paramInt2, paramInt3);
  622.   }
  623.  
  624.   public boolean c(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  625.     return paramafn.a(paramInt1, paramInt2, paramInt3).J.j();
  626.   }
  627.  
  628.   public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, xl paramxl, int paramInt4, float paramFloat1, float paramFloat2, float paramFloat3) {
  629.     return false;
  630.   }
  631.  
  632.   public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn) {
  633.   }
  634.  
  635.   public int a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, float paramFloat1, float paramFloat2, float paramFloat3, int paramInt5) {
  636.     return paramInt5;
  637.   }
  638.  
  639.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, xl paramxl)
  640.   {
  641.   }
  642.  
  643.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn, ayk paramayk)
  644.   {
  645.   }
  646.  
  647.   public void a(afx paramafx, int paramInt1, int paramInt2, int paramInt3)
  648.   {
  649.   }
  650.  
  651.   public final double x() {
  652.     return this.B;
  653.   }
  654.  
  655.   public final double y() {
  656.     return this.E;
  657.   }
  658.  
  659.   public final double z() {
  660.     return this.C;
  661.   }
  662.  
  663.   public final double A() {
  664.     return this.F;
  665.   }
  666.  
  667.   public final double B() {
  668.     return this.D;
  669.   }
  670.  
  671.   public final double C() {
  672.     return this.G;
  673.   }
  674.  
  675.   public int D() {
  676.     return 16777215;
  677.   }
  678.  
  679.   public int i(int paramInt) {
  680.     return 16777215;
  681.   }
  682.  
  683.   public int d(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
  684.     return 16777215;
  685.   }
  686.  
  687.   public int b(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  688.     return 0;
  689.   }
  690.  
  691.   public boolean f() {
  692.     return false;
  693.   }
  694.  
  695.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn) {
  696.   }
  697.  
  698.   public int c(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  699.     return 0;
  700.   }
  701.  
  702.   public void g() {
  703.   }
  704.  
  705.   public void a(afn paramafn, xl paramxl, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  706.     paramxl.a(od.C[b(this)], 1);
  707.     paramxl.a(0.025F);
  708.  
  709.     if ((E()) && (aeh.e(paramxl))) {
  710.       abp localabp = j(paramInt4);
  711.       if (localabp != null)
  712.         a(paramafn, paramInt1, paramInt2, paramInt3, localabp);
  713.     }
  714.     else {
  715.       int i1 = aeh.f(paramxl);
  716.       b(paramafn, paramInt1, paramInt2, paramInt3, paramInt4, i1);
  717.     }
  718.   }
  719.  
  720.   protected boolean E() {
  721.     return (d()) && (!this.A);
  722.   }
  723.  
  724.   protected abp j(int paramInt) {
  725.     int i1 = 0;
  726.     abn localabn = abn.a(this);
  727.     if ((localabn != null) && (localabn.n())) {
  728.       i1 = paramInt;
  729.     }
  730.     return new abp(localabn, 1, i1);
  731.   }
  732.  
  733.   public int a(int paramInt, Random paramRandom) {
  734.     return a(paramRandom);
  735.   }
  736.  
  737.   public boolean j(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  738.     return true;
  739.   }
  740.  
  741.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, rh paramrh, abp paramabp)
  742.   {
  743.   }
  744.  
  745.   public void e(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  746.   }
  747.  
  748.   public ahu c(String paramString) {
  749.     this.b = paramString;
  750.     return this;
  751.   }
  752.  
  753.   public String F() {
  754.     return dc.a(a() + ".name");
  755.   }
  756.  
  757.   public String a()
  758.   {
  759.     return "tile." + this.b;
  760.   }
  761.  
  762.   public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
  763.     return false;
  764.   }
  765.  
  766.   public boolean G() {
  767.     return this.y;
  768.   }
  769.  
  770.   protected ahu H() {
  771.     this.y = false;
  772.     return this;
  773.   }
  774.  
  775.   public int h() {
  776.     return this.J.m();
  777.   }
  778.  
  779.   public float I() {
  780.     return q() ? 0.2F : 1.0F;
  781.   }
  782.  
  783.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn, float paramFloat) {
  784.   }
  785.  
  786.   public abn d(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  787.     return abn.a(this);
  788.   }
  789.  
  790.   public int k(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
  791.     return a(paramafn.e(paramInt1, paramInt2, paramInt3));
  792.   }
  793.  
  794.   public void a(abn paramabn, aaf paramaaf, List paramList) {
  795.     paramList.add(new abp(paramabn, 1, 0));
  796.   }
  797.  
  798.   public aaf J() {
  799.     return this.a;
  800.   }
  801.  
  802.   public ahu a(aaf paramaaf) {
  803.     this.a = paramaaf;
  804.     return this;
  805.   }
  806.  
  807.   public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, xl paramxl)
  808.   {
  809.   }
  810.  
  811.   public void f(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  812.   {
  813.   }
  814.  
  815.   public void l(afn paramafn, int paramInt1, int paramInt2, int paramInt3)
  816.   {
  817.   }
  818.  
  819.   public boolean K() {
  820.     return false;
  821.   }
  822.  
  823.   public boolean L() {
  824.     return true;
  825.   }
  826.  
  827.   public boolean a(afi paramafi) {
  828.     return true;
  829.   }
  830.  
  831.   public boolean c(ahu paramahu) {
  832.     return this == paramahu;
  833.   }
  834.  
  835.   public static boolean a(ahu paramahu1, ahu paramahu2) {
  836.     if ((paramahu1 == null) || (paramahu2 == null)) {
  837.       return false;
  838.     }
  839.     if (paramahu1 == paramahu2) {
  840.       return true;
  841.     }
  842.     return paramahu1.c(paramahu2);
  843.   }
  844.  
  845.   public boolean M() {
  846.     return false;
  847.   }
  848.  
  849.   public int g(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  850.     return 0;
  851.   }
  852.  
  853.   protected ahu d(String paramString) {
  854.     this.d = paramString;
  855.     return this;
  856.   }
  857.  
  858.   protected String N() {
  859.     return this.d == null ? "MISSING_ICON_BLOCK_" + b(this) + "_" + this.b : this.d;
  860.   }
  861.  
  862.   public ps b(int paramInt1, int paramInt2) {
  863.     return a(paramInt1, paramInt2);
  864.   }
  865.  
  866.   public void a(pt parampt) {
  867.     this.L = parampt.a(N());
  868.   }
  869.  
  870.   public String O() {
  871.     return null;
  872.   }
  873. }
RAW Paste Data