Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.List;
- import java.util.Random;
- public class ahu
- {
- public static final cv c = new cm("air");
- private aaf a;
- protected String d;
- public static final ahy e = new ahy("stone", 1.0F, 1.0F);
- public static final ahy f = new ahy("wood", 1.0F, 1.0F);
- public static final ahy g = new ahy("gravel", 1.0F, 1.0F);
- public static final ahy h = new ahy("grass", 1.0F, 1.0F);
- public static final ahy i = new ahy("stone", 1.0F, 1.0F);
- public static final ahy j = new ahy("stone", 1.0F, 1.5F);
- public static final ahy k = new ahv("stone", 1.0F, 1.0F);
- public static final ahy l = new ahy("cloth", 1.0F, 1.0F);
- public static final ahy m = new ahy("sand", 1.0F, 1.0F);
- public static final ahy n = new ahy("snow", 1.0F, 1.0F);
- public static final ahy o = new ahw("ladder", 1.0F, 1.0F);
- public static final ahy p = new ahx("anvil", 0.3F, 1.0F);
- protected boolean q;
- protected int r;
- protected boolean s;
- protected int t;
- protected boolean u;
- protected float v;
- protected float w;
- protected boolean x = true;
- protected boolean y = true;
- protected boolean z;
- protected boolean A;
- protected double B;
- protected double C;
- protected double D;
- protected double E;
- protected double F;
- protected double G;
- public ahy H = e;
- public float I = 1.0F;
- protected final avf J;
- public float K = 0.6F;
- private String b;
- protected ps L;
- public static int b(ahu paramahu)
- {
- return c.b(paramahu);
- }
- public static ahu e(int paramInt) {
- return (ahu)c.a(paramInt);
- }
- public static ahu a(abn paramabn) {
- return e(abn.b(paramabn));
- }
- public static ahu b(String paramString)
- {
- if (c.b(paramString)) {
- return (ahu)c.a(paramString);
- }
- try
- {
- return (ahu)c.a(Integer.parseInt(paramString));
- }
- catch (NumberFormatException localNumberFormatException) {
- }
- return null;
- }
- public boolean j()
- {
- return this.q;
- }
- public int k() {
- return this.r;
- }
- public boolean l() {
- return this.s;
- }
- public int m() {
- return this.t;
- }
- public boolean n() {
- return this.u;
- }
- public avf o() {
- return this.J;
- }
- public avh f(int paramInt) {
- return o().r();
- }
- public static void p()
- {
- c.a(0, "air", new ahm().c("air"));
- c.a(1, "stone", new amh().c(1.5F).b(10.0F).a(i).c("stone").d("stone"));
- c.a(2, "grass", new ajt().c(0.6F).a(h).c("grass").d("grass"));
- c.a(3, "dirt", new aix().c(0.5F).a(g).c("dirt").d("dirt"));
- ahu localahu1 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("stonebrick").a(aaf.b).d("cobblestone");
- c.a(4, "cobblestone", localahu1);
- ahu localahu2 = new amy().c(2.0F).b(5.0F).a(f).c("wood").d("planks");
- c.a(5, "planks", localahu2);
- c.a(6, "sapling", new alv().c(0.0F).a(h).c("sapling").d("sapling"));
- c.a(7, "bedrock", new ahu(avf.e).s().b(6000000.0F).a(i).c("bedrock").H().a(aaf.b).d("bedrock"));
- c.a(8, "flowing_water", new ajd(avf.h).c(100.0F).g(3).c("water").H().d("water_flow"));
- c.a(9, "water", new amf(avf.h).c(100.0F).g(3).c("water").H().d("water_still"));
- c.a(10, "flowing_lava", new ajd(avf.i).c(100.0F).a(1.0F).c("lava").H().d("lava_flow"));
- c.a(11, "lava", new amf(avf.i).c(100.0F).a(1.0F).c("lava").H().d("lava_still"));
- c.a(12, "sand", new alt().c(0.5F).a(m).c("sand").d("sand"));
- c.a(13, "gravel", new aju().c(0.6F).a(g).c("gravel").d("gravel"));
- c.a(14, "gold_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreGold").d("gold_ore"));
- c.a(15, "iron_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreIron").d("iron_ore"));
- c.a(16, "coal_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreCoal").d("coal_ore"));
- c.a(17, "log", new aky().c("log").d("log"));
- c.a(18, "leaves", new akx().c("leaves").d("leaves"));
- c.a(19, "sponge", new amb().c(0.6F).a(h).c("sponge").d("sponge"));
- c.a(20, "glass", new ajr(avf.s, false).c(0.3F).a(k).c("glass").d("glass"));
- c.a(21, "lapis_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreLapis").d("lapis_ore"));
- 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"));
- c.a(23, "dispenser", new aiy().c(3.5F).a(i).c("dispenser").d("dispenser"));
- ahu localahu3 = new alu().a(i).c(0.8F).c("sandStone").d("sandstone");
- c.a(24, "sandstone", localahu3);
- c.a(25, "noteblock", new akv().c(0.8F).c("musicBlock").d("noteblock"));
- c.a(26, "bed", new aht().c(0.2F).c("bed").H().d("bed"));
- c.a(27, "golden_rail", new alf().c(0.7F).a(j).c("goldenRail").d("rail_golden"));
- c.a(28, "detector_rail", new aiu().c(0.7F).a(j).c("detectorRail").d("rail_detector"));
- c.a(29, "sticky_piston", new aob(true).c("pistonStickyBase"));
- c.a(30, "web", new amw().g(1).c(4.0F).c("web").d("web"));
- c.a(31, "tallgrass", new aml().c(0.0F).a(h).c("tallgrass"));
- c.a(32, "deadbush", new ait().c(0.0F).a(h).c("deadbush").d("deadbush"));
- c.a(33, "piston", new aob(false).c("pistonBase"));
- c.a(34, "piston_head", new aoc());
- c.a(35, "wool", new aim(avf.n).c(0.8F).a(l).c("cloth").d("wool_colored"));
- c.a(36, "piston_extension", new aod());
- c.a(37, "yellow_flower", new ajo(0).c(0.0F).a(h).c("flower1").d("flower_dandelion"));
- c.a(38, "red_flower", new ajo(1).c(0.0F).a(h).c("flower2").d("flower_rose"));
- c.a(39, "brown_mushroom", new ako().c(0.0F).a(h).a(0.125F).c("mushroom").d("mushroom_brown"));
- c.a(40, "red_mushroom", new ako().c(0.0F).a(h).c("mushroom").d("mushroom_red"));
- c.a(41, "gold_block", new akl(avh.F).c(3.0F).b(10.0F).a(j).c("blockGold").d("gold_block"));
- c.a(42, "iron_block", new akl(avh.h).c(5.0F).b(10.0F).a(j).c("blockIron").d("iron_block"));
- c.a(43, "double_stone_slab", new amk(true).c(2.0F).b(10.0F).a(i).c("stoneSlab"));
- c.a(44, "stone_slab", new amk(false).c(2.0F).b(10.0F).a(i).c("stoneSlab"));
- ahu localahu4 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("brick").a(aaf.b).d("brick");
- c.a(45, "brick_block", localahu4);
- c.a(46, "tnt", new amn().c(0.0F).a(h).c("tnt").d("tnt"));
- c.a(47, "bookshelf", new aib().c(1.5F).a(f).c("bookshelf").d("bookshelf"));
- 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"));
- c.a(49, "obsidian", new akw().c(50.0F).b(2000.0F).a(i).c("obsidian").d("obsidian"));
- c.a(50, "torch", new amo().c(0.0F).a(0.9375F).a(f).c("torch").d("torch_on"));
- c.a(51, "fire", new ajn().c(0.0F).a(1.0F).a(f).c("fire").H().d("fire"));
- c.a(52, "mob_spawner", new akm().c(5.0F).a(j).c("mobSpawner").H().d("mob_spawner"));
- c.a(53, "oak_stairs", new ame(localahu2, 0).c("stairsWood"));
- c.a(54, "chest", new aij(0).c(2.5F).a(f).c("chest"));
- c.a(55, "redstone_wire", new alm().c(0.0F).a(e).c("redstoneDust").H().d("redstone_dust"));
- c.a(56, "diamond_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreDiamond").d("diamond_ore"));
- c.a(57, "diamond_block", new akl(avh.G).c(5.0F).b(10.0F).a(j).c("blockDiamond").d("diamond_block"));
- c.a(58, "crafting_table", new aiq().c(2.5F).a(f).c("workbench").d("crafting_table"));
- c.a(59, "wheat", new air().c("crops").d("wheat"));
- ahu localahu5 = new ajk().c(0.6F).a(g).c("farmland").d("farmland");
- c.a(60, "farmland", localahu5);
- c.a(61, "furnace", new ajq(false).c(3.5F).a(i).c("furnace").a(aaf.c));
- c.a(62, "lit_furnace", new ajq(true).c(3.5F).a(i).a(0.875F).c("furnace"));
- c.a(63, "standing_sign", new alw(any.class, true).c(1.0F).a(f).c("sign").H());
- c.a(64, "wooden_door", new aiz(avf.d).c(3.0F).a(f).c("doorWood").H().d("door_wood"));
- c.a(65, "ladder", new ake().c(0.4F).a(o).c("ladder").d("ladder"));
- c.a(66, "rail", new alk().c(0.7F).a(j).c("rail").d("rail_normal"));
- c.a(67, "stone_stairs", new ame(localahu1, 0).c("stairsStone"));
- c.a(68, "wall_sign", new alw(any.class, false).c(1.0F).a(f).c("sign").H());
- c.a(69, "lever", new akh().c(0.5F).a(f).c("lever").d("lever"));
- c.a(70, "stone_pressure_plate", new alg("stone", avf.e, alh.b).c(0.5F).a(i).c("pressurePlate"));
- c.a(71, "iron_door", new aiz(avf.f).c(5.0F).a(j).c("doorIron").H().d("door_iron"));
- c.a(72, "wooden_pressure_plate", new alg("planks_oak", avf.d, alh.a).c(0.5F).a(f).c("pressurePlate"));
- c.a(73, "redstone_ore", new all(false).c(3.0F).b(5.0F).a(i).c("oreRedstone").a(aaf.b).d("redstone_ore"));
- 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"));
- c.a(75, "unlit_redstone_torch", new alo(false).c(0.0F).a(f).c("notGate").d("redstone_torch_off"));
- 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"));
- c.a(77, "stone_button", new amj().c(0.5F).a(i).c("button"));
- c.a(78, "snow_layer", new alz().c(0.1F).a(n).c("snow").g(0).d("snow"));
- c.a(79, "ice", new akb().c(0.5F).g(3).a(k).c("ice").d("ice"));
- c.a(80, "snow", new aly().c(0.2F).a(n).c("snow").d("snow"));
- c.a(81, "cactus", new aif().c(0.4F).a(l).c("cactus").d("cactus"));
- c.a(82, "clay", new aik().c(0.6F).a(g).c("clay").d("clay"));
- c.a(83, "reeds", new alq().c(0.0F).a(h).c("reeds").H().d("reeds"));
- c.a(84, "jukebox", new akc().c(2.0F).b(10.0F).a(i).c("jukebox").d("jukebox"));
- c.a(85, "fence", new ajl("planks_oak", avf.d).c(2.0F).b(5.0F).a(f).c("fence"));
- ahu localahu6 = new ali(false).c(1.0F).a(f).c("pumpkin").d("pumpkin");
- c.a(86, "pumpkin", localahu6);
- c.a(87, "netherrack", new aks().c(0.4F).a(i).c("hellrock").d("netherrack"));
- c.a(88, "soul_sand", new ama().c(0.5F).a(m).c("hellsand").d("soul_sand"));
- c.a(89, "glowstone", new ajs(avf.s).c(0.3F).a(k).a(1.0F).c("lightgem").d("glowstone"));
- c.a(90, "portal", new alb().c(-1.0F).a(k).a(0.75F).c("portal").d("portal"));
- c.a(91, "lit_pumpkin", new ali(true).c(1.0F).a(f).a(1.0F).c("litpumpkin").d("pumpkin"));
- c.a(92, "cake", new aig().c(0.5F).a(l).c("cake").H().d("cake"));
- c.a(93, "unpowered_repeater", new alr(false).c(0.0F).a(f).c("diode").H().d("repeater_off"));
- c.a(94, "powered_repeater", new alr(true).c(0.0F).a(0.625F).a(f).c("diode").H().d("repeater_on"));
- c.a(95, "stained_glass", new amc(avf.s).c(0.3F).a(k).c("stainedGlass").d("glass"));
- c.a(96, "trapdoor", new amq(avf.d).c(3.0F).a(f).c("trapdoor").H().d("trapdoor"));
- c.a(97, "monster_egg", new akn().c(0.75F).c("monsterStoneEgg"));
- ahu localahu7 = new ami().c(1.5F).b(10.0F).a(i).c("stonebricksmooth").d("stonebrick");
- c.a(98, "stonebrick", localahu7);
- c.a(99, "brown_mushroom_block", new aka(avf.d, 0).c(0.2F).a(f).c("mushroom").d("mushroom_block"));
- c.a(100, "red_mushroom_block", new aka(avf.d, 1).c(0.2F).a(f).c("mushroom").d("mushroom_block"));
- c.a(101, "iron_bars", new amm("iron_bars", "iron_bars", avf.f, true).c(5.0F).b(10.0F).a(j).c("fenceIron"));
- c.a(102, "glass_pane", new amm("glass", "glass_pane_top", avf.s, false).c(0.3F).a(k).c("thinGlass"));
- ahu localahu8 = new akk().c(1.0F).a(f).c("melon").d("melon");
- c.a(103, "melon_block", localahu8);
- c.a(104, "pumpkin_stem", new amg(localahu6).c(0.0F).a(f).c("pumpkinStem").d("pumpkin_stem"));
- c.a(105, "melon_stem", new amg(localahu8).c(0.0F).a(f).c("pumpkinStem").d("melon_stem"));
- c.a(106, "vine", new amt().c(0.2F).a(h).c("vine").d("vine"));
- c.a(107, "fence_gate", new ajm().c(2.0F).b(5.0F).a(f).c("fenceGate"));
- c.a(108, "brick_stairs", new ame(localahu4, 0).c("stairsBrick"));
- c.a(109, "stone_brick_stairs", new ame(localahu7, 0).c("stairsStoneBrickSmooth"));
- c.a(110, "mycelium", new akp().c(0.6F).a(h).c("mycel").d("mycelium"));
- c.a(111, "waterlily", new amv().c(0.0F).a(h).c("waterlily").d("waterlily"));
- ahu localahu9 = new ahu(avf.e).c(2.0F).b(10.0F).a(i).c("netherBrick").a(aaf.b).d("nether_brick");
- c.a(112, "nether_brick", localahu9);
- c.a(113, "nether_brick_fence", new ajl("nether_brick", avf.e).c(2.0F).b(10.0F).a(i).c("netherFence"));
- c.a(114, "nether_brick_stairs", new ame(localahu9, 0).c("stairsNetherBrick"));
- c.a(115, "nether_wart", new akr().c("netherStalk").d("nether_wart"));
- c.a(116, "enchanting_table", new aje().c(5.0F).b(2000.0F).c("enchantmentTable").d("enchanting_table"));
- c.a(117, "brewing_stand", new aic().c(0.5F).a(0.125F).c("brewingStand").d("brewing_stand"));
- c.a(118, "cauldron", new aii().c(2.0F).c("cauldron").d("cauldron"));
- c.a(119, "end_portal", new ajf(avf.E).c(-1.0F).b(6000000.0F));
- 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"));
- 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"));
- c.a(122, "dragon_egg", new ajb().c(3.0F).b(15.0F).a(i).a(0.125F).c("dragonEgg").d("dragon_egg"));
- c.a(123, "redstone_lamp", new aln(false).c(0.3F).a(k).c("redstoneLight").a(aaf.d).d("redstone_lamp_off"));
- c.a(124, "lit_redstone_lamp", new aln(true).c(0.3F).a(k).c("redstoneLight").d("redstone_lamp_on"));
- c.a(125, "double_wooden_slab", new ana(true).c(2.0F).b(5.0F).a(f).c("woodSlab"));
- c.a(126, "wooden_slab", new ana(false).c(2.0F).b(5.0F).a(f).c("woodSlab"));
- c.a(127, "cocoa", new ail().c(0.2F).b(5.0F).a(f).c("cocoa").d("cocoa"));
- c.a(128, "sandstone_stairs", new ame(localahu3, 0).c("stairsSandStone"));
- c.a(129, "emerald_ore", new akz().c(3.0F).b(5.0F).a(i).c("oreEmerald").d("emerald_ore"));
- c.a(130, "ender_chest", new ajh().c(22.5F).b(1000.0F).a(i).c("enderChest").a(0.5F));
- c.a(131, "tripwire_hook", new ams().c("tripWireSource").d("trip_wire_source"));
- c.a(132, "tripwire", new amr().c("tripWire").d("trip_wire"));
- c.a(133, "emerald_block", new akl(avh.I).c(5.0F).b(10.0F).a(j).c("blockEmerald").d("emerald_block"));
- c.a(134, "spruce_stairs", new ame(localahu2, 1).c("stairsWoodSpruce"));
- c.a(135, "birch_stairs", new ame(localahu2, 2).c("stairsWoodBirch"));
- c.a(136, "jungle_stairs", new ame(localahu2, 3).c("stairsWoodJungle"));
- c.a(137, "command_block", new ain().s().b(6000000.0F).c("commandBlock").d("command_block"));
- c.a(138, "beacon", new ahs().c("beacon").a(1.0F).d("beacon"));
- c.a(139, "cobblestone_wall", new amu(localahu1).c("cobbleWall"));
- c.a(140, "flower_pot", new ajp().c(0.0F).a(e).c("flowerPot").d("flower_pot"));
- c.a(141, "carrots", new aih().c("carrots").d("carrots"));
- c.a(142, "potatoes", new ald().c("potatoes").d("potatoes"));
- c.a(143, "wooden_button", new amz().c(0.5F).a(f).c("button"));
- c.a(144, "skull", new alx().c(1.0F).a(i).c("skull").d("skull"));
- c.a(145, "anvil", new ahn().c(5.0F).a(p).b(2000.0F).c("anvil"));
- c.a(146, "trapped_chest", new aij(1).c(2.5F).a(f).c("chestTrap"));
- c.a(147, "light_weighted_pressure_plate", new amx("gold_block", avf.f, 15).c(0.5F).a(f).c("weightedPlate_light"));
- c.a(148, "heavy_weighted_pressure_plate", new amx("iron_block", avf.f, 150).c(0.5F).a(f).c("weightedPlate_heavy"));
- c.a(149, "unpowered_comparator", new aio(false).c(0.0F).a(f).c("comparator").H().d("comparator_off"));
- c.a(150, "powered_comparator", new aio(true).c(0.0F).a(0.625F).a(f).c("comparator").H().d("comparator_on"));
- c.a(151, "daylight_detector", new ais().c(0.2F).a(f).c("daylightDetector").d("daylight_detector"));
- c.a(152, "redstone_block", new ale(avh.f).c(5.0F).b(10.0F).a(j).c("blockRedstone").d("redstone_block"));
- c.a(153, "quartz_ore", new akz().c(3.0F).b(5.0F).a(i).c("netherquartz").d("quartz_ore"));
- c.a(154, "hopper", new ajz().c(3.0F).b(8.0F).a(f).c("hopper").d("hopper"));
- ahu localahu10 = new alj().a(i).c(0.8F).c("quartzBlock").d("quartz_block");
- c.a(155, "quartz_block", localahu10);
- c.a(156, "quartz_stairs", new ame(localahu10, 0).c("stairsQuartz"));
- c.a(157, "activator_rail", new alf().c(0.7F).a(j).c("activatorRail").d("rail_activator"));
- c.a(158, "dropper", new ajc().c(3.5F).a(i).c("dropper").d("dropper"));
- c.a(159, "stained_hardened_clay", new aim(avf.e).c(1.25F).b(7.0F).a(i).c("clayHardenedStained").d("hardened_clay_stained"));
- c.a(160, "stained_glass_pane", new amd().c(0.3F).a(k).c("thinStainedGlass").d("glass"));
- c.a(161, "leaves2", new akt().c("leaves").d("leaves"));
- c.a(162, "log2", new aku().c("log").d("log"));
- c.a(163, "acacia_stairs", new ame(localahu2, 4).c("stairsWoodAcacia"));
- c.a(164, "dark_oak_stairs", new ame(localahu2, 5).c("stairsWoodDarkOak"));
- c.a(170, "hay_block", new ajy().c(0.5F).a(h).c("hayBlock").a(aaf.b).d("hay_block"));
- c.a(171, "carpet", new anb().c(0.1F).a(l).c("woolCarpet").g(0));
- c.a(172, "hardened_clay", new ajx().c(1.25F).b(7.0F).a(i).c("clayHardened").d("hardened_clay"));
- 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"));
- c.a(174, "packed_ice", new ala().c(0.5F).a(k).c("icePacked").d("ice_packed"));
- c.a(175, "double_plant", new aja());
- for (ahu localahu11 : c)
- if (localahu11.J == avf.a) {
- localahu11.u = false;
- }
- else
- {
- boolean bool1 = false;
- int i1 = localahu11.b() == 10 ? 1 : 0;
- boolean bool2 = localahu11 instanceof ajv;
- int i2 = localahu11 == localahu5 ? 1 : 0;
- boolean bool3 = localahu11.s;
- int i3 = localahu11.r == 0 ? 1 : 0;
- if ((i1 != 0) || (bool2) || (i2 != 0) || (bool3) || (i3 != 0)) {
- bool1 = true;
- }
- localahu11.u = bool1;
- }
- }
- protected ahu(avf paramavf)
- {
- this.J = paramavf;
- a(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
- this.q = c();
- this.r = (c() ? 255 : 0);
- this.s = (!paramavf.b());
- }
- protected ahu a(ahy paramahy) {
- this.H = paramahy;
- return this;
- }
- protected ahu g(int paramInt) {
- this.r = paramInt;
- return this;
- }
- protected ahu a(float paramFloat) {
- this.t = ((int)(15.0F * paramFloat));
- return this;
- }
- protected ahu b(float paramFloat) {
- this.w = (paramFloat * 3.0F);
- return this;
- }
- public boolean q()
- {
- return (this.J.c()) && (d());
- }
- public boolean r() {
- return (this.J.k()) && (d()) && (!f());
- }
- public boolean d() {
- return true;
- }
- public boolean b(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
- return !this.J.c();
- }
- public int b() {
- return 0;
- }
- protected ahu c(float paramFloat) {
- this.v = paramFloat;
- if (this.w < paramFloat * 5.0F) this.w = (paramFloat * 5.0F);
- return this;
- }
- protected ahu s() {
- c(-1.0F);
- return this;
- }
- public float f(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return this.v;
- }
- protected ahu a(boolean paramBoolean) {
- this.z = paramBoolean;
- return this;
- }
- public boolean t() {
- return this.z;
- }
- public boolean u() {
- return this.A;
- }
- protected final void a(float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4, float paramFloat5, float paramFloat6) {
- this.B = paramFloat1;
- this.C = paramFloat2;
- this.D = paramFloat3;
- this.E = paramFloat4;
- this.F = paramFloat5;
- this.G = paramFloat6;
- }
- public int c(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
- ahu localahu = paramafx.a(paramInt1, paramInt2, paramInt3);
- int i1 = paramafx.c(paramInt1, paramInt2, paramInt3, localahu.m());
- if ((i1 == 0) && ((localahu instanceof ajv))) {
- paramInt2--;
- localahu = paramafx.a(paramInt1, paramInt2, paramInt3);
- return paramafx.c(paramInt1, paramInt2, paramInt3, localahu.m());
- }
- return i1;
- }
- public boolean a(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- if ((paramInt4 == 0) && (this.C > 0.0D)) return true;
- if ((paramInt4 == 1) && (this.F < 1.0D)) return true;
- if ((paramInt4 == 2) && (this.D > 0.0D)) return true;
- if ((paramInt4 == 3) && (this.G < 1.0D)) return true;
- if ((paramInt4 == 4) && (this.B > 0.0D)) return true;
- if ((paramInt4 == 5) && (this.E < 1.0D)) return true;
- return !paramafx.a(paramInt1, paramInt2, paramInt3).c();
- }
- public boolean d(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
- {
- return paramafx.a(paramInt1, paramInt2, paramInt3).o().a();
- }
- public ps e(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- return a(paramInt4, paramafx.e(paramInt1, paramInt2, paramInt3));
- }
- public ps a(int paramInt1, int paramInt2) {
- return this.L;
- }
- public final ps h(int paramInt) {
- return a(paramInt, 0);
- }
- public ayf g(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return ayf.a().a(paramInt1 + this.B, paramInt2 + this.C, paramInt3 + this.D, paramInt1 + this.E, paramInt2 + this.F, paramInt3 + this.G);
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ayf paramayf, List paramList, qn paramqn) {
- ayf localayf = a(paramafn, paramInt1, paramInt2, paramInt3);
- if ((localayf != null) && (paramayf.b(localayf))) paramList.add(localayf);
- }
- public ayf a(afn paramafn, int paramInt1, int paramInt2, int paramInt3)
- {
- return ayf.a().a(paramInt1 + this.B, paramInt2 + this.C, paramInt3 + this.D, paramInt1 + this.E, paramInt2 + this.F, paramInt3 + this.G);
- }
- public boolean c() {
- return true;
- }
- public boolean a(int paramInt, boolean paramBoolean) {
- return v();
- }
- public boolean v() {
- return true;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, Random paramRandom)
- {
- }
- public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, Random paramRandom)
- {
- }
- public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
- {
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ahu paramahu) {
- }
- public int a(afn paramafn) {
- return 10;
- }
- public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ahu paramahu, int paramInt4) {
- }
- public int a(Random paramRandom) {
- return 1;
- }
- public abn a(int paramInt1, Random paramRandom, int paramInt2) {
- return abn.a(this);
- }
- public float a(xl paramxl, afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- float f1 = f(paramafn, paramInt1, paramInt2, paramInt3);
- if (f1 < 0.0F) return 0.0F;
- if (!paramxl.a(this)) {
- return paramxl.a(this, false) / f1 / 100.0F;
- }
- return paramxl.a(this, true) / f1 / 30.0F;
- }
- public final void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
- a(paramafn, paramInt1, paramInt2, paramInt3, paramInt4, 1.0F, paramInt5);
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, float paramFloat, int paramInt5) {
- if (paramafn.E) return;
- int i1 = a(paramInt5, paramafn.s);
- for (int i2 = 0; i2 < i1; i2++)
- if (paramafn.s.nextFloat() <= paramFloat) {
- abn localabn = a(paramInt4, paramafn.s, paramInt5);
- if (localabn != null)
- {
- a(paramafn, paramInt1, paramInt2, paramInt3, new abp(localabn, 1, a(paramInt4)));
- }
- }
- }
- protected void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, abp paramabp) { if ((paramafn.E) || (!paramafn.N().b("doTileDrops"))) return;
- float f1 = 0.7F;
- double d1 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
- double d2 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
- double d3 = paramafn.s.nextFloat() * f1 + (1.0F - f1) * 0.5D;
- vw localvw = new vw(paramafn, paramInt1 + d1, paramInt2 + d2, paramInt3 + d3, paramabp);
- localvw.b = 10;
- paramafn.d(localvw); }
- protected void c(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
- {
- if (!paramafn.E)
- while (paramInt4 > 0) {
- int i1 = rc.a(paramInt4);
- paramInt4 -= i1;
- paramafn.d(new rc(paramafn, paramInt1 + 0.5D, paramInt2 + 0.5D, paramInt3 + 0.5D, i1));
- }
- }
- public int a(int paramInt)
- {
- return 0;
- }
- public float a(qn paramqn) {
- return this.w / 5.0F;
- }
- public ayi a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, ayk paramayk1, ayk paramayk2) {
- a(paramafn, paramInt1, paramInt2, paramInt3);
- paramayk1 = paramayk1.c(-paramInt1, -paramInt2, -paramInt3);
- paramayk2 = paramayk2.c(-paramInt1, -paramInt2, -paramInt3);
- ayk localayk1 = paramayk1.b(paramayk2, this.B);
- ayk localayk2 = paramayk1.b(paramayk2, this.E);
- ayk localayk3 = paramayk1.c(paramayk2, this.C);
- ayk localayk4 = paramayk1.c(paramayk2, this.F);
- ayk localayk5 = paramayk1.d(paramayk2, this.D);
- ayk localayk6 = paramayk1.d(paramayk2, this.G);
- if (!a(localayk1)) localayk1 = null;
- if (!a(localayk2)) localayk2 = null;
- if (!b(localayk3)) localayk3 = null;
- if (!b(localayk4)) localayk4 = null;
- if (!c(localayk5)) localayk5 = null;
- if (!c(localayk6)) localayk6 = null;
- ayk localayk7 = null;
- if ((localayk1 != null) && ((localayk7 == null) || (paramayk1.e(localayk1) < paramayk1.e(localayk7)))) localayk7 = localayk1;
- if ((localayk2 != null) && ((localayk7 == null) || (paramayk1.e(localayk2) < paramayk1.e(localayk7)))) localayk7 = localayk2;
- if ((localayk3 != null) && ((localayk7 == null) || (paramayk1.e(localayk3) < paramayk1.e(localayk7)))) localayk7 = localayk3;
- if ((localayk4 != null) && ((localayk7 == null) || (paramayk1.e(localayk4) < paramayk1.e(localayk7)))) localayk7 = localayk4;
- if ((localayk5 != null) && ((localayk7 == null) || (paramayk1.e(localayk5) < paramayk1.e(localayk7)))) localayk7 = localayk5;
- if ((localayk6 != null) && ((localayk7 == null) || (paramayk1.e(localayk6) < paramayk1.e(localayk7)))) localayk7 = localayk6;
- if (localayk7 == null) return null;
- int i1 = -1;
- if (localayk7 == localayk1) i1 = 4;
- if (localayk7 == localayk2) i1 = 5;
- if (localayk7 == localayk3) i1 = 0;
- if (localayk7 == localayk4) i1 = 1;
- if (localayk7 == localayk5) i1 = 2;
- if (localayk7 == localayk6) i1 = 3;
- return new ayi(paramInt1, paramInt2, paramInt3, i1, localayk7.c(paramInt1, paramInt2, paramInt3));
- }
- private boolean a(ayk paramayk) {
- if (paramayk == null) return false;
- return (paramayk.d >= this.C) && (paramayk.d <= this.F) && (paramayk.e >= this.D) && (paramayk.e <= this.G);
- }
- private boolean b(ayk paramayk) {
- if (paramayk == null) return false;
- return (paramayk.c >= this.B) && (paramayk.c <= this.E) && (paramayk.e >= this.D) && (paramayk.e <= this.G);
- }
- private boolean c(ayk paramayk) {
- if (paramayk == null) return false;
- return (paramayk.c >= this.B) && (paramayk.c <= this.E) && (paramayk.d >= this.C) && (paramayk.d <= this.F);
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, afi paramafi) {
- }
- public int w() {
- return 0;
- }
- public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, abp paramabp) {
- return d(paramafn, paramInt1, paramInt2, paramInt3, paramInt4);
- }
- public boolean d(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- return c(paramafn, paramInt1, paramInt2, paramInt3);
- }
- public boolean c(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return paramafn.a(paramInt1, paramInt2, paramInt3).J.j();
- }
- public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, xl paramxl, int paramInt4, float paramFloat1, float paramFloat2, float paramFloat3) {
- return false;
- }
- public void b(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn) {
- }
- public int a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, float paramFloat1, float paramFloat2, float paramFloat3, int paramInt5) {
- return paramInt5;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, xl paramxl)
- {
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn, ayk paramayk)
- {
- }
- public void a(afx paramafx, int paramInt1, int paramInt2, int paramInt3)
- {
- }
- public final double x() {
- return this.B;
- }
- public final double y() {
- return this.E;
- }
- public final double z() {
- return this.C;
- }
- public final double A() {
- return this.F;
- }
- public final double B() {
- return this.D;
- }
- public final double C() {
- return this.G;
- }
- public int D() {
- return 16777215;
- }
- public int i(int paramInt) {
- return 16777215;
- }
- public int d(afx paramafx, int paramInt1, int paramInt2, int paramInt3) {
- return 16777215;
- }
- public int b(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- return 0;
- }
- public boolean f() {
- return false;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn) {
- }
- public int c(afx paramafx, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- return 0;
- }
- public void g() {
- }
- public void a(afn paramafn, xl paramxl, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- paramxl.a(od.C[b(this)], 1);
- paramxl.a(0.025F);
- if ((E()) && (aeh.e(paramxl))) {
- abp localabp = j(paramInt4);
- if (localabp != null)
- a(paramafn, paramInt1, paramInt2, paramInt3, localabp);
- }
- else {
- int i1 = aeh.f(paramxl);
- b(paramafn, paramInt1, paramInt2, paramInt3, paramInt4, i1);
- }
- }
- protected boolean E() {
- return (d()) && (!this.A);
- }
- protected abp j(int paramInt) {
- int i1 = 0;
- abn localabn = abn.a(this);
- if ((localabn != null) && (localabn.n())) {
- i1 = paramInt;
- }
- return new abp(localabn, 1, i1);
- }
- public int a(int paramInt, Random paramRandom) {
- return a(paramRandom);
- }
- public boolean j(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return true;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, rh paramrh, abp paramabp)
- {
- }
- public void e(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- }
- public ahu c(String paramString) {
- this.b = paramString;
- return this;
- }
- public String F() {
- return dc.a(a() + ".name");
- }
- public String a()
- {
- return "tile." + this.b;
- }
- public boolean a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
- return false;
- }
- public boolean G() {
- return this.y;
- }
- protected ahu H() {
- this.y = false;
- return this;
- }
- public int h() {
- return this.J.m();
- }
- public float I() {
- return q() ? 0.2F : 1.0F;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, qn paramqn, float paramFloat) {
- }
- public abn d(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return abn.a(this);
- }
- public int k(afn paramafn, int paramInt1, int paramInt2, int paramInt3) {
- return a(paramafn.e(paramInt1, paramInt2, paramInt3));
- }
- public void a(abn paramabn, aaf paramaaf, List paramList) {
- paramList.add(new abp(paramabn, 1, 0));
- }
- public aaf J() {
- return this.a;
- }
- public ahu a(aaf paramaaf) {
- this.a = paramaaf;
- return this;
- }
- public void a(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4, xl paramxl)
- {
- }
- public void f(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
- {
- }
- public void l(afn paramafn, int paramInt1, int paramInt2, int paramInt3)
- {
- }
- public boolean K() {
- return false;
- }
- public boolean L() {
- return true;
- }
- public boolean a(afi paramafi) {
- return true;
- }
- public boolean c(ahu paramahu) {
- return this == paramahu;
- }
- public static boolean a(ahu paramahu1, ahu paramahu2) {
- if ((paramahu1 == null) || (paramahu2 == null)) {
- return false;
- }
- if (paramahu1 == paramahu2) {
- return true;
- }
- return paramahu1.c(paramahu2);
- }
- public boolean M() {
- return false;
- }
- public int g(afn paramafn, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- return 0;
- }
- protected ahu d(String paramString) {
- this.d = paramString;
- return this;
- }
- protected String N() {
- return this.d == null ? "MISSING_ICON_BLOCK_" + b(this) + "_" + this.b : this.d;
- }
- public ps b(int paramInt1, int paramInt2) {
- return a(paramInt1, paramInt2);
- }
- public void a(pt parampt) {
- this.L = parampt.a(N());
- }
- public String O() {
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement