├── META-INF └── MANIFEST.MF ├── README.md ├── achievement └── map.txt ├── font.txt ├── lang ├── af_ZA.lang ├── ar_SA.lang ├── bg_BG.lang ├── ca_ES.lang ├── cs_CZ.lang ├── cy_GB.lang ├── da_DK.lang ├── de_DE.lang ├── el_GR.lang ├── en_CA.lang ├── en_GB.lang ├── en_PT.lang ├── en_US.lang ├── es_AR.lang ├── es_ES.lang ├── es_MX.lang ├── es_UY.lang ├── es_VE.lang ├── et_EE.lang ├── eu_ES.lang ├── fi_FI.lang ├── fr_CA.lang ├── fr_FR.lang ├── gl_ES.lang ├── he_IL.lang ├── hr_HR.lang ├── hu_HU.lang ├── is_IS.lang ├── it_IT.lang ├── ja_JP.lang ├── ka_GE.lang ├── ko_KR.lang ├── ky_KG.lang ├── languages.txt ├── lt_LT.lang ├── lv_LV.lang ├── mi_NZ.lang ├── nb_NO.lang ├── nl_NL.lang ├── nn_NO.lang ├── pl_PL.lang ├── pt_BR.lang ├── pt_PT.lang ├── qya_AA.lang ├── ro_RO.lang ├── ru_RU.lang ├── sk_SK.lang ├── sl_SI.lang ├── sr_SP.lang ├── sv_SE.lang ├── th_TH.lang ├── tlh_AA.lang ├── tr_TR.lang ├── uk_UA.lang ├── vi_VN.lang ├── zh_CN.lang └── zh_TW.lang ├── net └── minecraft │ └── server │ ├── Achievement.java │ ├── AchievementList.java │ ├── AchievementSet.java │ ├── AttributeBase.java │ ├── AttributeInstance.java │ ├── AttributeMapBase.java │ ├── AttributeMapServer.java │ ├── AttributeModifiable.java │ ├── AttributeModifier.java │ ├── AttributeRanged.java │ ├── AttributeSnapshot.java │ ├── AxisAlignedBB.java │ ├── BanEntrySerializer.java │ ├── BananaAPI.java │ ├── BiomeBase.java │ ├── BiomeBaseSub.java │ ├── BiomeBaseSubForest.java │ ├── BiomeBaseSubForest2.java │ ├── BiomeBeach.java │ ├── BiomeBigHills.java │ ├── BiomeCache.java │ ├── BiomeCacheBlock.java │ ├── BiomeDecorator.java │ ├── BiomeDesert.java │ ├── BiomeForest.java │ ├── BiomeHell.java │ ├── BiomeIcePlains.java │ ├── BiomeJungle.java │ ├── BiomeMesa.java │ ├── BiomeMeta.java │ ├── BiomeMushrooms.java │ ├── BiomeOcean.java │ ├── BiomePlains.java │ ├── BiomeRiver.java │ ├── BiomeSavanna.java │ ├── BiomeSavannaSub.java │ ├── BiomeStoneBeach.java │ ├── BiomeSwamp.java │ ├── BiomeTaiga.java │ ├── BiomeTemperature.java │ ├── BiomeTheEnd.java │ ├── BiomeTheEndDecorator.java │ ├── Block.java │ ├── BlockActionData.java │ ├── BlockActionDataList.java │ ├── BlockAir.java │ ├── BlockAnvil.java │ ├── BlockBeacon.java │ ├── BlockBed.java │ ├── BlockBloodStone.java │ ├── BlockBookshelf.java │ ├── BlockBrewingStand.java │ ├── BlockButtonAbstract.java │ ├── BlockCactus.java │ ├── BlockCake.java │ ├── BlockCarpet.java │ ├── BlockCarrots.java │ ├── BlockCauldron.java │ ├── BlockChest.java │ ├── BlockClay.java │ ├── BlockCloth.java │ ├── BlockCobbleWall.java │ ├── BlockCocoa.java │ ├── BlockCommand.java │ ├── BlockContainer.java │ ├── BlockCrops.java │ ├── BlockDaylightDetector.java │ ├── BlockDeadBush.java │ ├── BlockDiodeAbstract.java │ ├── BlockDirectional.java │ ├── BlockDirt.java │ ├── BlockDispenser.java │ ├── BlockDoor.java │ ├── BlockDragonEgg.java │ ├── BlockDropper.java │ ├── BlockEnchantmentTable.java │ ├── BlockEnderChest.java │ ├── BlockEnderPortal.java │ ├── BlockEnderPortalFrame.java │ ├── BlockFalling.java │ ├── BlockFence.java │ ├── BlockFenceGate.java │ ├── BlockFire.java │ ├── BlockFlowerPot.java │ ├── BlockFlowers.java │ ├── BlockFlowing.java │ ├── BlockFluids.java │ ├── BlockFurnace.java │ ├── BlockGlass.java │ ├── BlockGrass.java │ ├── BlockGravel.java │ ├── BlockHalfTransparent.java │ ├── BlockHardenedClay.java │ ├── BlockHay.java │ ├── BlockHopper.java │ ├── BlockHugeMushroom.java │ ├── BlockIce.java │ ├── BlockJukeBox.java │ ├── BlockLadder.java │ ├── BlockLeaves.java │ ├── BlockLeaves1.java │ ├── BlockLeaves2.java │ ├── BlockLever.java │ ├── BlockLightStone.java │ ├── BlockLog1.java │ ├── BlockLog2.java │ ├── BlockLogAbstract.java │ ├── BlockLongGrass.java │ ├── BlockMelon.java │ ├── BlockMinecartDetector.java │ ├── BlockMinecartTrack.java │ ├── BlockMinecartTrackAbstract.java │ ├── BlockMobSpawner.java │ ├── BlockMonsterEggs.java │ ├── BlockMushroom.java │ ├── BlockMycel.java │ ├── BlockNetherWart.java │ ├── BlockNote.java │ ├── BlockObsidian.java │ ├── BlockOre.java │ ├── BlockOreBlock.java │ ├── BlockPackedIce.java │ ├── BlockPiston.java │ ├── BlockPistonExtension.java │ ├── BlockPistonMoving.java │ ├── BlockPlant.java │ ├── BlockPortal.java │ ├── BlockPotatoes.java │ ├── BlockPoweredRail.java │ ├── BlockPressurePlateAbstract.java │ ├── BlockPressurePlateBinary.java │ ├── BlockPressurePlateWeighted.java │ ├── BlockPumpkin.java │ ├── BlockQuartz.java │ ├── BlockRedstone.java │ ├── BlockRedstoneComparator.java │ ├── BlockRedstoneLamp.java │ ├── BlockRedstoneOre.java │ ├── BlockRedstoneTorch.java │ ├── BlockRedstoneWire.java │ ├── BlockReed.java │ ├── BlockRepeater.java │ ├── BlockRotatable.java │ ├── BlockSand.java │ ├── BlockSandStone.java │ ├── BlockSapling.java │ ├── BlockSign.java │ ├── BlockSkull.java │ ├── BlockSlowSand.java │ ├── BlockSmoothBrick.java │ ├── BlockSnow.java │ ├── BlockSnowBlock.java │ ├── BlockSoil.java │ ├── BlockSponge.java │ ├── BlockStainedGlass.java │ ├── BlockStainedGlassPane.java │ ├── BlockStairs.java │ ├── BlockStationary.java │ ├── BlockStem.java │ ├── BlockStep.java │ ├── BlockStepAbstract.java │ ├── BlockStone.java │ ├── BlockStoneButton.java │ ├── BlockTNT.java │ ├── BlockTallPlant.java │ ├── BlockThin.java │ ├── BlockTorch.java │ ├── BlockTransparent.java │ ├── BlockTrapdoor.java │ ├── BlockTripwire.java │ ├── BlockTripwireHook.java │ ├── BlockVine.java │ ├── BlockWaterLily.java │ ├── BlockWeb.java │ ├── BlockWood.java │ ├── BlockWoodButton.java │ ├── BlockWoodStep.java │ ├── BlockWorkbench.java │ ├── Blocks.java │ ├── ChatBaseComponent.java │ ├── ChatClickable.java │ ├── ChatComponentText.java │ ├── ChatDeserializer.java │ ├── ChatFunction1.java │ ├── ChatFunction2.java │ ├── ChatHoverable.java │ ├── ChatMessage.java │ ├── ChatMessageException.java │ ├── ChatModifier.java │ ├── ChatModifierSerializer.java │ ├── ChatSerializer.java │ ├── ChatStyleRoot.java │ ├── ChatTypeAdapter.java │ ├── ChatTypeAdapterFactory.java │ ├── Chunk.java │ ├── ChunkBuffer.java │ ├── ChunkCache.java │ ├── ChunkCoordIntPair.java │ ├── ChunkCoordinates.java │ ├── ChunkCoordinatesPortal.java │ ├── ChunkFilenameFilter.java │ ├── ChunkMap.java │ ├── ChunkPosition.java │ ├── ChunkProviderFlat.java │ ├── ChunkProviderGenerate.java │ ├── ChunkProviderHell.java │ ├── ChunkProviderServer.java │ ├── ChunkProviderTheEnd.java │ ├── ChunkRegionLoader.java │ ├── ChunkSection.java │ ├── ClientCommandOrdinalWrapper.java │ ├── CombatEntry.java │ ├── CombatTracker.java │ ├── CommandAbstract.java │ ├── CommandAchievement.java │ ├── CommandBan.java │ ├── CommandBanIp.java │ ├── CommandBanList.java │ ├── CommandBlockListenerAbstract.java │ ├── CommandClear.java │ ├── CommandDebug.java │ ├── CommandDeop.java │ ├── CommandDifficulty.java │ ├── CommandDispatcher.java │ ├── CommandEffect.java │ ├── CommandEnchant.java │ ├── CommandException.java │ ├── CommandGamemode.java │ ├── CommandGamemodeDefault.java │ ├── CommandGamerule.java │ ├── CommandGive.java │ ├── CommandHandler.java │ ├── CommandHelp.java │ ├── CommandIdleTimeout.java │ ├── CommandKick.java │ ├── CommandKill.java │ ├── CommandList.java │ ├── CommandMe.java │ ├── CommandNetstat.java │ ├── CommandOp.java │ ├── CommandPardon.java │ ├── CommandPardonIP.java │ ├── CommandPlaySound.java │ ├── CommandPublish.java │ ├── CommandSaveAll.java │ ├── CommandSaveOff.java │ ├── CommandSaveOn.java │ ├── CommandSay.java │ ├── CommandScoreboard.java │ ├── CommandSeed.java │ ├── CommandSetBlock.java │ ├── CommandSetWorldSpawn.java │ ├── CommandSpawnpoint.java │ ├── CommandSpreadPlayers.java │ ├── CommandStop.java │ ├── CommandSummon.java │ ├── CommandTell.java │ ├── CommandTellRaw.java │ ├── CommandTestFor.java │ ├── CommandTestForBlock.java │ ├── CommandTime.java │ ├── CommandToggleDownfall.java │ ├── CommandTp.java │ ├── CommandWeather.java │ ├── CommandWhitelist.java │ ├── CommandXp.java │ ├── Container.java │ ├── ContainerAnvil.java │ ├── ContainerAnvilInventory.java │ ├── ContainerBeacon.java │ ├── ContainerBrewingStand.java │ ├── ContainerChest.java │ ├── ContainerDispenser.java │ ├── ContainerEnchantTable.java │ ├── ContainerEnchantTableInventory.java │ ├── ContainerFurnace.java │ ├── ContainerHopper.java │ ├── ContainerHorse.java │ ├── ContainerMerchant.java │ ├── ContainerPlayer.java │ ├── ContainerSheepBreed.java │ ├── ContainerWorkbench.java │ ├── ControllerJump.java │ ├── ControllerLook.java │ ├── ControllerMove.java │ ├── ConvertProgressUpdater.java │ ├── Convertable.java │ ├── Counter.java │ ├── CounterStatistic.java │ ├── CraftingManager.java │ ├── CraftingStatistic.java │ ├── CrashReport.java │ ├── CrashReportAABBPoolSize.java │ ├── CrashReportBlockDataValue.java │ ├── CrashReportBlockLocation.java │ ├── CrashReportBlockType.java │ ├── CrashReportChunkPosHash.java │ ├── CrashReportChunkStats.java │ ├── CrashReportConnectionPacketClass.java │ ├── CrashReportCorruptNBTTag.java │ ├── CrashReportCorruptNBTTag2.java │ ├── CrashReportDetail.java │ ├── CrashReportEntityName.java │ ├── CrashReportEntityTrackerUpdateInterval.java │ ├── CrashReportEntityType.java │ ├── CrashReportGenLayer1.java │ ├── CrashReportGenLayer2.java │ ├── CrashReportIntCacheSize.java │ ├── CrashReportIsFeatureChunk.java │ ├── CrashReportItemName.java │ ├── CrashReportJVMFlags.java │ ├── CrashReportJavaVMVersion.java │ ├── CrashReportJavaVersion.java │ ├── CrashReportLevelDimension.java │ ├── CrashReportLevelGameMode.java │ ├── CrashReportLevelGenerator.java │ ├── CrashReportLevelGeneratorOptions.java │ ├── CrashReportLevelSeed.java │ ├── CrashReportLevelSpawnLocation.java │ ├── CrashReportLevelStorageVersion.java │ ├── CrashReportLevelTime.java │ ├── CrashReportLevelWeather.java │ ├── CrashReportLocation.java │ ├── CrashReportMemory.java │ ├── CrashReportModded.java │ ├── CrashReportOperatingSystem.java │ ├── CrashReportPlayerCount.java │ ├── CrashReportPlayers.java │ ├── CrashReportProfilerPosition.java │ ├── CrashReportServerConnection.java │ ├── CrashReportSourceBlockType.java │ ├── CrashReportStructureType.java │ ├── CrashReportSystemDetails.java │ ├── CrashReportTileEntityData.java │ ├── CrashReportTileEntityName.java │ ├── CrashReportTileEntityType.java │ ├── CrashReportType.java │ ├── CrashReportVec3DPoolSize.java │ ├── CrashReportVersion.java │ ├── CrashReportWorldLocation.java │ ├── CreativeModeTab.java │ ├── CreativeModeTab1.java │ ├── CreativeModeTab10.java │ ├── CreativeModeTab11.java │ ├── CreativeModeTab12.java │ ├── CreativeModeTab2.java │ ├── CreativeModeTab3.java │ ├── CreativeModeTab4.java │ ├── CreativeModeTab5.java │ ├── CreativeModeTab6.java │ ├── CreativeModeTab7.java │ ├── CreativeModeTab8.java │ ├── CreativeModeTab9.java │ ├── DamageCounter.java │ ├── DamageSource.java │ ├── DatFilenameFilter.java │ ├── DataWatcher.java │ ├── DedicatedPlayerList.java │ ├── DedicatedServer.java │ ├── DemoPlayerInteractManager.java │ ├── DemoWorldServer.java │ ├── Direction.java │ ├── DispenseBehaviorArmor.java │ ├── DispenseBehaviorArrow.java │ ├── DispenseBehaviorBoat.java │ ├── DispenseBehaviorBonemeal.java │ ├── DispenseBehaviorEgg.java │ ├── DispenseBehaviorEmptyBucket.java │ ├── DispenseBehaviorExpBottle.java │ ├── DispenseBehaviorFilledBucket.java │ ├── DispenseBehaviorFireball.java │ ├── DispenseBehaviorFireworks.java │ ├── DispenseBehaviorFlintAndSteel.java │ ├── DispenseBehaviorItem.java │ ├── DispenseBehaviorMinecart.java │ ├── DispenseBehaviorMonsterEgg.java │ ├── DispenseBehaviorNoop.java │ ├── DispenseBehaviorPotion.java │ ├── DispenseBehaviorProjectile.java │ ├── DispenseBehaviorSnowBall.java │ ├── DispenseBehaviorTNT.java │ ├── DispenseBehaviorThrownPotion.java │ ├── DispenserRegistry.java │ ├── DistanceComparator.java │ ├── DistancesCounter.java │ ├── EULA.java │ ├── EmptyChunk.java │ ├── EmptyClass.java │ ├── EmptyClassZombie.java │ ├── Enchantment.java │ ├── EnchantmentArrowDamage.java │ ├── EnchantmentArrowKnockback.java │ ├── EnchantmentDigging.java │ ├── EnchantmentDurability.java │ ├── EnchantmentFire.java │ ├── EnchantmentFlameArrows.java │ ├── EnchantmentInfiniteArrows.java │ ├── EnchantmentInstance.java │ ├── EnchantmentKnockback.java │ ├── EnchantmentLootBonus.java │ ├── EnchantmentLure.java │ ├── EnchantmentManager.java │ ├── EnchantmentModifier.java │ ├── EnchantmentModifierArthropods.java │ ├── EnchantmentModifierDamage.java │ ├── EnchantmentModifierProtection.java │ ├── EnchantmentModifierThorns.java │ ├── EnchantmentOxygen.java │ ├── EnchantmentProtection.java │ ├── EnchantmentSilkTouch.java │ ├── EnchantmentSlotType.java │ ├── EnchantmentThorns.java │ ├── EnchantmentWaterWorker.java │ ├── EnchantmentWeaponDamage.java │ ├── Entity.java │ ├── EntityAIBodyControl.java │ ├── EntityAgeable.java │ ├── EntityAmbient.java │ ├── EntityAnimal.java │ ├── EntityArrow.java │ ├── EntityBat.java │ ├── EntityBlaze.java │ ├── EntityBoat.java │ ├── EntityCaveSpider.java │ ├── EntityChicken.java │ ├── EntityComplexPart.java │ ├── EntityCow.java │ ├── EntityCreature.java │ ├── EntityCreeper.java │ ├── EntityDamageSource.java │ ├── EntityDamageSourceIndirect.java │ ├── EntityEgg.java │ ├── EntityEnderCrystal.java │ ├── EntityEnderDragon.java │ ├── EntityEnderPearl.java │ ├── EntityEnderSignal.java │ ├── EntityEnderman.java │ ├── EntityExperienceOrb.java │ ├── EntityFallingBlock.java │ ├── EntityFireball.java │ ├── EntityFireworks.java │ ├── EntityFishingHook.java │ ├── EntityFlying.java │ ├── EntityGhast.java │ ├── EntityGiantZombie.java │ ├── EntityGolem.java │ ├── EntityHanging.java │ ├── EntityHorse.java │ ├── EntityHuman.java │ ├── EntityInsentient.java │ ├── EntityIronGolem.java │ ├── EntityItem.java │ ├── EntityItemFrame.java │ ├── EntityLargeFireball.java │ ├── EntityLeash.java │ ├── EntityLightning.java │ ├── EntityLiving.java │ ├── EntityMagmaCube.java │ ├── EntityMinecartAbstract.java │ ├── EntityMinecartChest.java │ ├── EntityMinecartCommandBlock.java │ ├── EntityMinecartCommandBlockListener.java │ ├── EntityMinecartContainer.java │ ├── EntityMinecartFurnace.java │ ├── EntityMinecartHopper.java │ ├── EntityMinecartMobSpawner.java │ ├── EntityMinecartRideable.java │ ├── EntityMinecartTNT.java │ ├── EntityMonster.java │ ├── EntityMushroomCow.java │ ├── EntityOcelot.java │ ├── EntityOwnable.java │ ├── EntityPainting.java │ ├── EntityPig.java │ ├── EntityPigZombie.java │ ├── EntityPlayer.java │ ├── EntityPotion.java │ ├── EntityProjectile.java │ ├── EntitySelectorChickenJockey.java │ ├── EntitySelectorContainer.java │ ├── EntitySelectorEquipable.java │ ├── EntitySelectorHorse.java │ ├── EntitySelectorLiving.java │ ├── EntitySelectorMonster.java │ ├── EntitySelectorNearestAttackableTarget.java │ ├── EntitySelectorNotUndead.java │ ├── EntitySelectorViewable.java │ ├── EntitySenses.java │ ├── EntitySheep.java │ ├── EntitySilverfish.java │ ├── EntitySizes.java │ ├── EntitySkeleton.java │ ├── EntitySlime.java │ ├── EntitySmallFireball.java │ ├── EntitySnowball.java │ ├── EntitySnowman.java │ ├── EntitySpider.java │ ├── EntitySquid.java │ ├── EntityTNTPrimed.java │ ├── EntityTameableAnimal.java │ ├── EntityThrownExpBottle.java │ ├── EntityTracker.java │ ├── EntityTrackerEntry.java │ ├── EntityTypes.java │ ├── EntityVillager.java │ ├── EntityWaterAnimal.java │ ├── EntityWeather.java │ ├── EntityWitch.java │ ├── EntityWither.java │ ├── EntityWitherSkull.java │ ├── EntityWolf.java │ ├── EntityZombie.java │ ├── EnumAnimation.java │ ├── EnumArmorMaterial.java │ ├── EnumArt.java │ ├── EnumBedResult.java │ ├── EnumChatFormat.java │ ├── EnumChatVisibility.java │ ├── EnumClickAction.java │ ├── EnumClientCommand.java │ ├── EnumCreatureType.java │ ├── EnumDifficulty.java │ ├── EnumEntitySize.java │ ├── EnumEntityUseAction.java │ ├── EnumFacing.java │ ├── EnumFish.java │ ├── EnumGamemode.java │ ├── EnumGenLayerSpecial.java │ ├── EnumHoverAction.java │ ├── EnumItemRarity.java │ ├── EnumMobType.java │ ├── EnumMonsterType.java │ ├── EnumMovingObjectType.java │ ├── EnumProtocol$1.java │ ├── EnumProtocol$2.java │ ├── EnumProtocol$3.java │ ├── EnumProtocol$4.java │ ├── EnumProtocol.java │ ├── EnumProtocolState.java │ ├── EnumSkyBlock.java │ ├── EnumTemperature.java │ ├── EnumToolMaterial.java │ ├── ExceptionInvalidNumber.java │ ├── ExceptionInvalidSyntax.java │ ├── ExceptionPlayerNotFound.java │ ├── ExceptionUnknownCommand.java │ ├── ExceptionUsage.java │ ├── ExceptionWorldConflict.java │ ├── ExpirableListEntry.java │ ├── Explosion.java │ ├── Facing.java │ ├── FileConversionException.java │ ├── FileIOThread.java │ ├── FoodMetaData.java │ ├── GameProfileBanEntry.java │ ├── GameProfileBanList.java │ ├── GameProfileBanListEntryConverter.java │ ├── GameProfileLookup.java │ ├── GameProfileLookupCallback.java │ ├── GameProfileSerializer.java │ ├── GameRuleValue.java │ ├── GameRules.java │ ├── GenLayer.java │ ├── GenLayerBiome.java │ ├── GenLayerCleaner.java │ ├── GenLayerDeepOcean.java │ ├── GenLayerDesert.java │ ├── GenLayerIcePlains.java │ ├── GenLayerIsland.java │ ├── GenLayerJumpTable.java │ ├── GenLayerMushroomIsland.java │ ├── GenLayerMushroomShore.java │ ├── GenLayerPlains.java │ ├── GenLayerRegionHills.java │ ├── GenLayerRiver.java │ ├── GenLayerRiverMix.java │ ├── GenLayerSmooth.java │ ├── GenLayerSpecial.java │ ├── GenLayerTopSoil.java │ ├── GenLayerZoom.java │ ├── GenLayerZoomFuzzy.java │ ├── GenLayerZoomVoronoi.java │ ├── GenericAttributes.java │ ├── GroupDataEntity.java │ ├── GroupDataHorse.java │ ├── GroupDataSpider.java │ ├── GroupDataZombie.java │ ├── GuiStatsComponent.java │ ├── GuiStatsListener.java │ ├── HandshakeListener.java │ ├── HttpUtilities.java │ ├── IAnimal.java │ ├── IAsyncChunkSaver.java │ ├── IAttribute.java │ ├── IBlockAccess.java │ ├── IBlockFragilePlantElement.java │ ├── IChatBaseComponent.java │ ├── IChunkLoader.java │ ├── IChunkProvider.java │ ├── ICommand.java │ ├── ICommandDispatcher.java │ ├── ICommandHandler.java │ ├── ICommandListener.java │ ├── IComplex.java │ ├── IContainer.java │ ├── ICrafting.java │ ├── IDataManager.java │ ├── IDispenseBehavior.java │ ├── IEntitySelector.java │ ├── IHopper.java │ ├── IIcon.java │ ├── IInventory.java │ ├── IInventoryListener.java │ ├── IJsonStatistic.java │ ├── ILocationSource.java │ ├── IMerchant.java │ ├── IMinecraftServer.java │ ├── IMojangStatistics.java │ ├── IMonster.java │ ├── IPlayerFileData.java │ ├── IPosition.java │ ├── IProgressUpdate.java │ ├── IProjectile.java │ ├── IRangedEntity.java │ ├── IRecipe.java │ ├── IRegistry.java │ ├── IScoreboardCriteria.java │ ├── ISource.java │ ├── ISourceBlock.java │ ├── IUpdatePlayerListBox.java │ ├── IWorldAccess.java │ ├── IWorldInventory.java │ ├── InsensitiveStringMap.java │ ├── InstantMobEffect.java │ ├── IntCache.java │ ├── IntHashMap.java │ ├── IntHashMapEntry.java │ ├── InventoryCraftResult.java │ ├── InventoryCrafting.java │ ├── InventoryEnderChest.java │ ├── InventoryHorseChest.java │ ├── InventoryLargeChest.java │ ├── InventoryMerchant.java │ ├── InventorySubcontainer.java │ ├── IpBanEntry.java │ ├── IpBanList.java │ ├── Item.java │ ├── ItemAnvil.java │ ├── ItemArmor.java │ ├── ItemAxe.java │ ├── ItemBed.java │ ├── ItemBlock.java │ ├── ItemBlockWithAuxData.java │ ├── ItemBoat.java │ ├── ItemBook.java │ ├── ItemBookAndQuill.java │ ├── ItemBow.java │ ├── ItemBucket.java │ ├── ItemCarrotStick.java │ ├── ItemCloth.java │ ├── ItemCoal.java │ ├── ItemDoor.java │ ├── ItemDye.java │ ├── ItemEgg.java │ ├── ItemEnchantedBook.java │ ├── ItemEnderEye.java │ ├── ItemEnderPearl.java │ ├── ItemExpBottle.java │ ├── ItemFireball.java │ ├── ItemFireworks.java │ ├── ItemFireworksCharge.java │ ├── ItemFish.java │ ├── ItemFishingRod.java │ ├── ItemFlintAndSteel.java │ ├── ItemFood.java │ ├── ItemGlassBottle.java │ ├── ItemGoldenApple.java │ ├── ItemHanging.java │ ├── ItemHoe.java │ ├── ItemLeash.java │ ├── ItemLeaves.java │ ├── ItemMapEmpty.java │ ├── ItemMilkBucket.java │ ├── ItemMinecart.java │ ├── ItemMonsterEgg.java │ ├── ItemMultiTexture.java │ ├── ItemNameTag.java │ ├── ItemNetherStar.java │ ├── ItemPickaxe.java │ ├── ItemPiston.java │ ├── ItemPotion.java │ ├── ItemRecord.java │ ├── ItemRedstone.java │ ├── ItemReed.java │ ├── ItemSaddle.java │ ├── ItemSeedFood.java │ ├── ItemSeeds.java │ ├── ItemShears.java │ ├── ItemSign.java │ ├── ItemSkull.java │ ├── ItemSnow.java │ ├── ItemSnowball.java │ ├── ItemSoup.java │ ├── ItemSpade.java │ ├── ItemStack.java │ ├── ItemStep.java │ ├── ItemSword.java │ ├── ItemTallPlant.java │ ├── ItemTool.java │ ├── ItemWaterLily.java │ ├── ItemWithAuxData.java │ ├── ItemWorldMap.java │ ├── ItemWorldMapBase.java │ ├── ItemWrittenBook.java │ ├── Items.java │ ├── JsonList.java │ ├── JsonListEntry.java │ ├── JsonListEntrySerializer.java │ ├── JsonListType.java │ ├── LayerIsland.java │ ├── LegacyPingHandler.java │ ├── LocaleI18n.java │ ├── LocaleLanguage.java │ ├── Location2D.java │ ├── LoginListener.java │ ├── LongHashMap.java │ ├── LongHashMapEntry.java │ ├── Material.java │ ├── MaterialDecoration.java │ ├── MaterialGas.java │ ├── MaterialLiquid.java │ ├── MaterialMapColor.java │ ├── MaterialPortal.java │ ├── MaterialWeb.java │ ├── MathHelper.java │ ├── MerchantRecipe.java │ ├── MerchantRecipeList.java │ ├── MethodProfiler.java │ ├── MinecartTrackLogic.java │ ├── MinecraftEncryption.java │ ├── MinecraftServer.java │ ├── MobEffect.java │ ├── MobEffectAbsorption.java │ ├── MobEffectAttackDamage.java │ ├── MobEffectHealthBoost.java │ ├── MobEffectList.java │ ├── MobSpawner.java │ ├── MobSpawnerAbstract.java │ ├── MobSpawnerMinecart.java │ ├── ModdingApi.java │ ├── MojangStatisticsGenerator.java │ ├── MojangStatisticsTask.java │ ├── MojangsonCompoundParser.java │ ├── MojangsonListParser.java │ ├── MojangsonParseException.java │ ├── MojangsonParser.java │ ├── MojangsonPrimitiveParser.java │ ├── MojangsonTypeParser.java │ ├── MonsterEggInfo.java │ ├── MovingObjectPosition.java │ ├── NBTBase.java │ ├── NBTCompressedStreamTools.java │ ├── NBTNumber.java │ ├── NBTReadLimiter.java │ ├── NBTReadLimiterUnlimited.java │ ├── NBTTagByte.java │ ├── NBTTagByteArray.java │ ├── NBTTagCompound.java │ ├── NBTTagDouble.java │ ├── NBTTagEnd.java │ ├── NBTTagFloat.java │ ├── NBTTagInt.java │ ├── NBTTagIntArray.java │ ├── NBTTagList.java │ ├── NBTTagLong.java │ ├── NBTTagShort.java │ ├── NBTTagString.java │ ├── NPC.java │ ├── NameReferencingFileConverter.java │ ├── Navigation.java │ ├── NetworkManager.java │ ├── NetworkStatistics.java │ ├── NextTickListEntry.java │ ├── NibbleArray.java │ ├── NoiseGenerator.java │ ├── NoiseGenerator3.java │ ├── NoiseGenerator3Handler.java │ ├── NoiseGeneratorOctaves.java │ ├── NoiseGeneratorPerlin.java │ ├── OldChunk.java │ ├── OldChunkLoader.java │ ├── OldNibbleArray.java │ ├── OpList.java │ ├── OpListEntry.java │ ├── OpListProfileCallback.java │ ├── PackStatisticData.java │ ├── Packet.java │ ├── PacketDataSerializer.java │ ├── PacketDecoder.java │ ├── PacketDecrypter.java │ ├── PacketEncoder.java │ ├── PacketEncrypter.java │ ├── PacketEncryptionHandler.java │ ├── PacketHandshakingInListener.java │ ├── PacketHandshakingInSetProtocol.java │ ├── PacketListener.java │ ├── PacketLoginInEncryptionBegin.java │ ├── PacketLoginInListener.java │ ├── PacketLoginInStart.java │ ├── PacketLoginOutDisconnect.java │ ├── PacketLoginOutEncryptionBegin.java │ ├── PacketLoginOutListener.java │ ├── PacketLoginOutSuccess.java │ ├── PacketPlayInAbilities.java │ ├── PacketPlayInArmAnimation.java │ ├── PacketPlayInBlockDig.java │ ├── PacketPlayInBlockPlace.java │ ├── PacketPlayInChat.java │ ├── PacketPlayInClientCommand.java │ ├── PacketPlayInCloseWindow.java │ ├── PacketPlayInCustomPayload.java │ ├── PacketPlayInEnchantItem.java │ ├── PacketPlayInEntityAction.java │ ├── PacketPlayInFlying.java │ ├── PacketPlayInHeldItemSlot.java │ ├── PacketPlayInKeepAlive.java │ ├── PacketPlayInListener.java │ ├── PacketPlayInLook.java │ ├── PacketPlayInPosition.java │ ├── PacketPlayInPositionLook.java │ ├── PacketPlayInSetCreativeSlot.java │ ├── PacketPlayInSettings.java │ ├── PacketPlayInSteerVehicle.java │ ├── PacketPlayInTabComplete.java │ ├── PacketPlayInTransaction.java │ ├── PacketPlayInUpdateSign.java │ ├── PacketPlayInUseEntity.java │ ├── PacketPlayInWindowClick.java │ ├── PacketPlayOutAbilities.java │ ├── PacketPlayOutAnimation.java │ ├── PacketPlayOutAttachEntity.java │ ├── PacketPlayOutBed.java │ ├── PacketPlayOutBlockAction.java │ ├── PacketPlayOutBlockBreakAnimation.java │ ├── PacketPlayOutBlockChange.java │ ├── PacketPlayOutChat.java │ ├── PacketPlayOutCloseWindow.java │ ├── PacketPlayOutCollect.java │ ├── PacketPlayOutCustomPayload.java │ ├── PacketPlayOutEntity.java │ ├── PacketPlayOutEntityDestroy.java │ ├── PacketPlayOutEntityEffect.java │ ├── PacketPlayOutEntityEquipment.java │ ├── PacketPlayOutEntityHeadRotation.java │ ├── PacketPlayOutEntityLook.java │ ├── PacketPlayOutEntityMetadata.java │ ├── PacketPlayOutEntityStatus.java │ ├── PacketPlayOutEntityTeleport.java │ ├── PacketPlayOutEntityVelocity.java │ ├── PacketPlayOutExperience.java │ ├── PacketPlayOutExplosion.java │ ├── PacketPlayOutGameStateChange.java │ ├── PacketPlayOutHeldItemSlot.java │ ├── PacketPlayOutKeepAlive.java │ ├── PacketPlayOutKickDisconnect.java │ ├── PacketPlayOutListener.java │ ├── PacketPlayOutLogin.java │ ├── PacketPlayOutMap.java │ ├── PacketPlayOutMapChunk.java │ ├── PacketPlayOutMapChunkBulk.java │ ├── PacketPlayOutMultiBlockChange.java │ ├── PacketPlayOutNamedEntitySpawn.java │ ├── PacketPlayOutNamedSoundEffect.java │ ├── PacketPlayOutOpenSignEditor.java │ ├── PacketPlayOutOpenWindow.java │ ├── PacketPlayOutPlayerInfo.java │ ├── PacketPlayOutPosition.java │ ├── PacketPlayOutRelEntityMove.java │ ├── PacketPlayOutRelEntityMoveLook.java │ ├── PacketPlayOutRemoveEntityEffect.java │ ├── PacketPlayOutRespawn.java │ ├── PacketPlayOutScoreboardDisplayObjective.java │ ├── PacketPlayOutScoreboardObjective.java │ ├── PacketPlayOutScoreboardScore.java │ ├── PacketPlayOutScoreboardTeam.java │ ├── PacketPlayOutSetSlot.java │ ├── PacketPlayOutSpawnEntity.java │ ├── PacketPlayOutSpawnEntityExperienceOrb.java │ ├── PacketPlayOutSpawnEntityLiving.java │ ├── PacketPlayOutSpawnEntityPainting.java │ ├── PacketPlayOutSpawnEntityWeather.java │ ├── PacketPlayOutSpawnPosition.java │ ├── PacketPlayOutStatistic.java │ ├── PacketPlayOutTabComplete.java │ ├── PacketPlayOutTileEntityData.java │ ├── PacketPlayOutTransaction.java │ ├── PacketPlayOutUpdateAttributes.java │ ├── PacketPlayOutUpdateHealth.java │ ├── PacketPlayOutUpdateSign.java │ ├── PacketPlayOutUpdateTime.java │ ├── PacketPlayOutWindowData.java │ ├── PacketPlayOutWindowItems.java │ ├── PacketPlayOutWorldEvent.java │ ├── PacketPlayOutWorldParticles.java │ ├── PacketPrepender.java │ ├── PacketSplitter.java │ ├── PacketStatistics.java │ ├── PacketStatisticsTracker.java │ ├── PacketStatusInListener.java │ ├── PacketStatusInPing.java │ ├── PacketStatusInStart.java │ ├── PacketStatusListener.java │ ├── PacketStatusOutListener.java │ ├── PacketStatusOutPong.java │ ├── PacketStatusOutServerInfo.java │ ├── Path.java │ ├── PathEntity.java │ ├── PathPoint.java │ ├── Pathfinder.java │ ├── PathfinderGoal.java │ ├── PathfinderGoalArrowAttack.java │ ├── PathfinderGoalAvoidPlayer.java │ ├── PathfinderGoalBeg.java │ ├── PathfinderGoalBreakDoor.java │ ├── PathfinderGoalBreed.java │ ├── PathfinderGoalDefendVillage.java │ ├── PathfinderGoalDoorInteract.java │ ├── PathfinderGoalEatTile.java │ ├── PathfinderGoalFleeSun.java │ ├── PathfinderGoalFloat.java │ ├── PathfinderGoalFollowOwner.java │ ├── PathfinderGoalFollowParent.java │ ├── PathfinderGoalHurtByTarget.java │ ├── PathfinderGoalInteract.java │ ├── PathfinderGoalJumpOnBlock.java │ ├── PathfinderGoalLeapAtTarget.java │ ├── PathfinderGoalLookAtPlayer.java │ ├── PathfinderGoalLookAtTradingPlayer.java │ ├── PathfinderGoalMakeLove.java │ ├── PathfinderGoalMeleeAttack.java │ ├── PathfinderGoalMoveIndoors.java │ ├── PathfinderGoalMoveThroughVillage.java │ ├── PathfinderGoalMoveTowardsRestriction.java │ ├── PathfinderGoalMoveTowardsTarget.java │ ├── PathfinderGoalNearestAttackableTarget.java │ ├── PathfinderGoalOcelotAttack.java │ ├── PathfinderGoalOfferFlower.java │ ├── PathfinderGoalOpenDoor.java │ ├── PathfinderGoalOwnerHurtByTarget.java │ ├── PathfinderGoalOwnerHurtTarget.java │ ├── PathfinderGoalPanic.java │ ├── PathfinderGoalPassengerCarrotStick.java │ ├── PathfinderGoalPlay.java │ ├── PathfinderGoalRandomLookaround.java │ ├── PathfinderGoalRandomStroll.java │ ├── PathfinderGoalRandomTargetNonTamed.java │ ├── PathfinderGoalRestrictOpenDoor.java │ ├── PathfinderGoalRestrictSun.java │ ├── PathfinderGoalSelector.java │ ├── PathfinderGoalSelectorItem.java │ ├── PathfinderGoalSit.java │ ├── PathfinderGoalSwell.java │ ├── PathfinderGoalTakeFlower.java │ ├── PathfinderGoalTame.java │ ├── PathfinderGoalTarget.java │ ├── PathfinderGoalTempt.java │ ├── PathfinderGoalTradeWithPlayer.java │ ├── PendingChunkToSave.java │ ├── PersistentBase.java │ ├── PersistentCollection.java │ ├── PersistentScoreboard.java │ ├── PersistentStructure.java │ ├── PersistentVillage.java │ ├── PlayerAbilities.java │ ├── PlayerChunk.java │ ├── PlayerChunkMap.java │ ├── PlayerConnection.java │ ├── PlayerConnectionFuture.java │ ├── PlayerDatFileConverter.java │ ├── PlayerDistanceComparator.java │ ├── PlayerInteractManager.java │ ├── PlayerInventory.java │ ├── PlayerList.java │ ├── PlayerListBox.java │ ├── PlayerSelector.java │ ├── PortalCreator.java │ ├── PortalTravelAgent.java │ ├── Position.java │ ├── PossibleFishingResult.java │ ├── PotionBrewer.java │ ├── PredicateEmptyList.java │ ├── ProfilerInfo.java │ ├── PropertyManager.java │ ├── ProtocolOrdinalWrapper.java │ ├── QueuedPacket.java │ ├── QueuedProtocolSwitch.java │ ├── RandomPositionGenerator.java │ ├── RecipeArmorDye.java │ ├── RecipeBookClone.java │ ├── RecipeFireworks.java │ ├── RecipeIngots.java │ ├── RecipeMapClone.java │ ├── RecipeMapExtend.java │ ├── RecipeSorter.java │ ├── RecipesArmor.java │ ├── RecipesCrafting.java │ ├── RecipesDyes.java │ ├── RecipesFood.java │ ├── RecipesFurnace.java │ ├── RecipesTools.java │ ├── RecipesWeapons.java │ ├── RedstoneUpdateInfo.java │ ├── RegionFile.java │ ├── RegionFileCache.java │ ├── Registry.java │ ├── RegistryBlocks.java │ ├── RegistryDefault.java │ ├── RegistryID.java │ ├── RegistryMaterials.java │ ├── RegistrySimple.java │ ├── RemoteConnectionThread.java │ ├── RemoteControlCommandListener.java │ ├── RemoteControlListener.java │ ├── RemoteControlSession.java │ ├── RemoteStatusChallenge.java │ ├── RemoteStatusListener.java │ ├── RemoteStatusReply.java │ ├── ReportedException.java │ ├── Scoreboard.java │ ├── ScoreboardBaseCriteria.java │ ├── ScoreboardComparator.java │ ├── ScoreboardHealthCriteria.java │ ├── ScoreboardObjective.java │ ├── ScoreboardScore.java │ ├── ScoreboardServer.java │ ├── ScoreboardStatisticCriteria.java │ ├── ScoreboardTeam.java │ ├── ScoreboardTeamBase.java │ ├── SecondaryWorldData.java │ ├── SecondaryWorldServer.java │ ├── ServerCommand.java │ ├── ServerConnection.java │ ├── ServerConnectionChannel.java │ ├── ServerConnectionFuture.java │ ├── ServerGUI.java │ ├── ServerGuiCommandListener.java │ ├── ServerGuiFocusAdapter.java │ ├── ServerGuiInvokeRunnable.java │ ├── ServerGuiThreadRunnable.java │ ├── ServerNBTManager.java │ ├── ServerPing.java │ ├── ServerPingPlayerSample.java │ ├── ServerPingPlayerSampleSerializer.java │ ├── ServerPingSerializer.java │ ├── ServerPingServerData.java │ ├── ServerPingServerDataSerializer.java │ ├── ServerStatisticManager.java │ ├── ServerWindowAdapter.java │ ├── ShapedRecipes.java │ ├── ShapelessRecipes.java │ ├── SharedConstants.java │ ├── Slot.java │ ├── SlotAnvilResult.java │ ├── SlotArmor.java │ ├── SlotBeacon.java │ ├── SlotBrewing.java │ ├── SlotEnchant.java │ ├── SlotFurnaceResult.java │ ├── SlotHorseArmor.java │ ├── SlotHorseSaddle.java │ ├── SlotMerchantResult.java │ ├── SlotPotionBottle.java │ ├── SlotResult.java │ ├── SourceBlock.java │ ├── SpawnerCreature.java │ ├── Statistic.java │ ├── StatisticList.java │ ├── StatisticManager.java │ ├── StatisticWrapper.java │ ├── StatusChallengeUtils.java │ ├── StepSound.java │ ├── StepSoundAnvil.java │ ├── StepSoundLadder.java │ ├── StepSoundStone.java │ ├── StructureBoundingBox.java │ ├── StructureGenerator.java │ ├── StructurePiece.java │ ├── StructurePieceBlockSelector.java │ ├── StructurePieceTreasure.java │ ├── StructureStart.java │ ├── ThreadCommandReader.java │ ├── ThreadPlayerLookupUUID.java │ ├── ThreadServerApplication.java │ ├── ThreadShutdown.java │ ├── ThreadSleepForever.java │ ├── TileEntity.java │ ├── TileEntityBeacon.java │ ├── TileEntityBrewingStand.java │ ├── TileEntityChest.java │ ├── TileEntityCommand.java │ ├── TileEntityCommandListener.java │ ├── TileEntityComparator.java │ ├── TileEntityDispenser.java │ ├── TileEntityDropper.java │ ├── TileEntityEnchantTable.java │ ├── TileEntityEnderChest.java │ ├── TileEntityEnderPortal.java │ ├── TileEntityFlowerPot.java │ ├── TileEntityFurnace.java │ ├── TileEntityHopper.java │ ├── TileEntityLightDetector.java │ ├── TileEntityMobSpawner.java │ ├── TileEntityMobSpawnerData.java │ ├── TileEntityNote.java │ ├── TileEntityPiston.java │ ├── TileEntityRecordPlayer.java │ ├── TileEntitySign.java │ ├── TileEntitySkull.java │ ├── TimeCounter.java │ ├── Tuple.java │ ├── UnknownCounter.java │ ├── UserCache.java │ ├── UserCacheEntry.java │ ├── UserCacheEntryType.java │ ├── UtilColor.java │ ├── Vec3D.java │ ├── Village.java │ ├── VillageAggressor.java │ ├── VillageDoor.java │ ├── VillageSiege.java │ ├── WatchableObject.java │ ├── WeightedRandom.java │ ├── WeightedRandomChoice.java │ ├── WhiteList.java │ ├── WhiteListEntry.java │ ├── WhiteListProfileCallback.java │ ├── World.java │ ├── WorldChunkManager.java │ ├── WorldChunkManagerHell.java │ ├── WorldData.java │ ├── WorldGenAcaciaTree.java │ ├── WorldGenBase.java │ ├── WorldGenBigTree.java │ ├── WorldGenBonusChest.java │ ├── WorldGenCactus.java │ ├── WorldGenCanyon.java │ ├── WorldGenCaves.java │ ├── WorldGenCavesHell.java │ ├── WorldGenClay.java │ ├── WorldGenDeadBush.java │ ├── WorldGenDesertWell.java │ ├── WorldGenDungeons.java │ ├── WorldGenEnder.java │ ├── WorldGenFactory.java │ ├── WorldGenFire.java │ ├── WorldGenFlatInfo.java │ ├── WorldGenFlatLayerInfo.java │ ├── WorldGenFlowers.java │ ├── WorldGenForest.java │ ├── WorldGenForestTree.java │ ├── WorldGenGrass.java │ ├── WorldGenGroundBush.java │ ├── WorldGenHellLava.java │ ├── WorldGenHugeMushroom.java │ ├── WorldGenJungleTemple.java │ ├── WorldGenJungleTemplePiece.java │ ├── WorldGenJungleTempleUnknown.java │ ├── WorldGenJungleTree.java │ ├── WorldGenLakes.java │ ├── WorldGenLargeFeature.java │ ├── WorldGenLargeFeatureStart.java │ ├── WorldGenLightStone1.java │ ├── WorldGenLightStone2.java │ ├── WorldGenLiquids.java │ ├── WorldGenMegaTree.java │ ├── WorldGenMegaTreeAbstract.java │ ├── WorldGenMelon.java │ ├── WorldGenMinable.java │ ├── WorldGenMineshaft.java │ ├── WorldGenMineshaftCorridor.java │ ├── WorldGenMineshaftCross.java │ ├── WorldGenMineshaftPieces.java │ ├── WorldGenMineshaftRoom.java │ ├── WorldGenMineshaftStairs.java │ ├── WorldGenMineshaftStart.java │ ├── WorldGenNether.java │ ├── WorldGenNetherPiece.java │ ├── WorldGenNetherPiece1.java │ ├── WorldGenNetherPiece10.java │ ├── WorldGenNetherPiece11.java │ ├── WorldGenNetherPiece12.java │ ├── WorldGenNetherPiece13.java │ ├── WorldGenNetherPiece15.java │ ├── WorldGenNetherPiece16.java │ ├── WorldGenNetherPiece2.java │ ├── WorldGenNetherPiece3.java │ ├── WorldGenNetherPiece4.java │ ├── WorldGenNetherPiece5.java │ ├── WorldGenNetherPiece6.java │ ├── WorldGenNetherPiece7.java │ ├── WorldGenNetherPiece8.java │ ├── WorldGenNetherPiece9.java │ ├── WorldGenNetherPieceWeight.java │ ├── WorldGenNetherPieces.java │ ├── WorldGenNetherStart.java │ ├── WorldGenPackedIce1.java │ ├── WorldGenPackedIce2.java │ ├── WorldGenPumpkin.java │ ├── WorldGenPyramidPiece.java │ ├── WorldGenReed.java │ ├── WorldGenRegistration.java │ ├── WorldGenSand.java │ ├── WorldGenScatteredPiece.java │ ├── WorldGenStronghold.java │ ├── WorldGenStronghold2Start.java │ ├── WorldGenStrongholdChestCorridor.java │ ├── WorldGenStrongholdCorridor.java │ ├── WorldGenStrongholdCrossing.java │ ├── WorldGenStrongholdDoorType.java │ ├── WorldGenStrongholdLeftTurn.java │ ├── WorldGenStrongholdLibrary.java │ ├── WorldGenStrongholdPiece.java │ ├── WorldGenStrongholdPiece2.java │ ├── WorldGenStrongholdPieceWeight.java │ ├── WorldGenStrongholdPieceWeight3.java │ ├── WorldGenStrongholdPieces.java │ ├── WorldGenStrongholdPortalRoom.java │ ├── WorldGenStrongholdPrison.java │ ├── WorldGenStrongholdRightTurn.java │ ├── WorldGenStrongholdRoomCrossing.java │ ├── WorldGenStrongholdStairs.java │ ├── WorldGenStrongholdStairs2.java │ ├── WorldGenStrongholdStairsStraight.java │ ├── WorldGenStrongholdStart.java │ ├── WorldGenStrongholdStones.java │ ├── WorldGenStrongholdUnknown.java │ ├── WorldGenSwampTree.java │ ├── WorldGenTaiga1.java │ ├── WorldGenTaiga2.java │ ├── WorldGenTaigaStructure.java │ ├── WorldGenTallPlant.java │ ├── WorldGenTreeAbstract.java │ ├── WorldGenTrees.java │ ├── WorldGenVillage.java │ ├── WorldGenVillageBlacksmith.java │ ├── WorldGenVillageButcher.java │ ├── WorldGenVillageFarm.java │ ├── WorldGenVillageFarm2.java │ ├── WorldGenVillageHouse.java │ ├── WorldGenVillageHouse2.java │ ├── WorldGenVillageHut.java │ ├── WorldGenVillageLibrary.java │ ├── WorldGenVillageLight.java │ ├── WorldGenVillagePiece.java │ ├── WorldGenVillagePieceWeight.java │ ├── WorldGenVillagePieces.java │ ├── WorldGenVillageRoad.java │ ├── WorldGenVillageRoadPiece.java │ ├── WorldGenVillageStart.java │ ├── WorldGenVillageStartPiece.java │ ├── WorldGenVillageTemple.java │ ├── WorldGenVillageWell.java │ ├── WorldGenVines.java │ ├── WorldGenWaterLily.java │ ├── WorldGenWitchHut.java │ ├── WorldGenerator.java │ ├── WorldLoader.java │ ├── WorldLoaderServer.java │ ├── WorldManager.java │ ├── WorldMap.java │ ├── WorldMapDecoration.java │ ├── WorldMapHumanTracker.java │ ├── WorldNBTStorage.java │ ├── WorldProvider.java │ ├── WorldProviderHell.java │ ├── WorldProviderNormal.java │ ├── WorldProviderTheEnd.java │ ├── WorldServer.java │ ├── WorldSettings.java │ └── WorldType.java └── null /META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Created-By: 1.6.0 3 | Main-Class: net.minecraft.server.MinecraftServer 4 | 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | mc-dev 2 | ====== 3 | 4 | This repository contains [automatically generated](https://github.com/Bukkit/Bukkit-MinecraftServer/) decompiled sources of a (internally renamed) minecraft_server.jar. The original minecraft_server.jar (and therefor this code) is copyrighted by [Mojang AB](http://www.mojang.com). 5 | -------------------------------------------------------------------------------- /font.txt: -------------------------------------------------------------------------------- 1 | # This file NEEDS to be in UTF-8 format! 2 | !"#$%&'()*+,-./ 3 | 0123456789:;<=>? 4 | @ABCDEFGHIJKLMNO 5 | PQRSTUVWXYZ[\]^_ 6 | 'abcdefghijklmno 7 | pqrstuvwxyz{|}~⌂ 8 | ÇüéâäàåçêëèïîìÄÅ 9 | ÉæÆôöòûùÿÖÜø£Ø×ƒ 10 | áíóúñѪº¿®¬½¼¡«» -------------------------------------------------------------------------------- /net/minecraft/server/AttributeInstance.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Collection; 4 | import java.util.UUID; 5 | 6 | public interface AttributeInstance { 7 | 8 | IAttribute getAttribute(); 9 | 10 | double b(); 11 | 12 | void setValue(double d0); 13 | 14 | Collection c(); 15 | 16 | AttributeModifier a(UUID uuid); 17 | 18 | void a(AttributeModifier attributemodifier); 19 | 20 | void b(AttributeModifier attributemodifier); 21 | 22 | double getValue(); 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/BananaAPI.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class BananaAPI {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeBaseSubForest.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | class BiomeBaseSubForest extends BiomeBaseSub { 6 | 7 | final BiomeForest aC; 8 | 9 | BiomeBaseSubForest(BiomeForest biomeforest, int i, BiomeBase biomebase) { 10 | super(i, biomebase); 11 | this.aC = biomeforest; 12 | } 13 | 14 | public WorldGenTreeAbstract a(Random random) { 15 | return random.nextBoolean() ? BiomeForest.aC : BiomeForest.aD; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeBaseSubForest2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | class BiomeBaseSubForest2 extends BiomeBaseSub { 6 | 7 | final BiomeForest aC; 8 | 9 | BiomeBaseSubForest2(BiomeForest biomeforest, int i, BiomeBase biomebase) { 10 | super(i, biomebase); 11 | this.aC = biomeforest; 12 | } 13 | 14 | public void a(World world, Random random, int i, int j) { 15 | this.aD.a(world, random, i, j); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeBeach.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeBeach extends BiomeBase { 4 | 5 | public BiomeBeach(int i) { 6 | super(i); 7 | this.at.clear(); 8 | this.ai = Blocks.SAND; 9 | this.ak = Blocks.SAND; 10 | this.ar.x = -999; 11 | this.ar.A = 0; 12 | this.ar.C = 0; 13 | this.ar.D = 0; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeCacheBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeCacheBlock { 4 | 5 | public float[] a; 6 | public BiomeBase[] b; 7 | public int c; 8 | public int d; 9 | public long e; 10 | final BiomeCache f; 11 | 12 | public BiomeCacheBlock(BiomeCache biomecache, int i, int j) { 13 | this.f = biomecache; 14 | this.a = new float[256]; 15 | this.b = new BiomeBase[256]; 16 | this.c = i; 17 | this.d = j; 18 | BiomeCache.a(biomecache).getWetness(this.a, i << 4, j << 4, 16, 16); 19 | BiomeCache.a(biomecache).a(this.b, i << 4, j << 4, 16, 16, false); 20 | } 21 | 22 | public BiomeBase a(int i, int j) { 23 | return this.b[i & 15 | (j & 15) << 4]; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeHell.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeHell extends BiomeBase { 4 | 5 | public BiomeHell(int i) { 6 | super(i); 7 | this.as.clear(); 8 | this.at.clear(); 9 | this.au.clear(); 10 | this.av.clear(); 11 | this.as.add(new BiomeMeta(EntityGhast.class, 50, 4, 4)); 12 | this.as.add(new BiomeMeta(EntityPigZombie.class, 100, 4, 4)); 13 | this.as.add(new BiomeMeta(EntityMagmaCube.class, 1, 4, 4)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeMeta.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeMeta extends WeightedRandomChoice { 4 | 5 | public Class b; 6 | public int c; 7 | public int d; 8 | 9 | public BiomeMeta(Class oclass, int i, int j, int k) { 10 | super(i); 11 | this.b = oclass; 12 | this.c = j; 13 | this.d = k; 14 | } 15 | 16 | public String toString() { 17 | return this.b.getSimpleName() + "*(" + this.c + "-" + this.d + "):" + this.a; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeMushrooms.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeMushrooms extends BiomeBase { 4 | 5 | public BiomeMushrooms(int i) { 6 | super(i); 7 | this.ar.x = -100; 8 | this.ar.y = -100; 9 | this.ar.z = -100; 10 | this.ar.B = 1; 11 | this.ar.H = 1; 12 | this.ai = Blocks.MYCEL; 13 | this.as.clear(); 14 | this.at.clear(); 15 | this.au.clear(); 16 | this.at.add(new BiomeMeta(EntityMushroomCow.class, 8, 4, 8)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeOcean.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BiomeOcean extends BiomeBase { 6 | 7 | public BiomeOcean(int i) { 8 | super(i); 9 | this.at.clear(); 10 | } 11 | 12 | public EnumTemperature m() { 13 | return EnumTemperature.OCEAN; 14 | } 15 | 16 | public void a(World world, Random random, Block[] ablock, byte[] abyte, int i, int j, double d0) { 17 | super.a(world, random, ablock, abyte, i, j, d0); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeRiver.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeRiver extends BiomeBase { 4 | 5 | public BiomeRiver(int i) { 6 | super(i); 7 | this.at.clear(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeStoneBeach.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeStoneBeach extends BiomeBase { 4 | 5 | public BiomeStoneBeach(int i) { 6 | super(i); 7 | this.at.clear(); 8 | this.ai = Blocks.STONE; 9 | this.ak = Blocks.STONE; 10 | this.ar.x = -999; 11 | this.ar.A = 0; 12 | this.ar.C = 0; 13 | this.ar.D = 0; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeTemperature.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeTemperature { 4 | 5 | public float a; 6 | public float b; 7 | 8 | public BiomeTemperature(float f, float f1) { 9 | this.a = f; 10 | this.b = f1; 11 | } 12 | 13 | public BiomeTemperature a() { 14 | return new BiomeTemperature(this.a * 0.8F, this.b * 0.6F); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BiomeTheEnd.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BiomeTheEnd extends BiomeBase { 4 | 5 | public BiomeTheEnd(int i) { 6 | super(i); 7 | this.as.clear(); 8 | this.at.clear(); 9 | this.au.clear(); 10 | this.av.clear(); 11 | this.as.add(new BiomeMeta(EntityEnderman.class, 10, 4, 4)); 12 | this.ai = Blocks.DIRT; 13 | this.ak = Blocks.DIRT; 14 | this.ar = new BiomeTheEndDecorator(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockActionDataList.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.ArrayList; 4 | 5 | class BlockActionDataList extends ArrayList { 6 | 7 | private BlockActionDataList() {} 8 | 9 | BlockActionDataList(BananaAPI bananaapi) { 10 | this(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockAir.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockAir extends Block { 4 | 5 | protected BlockAir() { 6 | super(Material.AIR); 7 | } 8 | 9 | public int b() { 10 | return -1; 11 | } 12 | 13 | public AxisAlignedBB a(World world, int i, int j, int k) { 14 | return null; 15 | } 16 | 17 | public boolean c() { 18 | return false; 19 | } 20 | 21 | public boolean a(int i, boolean flag) { 22 | return false; 23 | } 24 | 25 | public void dropNaturally(World world, int i, int j, int k, int l, float f, int i1) {} 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockBloodStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockBloodStone extends Block { 4 | 5 | public BlockBloodStone() { 6 | super(Material.STONE); 7 | this.a(CreativeModeTab.b); 8 | } 9 | 10 | public MaterialMapColor f(int i) { 11 | return MaterialMapColor.K; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockBookshelf.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockBookshelf extends Block { 6 | 7 | public BlockBookshelf() { 8 | super(Material.WOOD); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public int a(Random random) { 13 | return 3; 14 | } 15 | 16 | public Item getDropType(int i, Random random, int j) { 17 | return Items.BOOK; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockCarrots.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockCarrots extends BlockCrops { 4 | 5 | public BlockCarrots() {} 6 | 7 | protected Item i() { 8 | return Items.CARROT; 9 | } 10 | 11 | protected Item P() { 12 | return Items.CARROT; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockClay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockClay extends Block { 6 | 7 | public BlockClay() { 8 | super(Material.CLAY); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public Item getDropType(int i, Random random, int j) { 13 | return Items.CLAY_BALL; 14 | } 15 | 16 | public int a(Random random) { 17 | return 4; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockCloth.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockCloth extends Block { 4 | 5 | public BlockCloth(Material material) { 6 | super(material); 7 | this.a(CreativeModeTab.b); 8 | } 9 | 10 | public int getDropData(int i) { 11 | return i; 12 | } 13 | 14 | public static int b(int i) { 15 | return c(i); 16 | } 17 | 18 | public static int c(int i) { 19 | return ~i & 15; 20 | } 21 | 22 | public MaterialMapColor f(int i) { 23 | return MaterialMapColor.a(i); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockDirectional.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class BlockDirectional extends Block { 4 | 5 | protected BlockDirectional(Material material) { 6 | super(material); 7 | } 8 | 9 | public static int l(int i) { 10 | return i & 3; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockDirt.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockDirt extends Block { 4 | 5 | public static final String[] a = new String[] { "default", "default", "podzol"}; 6 | 7 | protected BlockDirt() { 8 | super(Material.EARTH); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public int getDropData(int i) { 13 | return 0; 14 | } 15 | 16 | protected ItemStack j(int i) { 17 | if (i == 1) { 18 | i = 0; 19 | } 20 | 21 | return super.j(i); 22 | } 23 | 24 | public int getDropData(World world, int i, int j, int k) { 25 | int l = world.getData(i, j, k); 26 | 27 | if (l == 1) { 28 | l = 0; 29 | } 30 | 31 | return l; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockGlass.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockGlass extends BlockHalfTransparent { 6 | 7 | public BlockGlass(Material material, boolean flag) { 8 | super("glass", material, flag); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public int a(Random random) { 13 | return 0; 14 | } 15 | 16 | public boolean d() { 17 | return false; 18 | } 19 | 20 | protected boolean E() { 21 | return true; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockGravel.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockGravel extends BlockFalling { 6 | 7 | public BlockGravel() {} 8 | 9 | public Item getDropType(int i, Random random, int j) { 10 | if (j > 3) { 11 | j = 3; 12 | } 13 | 14 | return random.nextInt(10 - j * 3) == 0 ? Items.FLINT : Item.getItemOf(this); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockHalfTransparent.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockHalfTransparent extends Block { 4 | 5 | private boolean a; 6 | private String b; 7 | 8 | protected BlockHalfTransparent(String s, Material material, boolean flag) { 9 | super(material); 10 | this.a = flag; 11 | this.b = s; 12 | } 13 | 14 | public boolean c() { 15 | return false; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockHardenedClay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockHardenedClay extends Block { 4 | 5 | public BlockHardenedClay() { 6 | super(Material.STONE); 7 | this.a(CreativeModeTab.b); 8 | } 9 | 10 | public MaterialMapColor f(int i) { 11 | return MaterialMapColor.q; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockHay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockHay extends BlockRotatable { 4 | 5 | public BlockHay() { 6 | super(Material.GRASS); 7 | this.a(CreativeModeTab.b); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockHugeMushroom.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockHugeMushroom extends Block { 6 | 7 | private static final String[] a = new String[] { "skin_brown", "skin_red"}; 8 | private final int b; 9 | 10 | public BlockHugeMushroom(Material material, int i) { 11 | super(material); 12 | this.b = i; 13 | } 14 | 15 | public int a(Random random) { 16 | int i = random.nextInt(10) - 7; 17 | 18 | if (i < 0) { 19 | i = 0; 20 | } 21 | 22 | return i; 23 | } 24 | 25 | public Item getDropType(int i, Random random, int j) { 26 | return Item.getById(Block.getId(Blocks.BROWN_MUSHROOM) + this.b); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockLightStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockLightStone extends Block { 6 | 7 | public BlockLightStone(Material material) { 8 | super(material); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public int getDropCount(int i, Random random) { 13 | return MathHelper.a(this.a(random) + random.nextInt(i + 1), 1, 4); 14 | } 15 | 16 | public int a(Random random) { 17 | return 2 + random.nextInt(3); 18 | } 19 | 20 | public Item getDropType(int i, Random random, int j) { 21 | return Items.GLOWSTONE_DUST; 22 | } 23 | 24 | public MaterialMapColor f(int i) { 25 | return MaterialMapColor.d; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockLog1.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockLog1 extends BlockLogAbstract { 4 | 5 | public static final String[] M = new String[] { "oak", "spruce", "birch", "jungle"}; 6 | 7 | public BlockLog1() {} 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockLog2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockLog2 extends BlockLogAbstract { 4 | 5 | public static final String[] M = new String[] { "acacia", "big_oak"}; 6 | 7 | public BlockLog2() {} 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockMelon.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockMelon extends Block { 6 | 7 | protected BlockMelon() { 8 | super(Material.PUMPKIN); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public Item getDropType(int i, Random random, int j) { 13 | return Items.MELON; 14 | } 15 | 16 | public int a(Random random) { 17 | return 3 + random.nextInt(5); 18 | } 19 | 20 | public int getDropCount(int i, Random random) { 21 | int j = this.a(random) + random.nextInt(1 + i); 22 | 23 | if (j > 9) { 24 | j = 9; 25 | } 26 | 27 | return j; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockMinecartTrack.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockMinecartTrack extends BlockMinecartTrackAbstract { 4 | 5 | protected BlockMinecartTrack() { 6 | super(false); 7 | } 8 | 9 | protected void a(World world, int i, int j, int k, int l, int i1, Block block) { 10 | if (block.isPowerSource() && (new MinecartTrackLogic(this, world, i, j, k)).a() == 3) { 11 | this.a(world, i, j, k, false); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockObsidian.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockObsidian extends BlockStone { 6 | 7 | public BlockObsidian() {} 8 | 9 | public int a(Random random) { 10 | return 1; 11 | } 12 | 13 | public Item getDropType(int i, Random random, int j) { 14 | return Item.getItemOf(Blocks.OBSIDIAN); 15 | } 16 | 17 | public MaterialMapColor f(int i) { 18 | return MaterialMapColor.J; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockOreBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockOreBlock extends Block { 4 | 5 | private final MaterialMapColor a; 6 | 7 | public BlockOreBlock(MaterialMapColor materialmapcolor) { 8 | super(Material.ORE); 9 | this.a = materialmapcolor; 10 | this.a(CreativeModeTab.b); 11 | } 12 | 13 | public MaterialMapColor f(int i) { 14 | return this.a; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockPackedIce.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockPackedIce extends Block { 6 | 7 | public BlockPackedIce() { 8 | super(Material.SNOW_LAYER); 9 | this.frictionFactor = 0.98F; 10 | this.a(CreativeModeTab.b); 11 | } 12 | 13 | public int a(Random random) { 14 | return 0; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockPotatoes.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockPotatoes extends BlockCrops { 4 | 5 | public BlockPotatoes() {} 6 | 7 | protected Item i() { 8 | return Items.POTATO; 9 | } 10 | 11 | protected Item P() { 12 | return Items.POTATO; 13 | } 14 | 15 | public void dropNaturally(World world, int i, int j, int k, int l, float f, int i1) { 16 | super.dropNaturally(world, i, j, k, l, f, i1); 17 | if (!world.isStatic) { 18 | if (l >= 7 && world.random.nextInt(50) == 0) { 19 | this.a(world, i, j, k, new ItemStack(Items.POTATO_POISON)); 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockRedstone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockRedstone extends BlockOreBlock { 4 | 5 | public BlockRedstone(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | this.a(CreativeModeTab.d); 8 | } 9 | 10 | public boolean isPowerSource() { 11 | return true; 12 | } 13 | 14 | public int b(IBlockAccess iblockaccess, int i, int j, int k, int l) { 15 | return 15; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockSand extends BlockFalling { 4 | 5 | public static final String[] a = new String[] { "default", "red"}; 6 | 7 | public BlockSand() {} 8 | 9 | public int getDropData(int i) { 10 | return i; 11 | } 12 | 13 | public MaterialMapColor f(int i) { 14 | return i == 1 ? MaterialMapColor.l : MaterialMapColor.d; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSandStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockSandStone extends Block { 4 | 5 | public static final String[] a = new String[] { "default", "chiseled", "smooth"}; 6 | private static final String[] b = new String[] { "normal", "carved", "smooth"}; 7 | 8 | public BlockSandStone() { 9 | super(Material.STONE); 10 | this.a(CreativeModeTab.b); 11 | } 12 | 13 | public int getDropData(int i) { 14 | return i; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSlowSand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockSlowSand extends Block { 4 | 5 | public BlockSlowSand() { 6 | super(Material.SAND); 7 | this.a(CreativeModeTab.b); 8 | } 9 | 10 | public AxisAlignedBB a(World world, int i, int j, int k) { 11 | float f = 0.125F; 12 | 13 | return AxisAlignedBB.a((double) i, (double) j, (double) k, (double) (i + 1), (double) ((float) (j + 1) - f), (double) (k + 1)); 14 | } 15 | 16 | public void a(World world, int i, int j, int k, Entity entity) { 17 | entity.motX *= 0.4D; 18 | entity.motZ *= 0.4D; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSmoothBrick.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockSmoothBrick extends Block { 4 | 5 | public static final String[] a = new String[] { "default", "mossy", "cracked", "chiseled"}; 6 | public static final String[] b = new String[] { null, "mossy", "cracked", "carved"}; 7 | 8 | public BlockSmoothBrick() { 9 | super(Material.STONE); 10 | this.a(CreativeModeTab.b); 11 | } 12 | 13 | public int getDropData(int i) { 14 | return i; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSnowBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockSnowBlock extends Block { 6 | 7 | protected BlockSnowBlock() { 8 | super(Material.SNOW_BLOCK); 9 | this.a(true); 10 | this.a(CreativeModeTab.b); 11 | } 12 | 13 | public Item getDropType(int i, Random random, int j) { 14 | return Items.SNOW_BALL; 15 | } 16 | 17 | public int a(Random random) { 18 | return 4; 19 | } 20 | 21 | public void a(World world, int i, int j, int k, Random random) { 22 | if (world.b(EnumSkyBlock.BLOCK, i, j, k) > 11) { 23 | this.b(world, i, j, k, world.getData(i, j, k), 0); 24 | world.setAir(i, j, k); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockSponge.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockSponge extends Block { 4 | 5 | protected BlockSponge() { 6 | super(Material.SPONGE); 7 | this.a(CreativeModeTab.b); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockStainedGlass.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockStainedGlass extends BlockHalfTransparent { 6 | 7 | private static final IIcon[] a = new IIcon[16]; 8 | 9 | public BlockStainedGlass(Material material) { 10 | super("glass", material, false); 11 | this.a(CreativeModeTab.b); 12 | } 13 | 14 | public int getDropData(int i) { 15 | return i; 16 | } 17 | 18 | public int a(Random random) { 19 | return 0; 20 | } 21 | 22 | protected boolean E() { 23 | return true; 24 | } 25 | 26 | public boolean d() { 27 | return false; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockStainedGlassPane.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockStainedGlassPane extends BlockThin { 4 | 5 | private static final IIcon[] a = new IIcon[16]; 6 | private static final IIcon[] b = new IIcon[16]; 7 | 8 | public BlockStainedGlassPane() { 9 | super("glass", "glass_pane_top", Material.SHATTERABLE, false); 10 | this.a(CreativeModeTab.c); 11 | } 12 | 13 | public int getDropData(int i) { 14 | return i; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class BlockStone extends Block { 6 | 7 | public BlockStone() { 8 | super(Material.STONE); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public Item getDropType(int i, Random random, int j) { 13 | return Item.getItemOf(Blocks.COBBLESTONE); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockStoneButton.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockStoneButton extends BlockButtonAbstract { 4 | 5 | protected BlockStoneButton() { 6 | super(false); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockTransparent.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockTransparent extends Block { 4 | 5 | protected boolean P; 6 | 7 | protected BlockTransparent(Material material, boolean flag) { 8 | super(material); 9 | this.P = flag; 10 | } 11 | 12 | public boolean c() { 13 | return false; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockWood.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockWood extends Block { 4 | 5 | public static final String[] a = new String[] { "oak", "spruce", "birch", "jungle", "acacia", "big_oak"}; 6 | 7 | public BlockWood() { 8 | super(Material.WOOD); 9 | this.a(CreativeModeTab.b); 10 | } 11 | 12 | public int getDropData(int i) { 13 | return i; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockWoodButton.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockWoodButton extends BlockButtonAbstract { 4 | 5 | protected BlockWoodButton() { 6 | super(true); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/BlockWorkbench.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class BlockWorkbench extends Block { 4 | 5 | protected BlockWorkbench() { 6 | super(Material.WOOD); 7 | this.a(CreativeModeTab.c); 8 | } 9 | 10 | public boolean interact(World world, int i, int j, int k, EntityHuman entityhuman, int l, float f, float f1, float f2) { 11 | if (world.isStatic) { 12 | return true; 13 | } else { 14 | entityhuman.startCrafting(i, j, k); 15 | return true; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/ChatFunction1.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Iterator; 4 | 5 | import net.minecraft.util.com.google.common.base.Function; 6 | 7 | final class ChatFunction1 implements Function { 8 | 9 | ChatFunction1() {} 10 | 11 | public Iterator a(IChatBaseComponent ichatbasecomponent) { 12 | return ichatbasecomponent.iterator(); 13 | } 14 | 15 | public Object apply(Object object) { 16 | return this.a((IChatBaseComponent) object); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/ChatFunction2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.google.common.base.Function; 4 | 5 | final class ChatFunction2 implements Function { 6 | 7 | ChatFunction2() {} 8 | 9 | public IChatBaseComponent a(IChatBaseComponent ichatbasecomponent) { 10 | IChatBaseComponent ichatbasecomponent1 = ichatbasecomponent.f(); 11 | 12 | ichatbasecomponent1.setChatModifier(ichatbasecomponent1.getChatModifier().m()); 13 | return ichatbasecomponent1; 14 | } 15 | 16 | public Object apply(Object object) { 17 | return this.a((IChatBaseComponent) object); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/ChatMessageException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ChatMessageException extends IllegalArgumentException { 4 | 5 | public ChatMessageException(ChatMessage chatmessage, String s) { 6 | super(String.format("Error parsing: %s: %s", new Object[] { chatmessage, s})); 7 | } 8 | 9 | public ChatMessageException(ChatMessage chatmessage, int i) { 10 | super(String.format("Invalid index %d requested for %s", new Object[] { Integer.valueOf(i), chatmessage})); 11 | } 12 | 13 | public ChatMessageException(ChatMessage chatmessage, Throwable throwable) { 14 | super(String.format("Error while parsing: %s", new Object[] { chatmessage}), throwable); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/ChunkBuffer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.io.ByteArrayOutputStream; 4 | 5 | class ChunkBuffer extends ByteArrayOutputStream { 6 | 7 | private int b; 8 | private int c; 9 | final RegionFile a; 10 | 11 | public ChunkBuffer(RegionFile regionfile, int i, int j) { 12 | super(8096); 13 | this.a = regionfile; 14 | this.b = i; 15 | this.c = j; 16 | } 17 | 18 | public void close() { 19 | this.a.a(this.b, this.c, this.buf, this.count); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/ChunkCoordinatesPortal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ChunkCoordinatesPortal extends ChunkCoordinates { 4 | 5 | public long d; 6 | final PortalTravelAgent e; 7 | 8 | public ChunkCoordinatesPortal(PortalTravelAgent portaltravelagent, int i, int j, int k, long l) { 9 | super(i, j, k); 10 | this.e = portaltravelagent; 11 | this.d = l; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/ChunkFilenameFilter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.io.File; 4 | import java.io.FilenameFilter; 5 | 6 | class ChunkFilenameFilter implements FilenameFilter { 7 | 8 | final WorldLoaderServer a; 9 | 10 | ChunkFilenameFilter(WorldLoaderServer worldloaderserver) { 11 | this.a = worldloaderserver; 12 | } 13 | 14 | public boolean accept(File file1, String s) { 15 | return s.endsWith(".mcr"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/ChunkMap.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ChunkMap { 4 | 5 | public byte[] a; 6 | public int b; 7 | public int c; 8 | 9 | public ChunkMap() {} 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/ClientCommandOrdinalWrapper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ClientCommandOrdinalWrapper { 4 | 5 | static final int[] a = new int[EnumClientCommand.values().length]; 6 | 7 | static { 8 | try { 9 | a[EnumClientCommand.PERFORM_RESPAWN.ordinal()] = 1; 10 | } catch (NoSuchFieldError nosuchfielderror) { 11 | ; 12 | } 13 | 14 | try { 15 | a[EnumClientCommand.REQUEST_STATS.ordinal()] = 2; 16 | } catch (NoSuchFieldError nosuchfielderror1) { 17 | ; 18 | } 19 | 20 | try { 21 | a[EnumClientCommand.OPEN_INVENTORY_ACHIEVEMENT.ordinal()] = 3; 22 | } catch (NoSuchFieldError nosuchfielderror2) { 23 | ; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/CommandException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CommandException extends RuntimeException { 4 | 5 | private Object[] a; 6 | 7 | public CommandException(String s, Object... aobject) { 8 | super(s); 9 | this.a = aobject; 10 | } 11 | 12 | public Object[] getArgs() { 13 | return this.a; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/CommandKill.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CommandKill extends CommandAbstract { 4 | 5 | public CommandKill() {} 6 | 7 | public String getCommand() { 8 | return "kill"; 9 | } 10 | 11 | public int a() { 12 | return 0; 13 | } 14 | 15 | public String c(ICommandListener icommandlistener) { 16 | return "commands.kill.usage"; 17 | } 18 | 19 | public void execute(ICommandListener icommandlistener, String[] astring) { 20 | EntityPlayer entityplayer = b(icommandlistener); 21 | 22 | entityplayer.damageEntity(DamageSource.OUT_OF_WORLD, Float.MAX_VALUE); 23 | icommandlistener.sendMessage(new ChatMessage("commands.kill.success", new Object[0])); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/CommandPublish.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CommandPublish extends CommandAbstract { 4 | 5 | public CommandPublish() {} 6 | 7 | public String getCommand() { 8 | return "publish"; 9 | } 10 | 11 | public String c(ICommandListener icommandlistener) { 12 | return "commands.publish.usage"; 13 | } 14 | 15 | public void execute(ICommandListener icommandlistener, String[] astring) { 16 | String s = MinecraftServer.getServer().a(EnumGamemode.SURVIVAL, false); 17 | 18 | if (s != null) { 19 | a(icommandlistener, this, "commands.publish.started", new Object[] { s}); 20 | } else { 21 | a(icommandlistener, this, "commands.publish.failed", new Object[0]); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/CommandStop.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CommandStop extends CommandAbstract { 4 | 5 | public CommandStop() {} 6 | 7 | public String getCommand() { 8 | return "stop"; 9 | } 10 | 11 | public String c(ICommandListener icommandlistener) { 12 | return "commands.stop.usage"; 13 | } 14 | 15 | public void execute(ICommandListener icommandlistener, String[] astring) { 16 | if (MinecraftServer.getServer().worldServer != null) { 17 | a(icommandlistener, this, "commands.stop.start", new Object[0]); 18 | } 19 | 20 | MinecraftServer.getServer().safeShutdown(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ContainerAnvilInventory.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ContainerAnvilInventory extends InventorySubcontainer { 4 | 5 | final ContainerAnvil a; 6 | 7 | ContainerAnvilInventory(ContainerAnvil containeranvil, String s, boolean flag, int i) { 8 | super(s, flag, i); 9 | this.a = containeranvil; 10 | } 11 | 12 | public void update() { 13 | super.update(); 14 | this.a.a((IInventory) this); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/ContainerEnchantTableInventory.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ContainerEnchantTableInventory extends InventorySubcontainer { 4 | 5 | final ContainerEnchantTable enchantTable; 6 | 7 | ContainerEnchantTableInventory(ContainerEnchantTable containerenchanttable, String s, boolean flag, int i) { 8 | super(s, flag, i); 9 | this.enchantTable = containerenchanttable; 10 | } 11 | 12 | public int getMaxStackSize() { 13 | return 1; 14 | } 15 | 16 | public void update() { 17 | super.update(); 18 | this.enchantTable.a((IInventory) this); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/ContainerSheepBreed.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ContainerSheepBreed extends Container { 4 | 5 | final EntitySheep a; 6 | 7 | ContainerSheepBreed(EntitySheep entitysheep) { 8 | this.a = entitysheep; 9 | } 10 | 11 | public boolean a(EntityHuman entityhuman) { 12 | return false; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/ControllerJump.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ControllerJump { 4 | 5 | private EntityInsentient a; 6 | private boolean b; 7 | 8 | public ControllerJump(EntityInsentient entityinsentient) { 9 | this.a = entityinsentient; 10 | } 11 | 12 | public void a() { 13 | this.b = true; 14 | } 15 | 16 | public void b() { 17 | this.a.f(this.b); 18 | this.b = false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/ConvertProgressUpdater.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ConvertProgressUpdater implements IProgressUpdate { 4 | 5 | private long b; 6 | final MinecraftServer a; 7 | 8 | public ConvertProgressUpdater(MinecraftServer minecraftserver) { 9 | this.a = minecraftserver; 10 | this.b = MinecraftServer.ar(); 11 | } 12 | 13 | public void a(String s) {} 14 | 15 | public void a(int i) { 16 | if (MinecraftServer.ar() - this.b >= 1000L) { 17 | this.b = MinecraftServer.ar(); 18 | MinecraftServer.getLogger().info("Converting... " + i + "%"); 19 | } 20 | } 21 | 22 | public void c(String s) {} 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/Convertable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface Convertable { 4 | 5 | IDataManager a(String s, boolean flag); 6 | 7 | void d(); 8 | 9 | boolean e(String s); 10 | 11 | boolean isConvertable(String s); 12 | 13 | boolean convert(String s, IProgressUpdate iprogressupdate); 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/Counter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface Counter {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/CounterStatistic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CounterStatistic extends Statistic { 4 | 5 | public CounterStatistic(String s, IChatBaseComponent ichatbasecomponent, Counter counter) { 6 | super(s, ichatbasecomponent, counter); 7 | } 8 | 9 | public CounterStatistic(String s, IChatBaseComponent ichatbasecomponent) { 10 | super(s, ichatbasecomponent); 11 | } 12 | 13 | public Statistic h() { 14 | super.h(); 15 | StatisticList.c.add(this); 16 | return this; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/CraftingStatistic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class CraftingStatistic extends Statistic { 4 | 5 | private final Item a; 6 | 7 | public CraftingStatistic(String s, IChatBaseComponent ichatbasecomponent, Item item) { 8 | super(s, ichatbasecomponent); 9 | this.a = item; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportAABBPoolSize.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportAABBPoolSize implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportAABBPoolSize(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | byte b0 = 0; 15 | int i = 56 * b0; 16 | int j = i / 1024 / 1024; 17 | byte b1 = 0; 18 | int k = 56 * b1; 19 | int l = k / 1024 / 1024; 20 | 21 | return b0 + " (" + i + " bytes; " + j + " MB) allocated, " + b1 + " (" + k + " bytes; " + l + " MB) used"; 22 | } 23 | 24 | public Object call() { 25 | return this.a(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportBlockDataValue.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | final class CrashReportBlockDataValue implements Callable { 6 | 7 | final int a; 8 | 9 | CrashReportBlockDataValue(int i) { 10 | this.a = i; 11 | } 12 | 13 | public String a() { 14 | if (this.a < 0) { 15 | return "Unknown? (Got " + this.a + ")"; 16 | } else { 17 | String s = String.format("%4s", new Object[] { Integer.toBinaryString(this.a)}).replace(" ", "0"); 18 | 19 | return String.format("%1$d / 0x%1$X / 0b%2$s", new Object[] { Integer.valueOf(this.a), s}); 20 | } 21 | } 22 | 23 | public Object call() { 24 | return this.a(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportBlockLocation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | final class CrashReportBlockLocation implements Callable { 6 | 7 | final int a; 8 | final int b; 9 | final int c; 10 | 11 | CrashReportBlockLocation(int i, int j, int k) { 12 | this.a = i; 13 | this.b = j; 14 | this.c = k; 15 | } 16 | 17 | public String a() { 18 | return CrashReportSystemDetails.a(this.a, this.b, this.c); 19 | } 20 | 21 | public Object call() { 22 | return this.a(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportBlockType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | final class CrashReportBlockType implements Callable { 6 | 7 | final int a; 8 | final Block b; 9 | 10 | CrashReportBlockType(int i, Block block) { 11 | this.a = i; 12 | this.b = block; 13 | } 14 | 15 | public String a() { 16 | try { 17 | return String.format("ID #%d (%s // %s)", new Object[] { Integer.valueOf(this.a), this.b.a(), this.b.getClass().getCanonicalName()}); 18 | } catch (Throwable throwable) { 19 | return "ID #" + this.a; 20 | } 21 | } 22 | 23 | public Object call() { 24 | return this.a(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportChunkPosHash.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportChunkPosHash implements Callable { 6 | 7 | final int a; 8 | final int b; 9 | final StructureGenerator c; 10 | 11 | CrashReportChunkPosHash(StructureGenerator structuregenerator, int i, int j) { 12 | this.c = structuregenerator; 13 | this.a = i; 14 | this.b = j; 15 | } 16 | 17 | public String a() { 18 | return String.valueOf(ChunkCoordIntPair.a(this.a, this.b)); 19 | } 20 | 21 | public Object call() { 22 | return this.a(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportChunkStats.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportChunkStats implements Callable { 6 | 7 | final World a; 8 | 9 | CrashReportChunkStats(World world) { 10 | this.a = world; 11 | } 12 | 13 | public String a() { 14 | return this.a.chunkProvider.getName(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportConnectionPacketClass.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportConnectionPacketClass implements Callable { 6 | 7 | final Packet a; 8 | final PlayerConnection b; 9 | 10 | CrashReportConnectionPacketClass(PlayerConnection playerconnection, Packet packet) { 11 | this.b = playerconnection; 12 | this.a = packet; 13 | } 14 | 15 | public String a() { 16 | return this.a.getClass().getCanonicalName(); 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportCorruptNBTTag.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportCorruptNBTTag implements Callable { 6 | 7 | final String a; 8 | final NBTTagCompound b; 9 | 10 | CrashReportCorruptNBTTag(NBTTagCompound nbttagcompound, String s) { 11 | this.b = nbttagcompound; 12 | this.a = s; 13 | } 14 | 15 | public String a() { 16 | return NBTBase.a[((NBTBase) NBTTagCompound.a(this.b).get(this.a)).getTypeId()]; 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportCorruptNBTTag2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportCorruptNBTTag2 implements Callable { 6 | 7 | final int a; 8 | final NBTTagCompound b; 9 | 10 | CrashReportCorruptNBTTag2(NBTTagCompound nbttagcompound, int i) { 11 | this.b = nbttagcompound; 12 | this.a = i; 13 | } 14 | 15 | public String a() { 16 | return NBTBase.a[this.a]; 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportDetail.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class CrashReportDetail { 4 | 5 | private final String a; 6 | private final String b; 7 | 8 | public CrashReportDetail(String s, Object object) { 9 | this.a = s; 10 | if (object == null) { 11 | this.b = "~~NULL~~"; 12 | } else if (object instanceof Throwable) { 13 | Throwable throwable = (Throwable) object; 14 | 15 | this.b = "~~ERROR~~ " + throwable.getClass().getSimpleName() + ": " + throwable.getMessage(); 16 | } else { 17 | this.b = object.toString(); 18 | } 19 | } 20 | 21 | public String a() { 22 | return this.a; 23 | } 24 | 25 | public String b() { 26 | return this.b; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportEntityName.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportEntityName implements Callable { 6 | 7 | final Entity a; 8 | 9 | CrashReportEntityName(Entity entity) { 10 | this.a = entity; 11 | } 12 | 13 | public String a() { 14 | return this.a.getName(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportEntityTrackerUpdateInterval.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportEntityTrackerUpdateInterval implements Callable { 6 | 7 | final int a; 8 | final EntityTracker b; 9 | 10 | CrashReportEntityTrackerUpdateInterval(EntityTracker entitytracker, int i) { 11 | this.b = entitytracker; 12 | this.a = i; 13 | } 14 | 15 | public String a() { 16 | String s = "Once per " + this.a + " ticks"; 17 | 18 | if (this.a == Integer.MAX_VALUE) { 19 | s = "Maximum (" + s + ")"; 20 | } 21 | 22 | return s; 23 | } 24 | 25 | public Object call() { 26 | return this.a(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportEntityType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportEntityType implements Callable { 6 | 7 | final Entity a; 8 | 9 | CrashReportEntityType(Entity entity) { 10 | this.a = entity; 11 | } 12 | 13 | public String a() { 14 | return EntityTypes.b(this.a) + " (" + this.a.getClass().getCanonicalName() + ")"; 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportGenLayer1.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | final class CrashReportGenLayer1 implements Callable { 6 | 7 | final int a; 8 | 9 | CrashReportGenLayer1(int i) { 10 | this.a = i; 11 | } 12 | 13 | public String a() { 14 | return String.valueOf(BiomeBase.getBiome(this.a)); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportGenLayer2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | final class CrashReportGenLayer2 implements Callable { 6 | 7 | final int a; 8 | 9 | CrashReportGenLayer2(int i) { 10 | this.a = i; 11 | } 12 | 13 | public String a() { 14 | return String.valueOf(BiomeBase.getBiome(this.a)); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportIntCacheSize.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportIntCacheSize implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportIntCacheSize(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | return IntCache.b(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportIsFeatureChunk.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportIsFeatureChunk implements Callable { 6 | 7 | final int a; 8 | final int b; 9 | final StructureGenerator c; 10 | 11 | CrashReportIsFeatureChunk(StructureGenerator structuregenerator, int i, int j) { 12 | this.c = structuregenerator; 13 | this.a = i; 14 | this.b = j; 15 | } 16 | 17 | public String a() { 18 | return this.c.a(this.a, this.b) ? "True" : "False"; 19 | } 20 | 21 | public Object call() { 22 | return this.a(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportItemName.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportItemName implements Callable { 6 | 7 | final ItemStack a; 8 | final PlayerInventory b; 9 | 10 | CrashReportItemName(PlayerInventory playerinventory, ItemStack itemstack) { 11 | this.b = playerinventory; 12 | this.a = itemstack; 13 | } 14 | 15 | public String a() { 16 | return this.a.getName(); 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportJavaVMVersion.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportJavaVMVersion implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportJavaVMVersion(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | return System.getProperty("java.vm.name") + " (" + System.getProperty("java.vm.info") + "), " + System.getProperty("java.vm.vendor"); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportJavaVersion.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportJavaVersion implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportJavaVersion(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | return System.getProperty("java.version") + ", " + System.getProperty("java.vendor"); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelDimension.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelDimension implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelDimension(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.valueOf(WorldData.i(this.a)); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelGameMode.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelGameMode implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelGameMode(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.format("Game mode: %s (ID %d). Hardcore: %b. Cheats: %b", new Object[] { WorldData.o(this.a).b(), Integer.valueOf(WorldData.o(this.a).getId()), Boolean.valueOf(WorldData.p(this.a)), Boolean.valueOf(WorldData.q(this.a))}); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelGenerator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelGenerator implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelGenerator(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.format("ID %02d - %s, ver %d. Features enabled: %b", new Object[] { Integer.valueOf(WorldData.a(this.a).g()), WorldData.a(this.a).name(), Integer.valueOf(WorldData.a(this.a).getVersion()), Boolean.valueOf(WorldData.b(this.a))}); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelGeneratorOptions.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelGeneratorOptions implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelGeneratorOptions(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return WorldData.c(this.a); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelSeed.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelSeed implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelSeed(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.valueOf(this.a.getSeed()); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelSpawnLocation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelSpawnLocation implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelSpawnLocation(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return CrashReportSystemDetails.a(WorldData.d(this.a), WorldData.e(this.a), WorldData.f(this.a)); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelTime.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelTime implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelTime(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.format("%d game time, %d day time", new Object[] { Long.valueOf(WorldData.g(this.a)), Long.valueOf(WorldData.h(this.a))}); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLevelWeather.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLevelWeather implements Callable { 6 | 7 | final WorldData a; 8 | 9 | CrashReportLevelWeather(WorldData worlddata) { 10 | this.a = worlddata; 11 | } 12 | 13 | public String a() { 14 | return String.format("Rain time: %d (now: %b), thunder time: %d (now: %b)", new Object[] { Integer.valueOf(WorldData.k(this.a)), Boolean.valueOf(WorldData.l(this.a)), Integer.valueOf(WorldData.m(this.a)), Boolean.valueOf(WorldData.n(this.a))}); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportLocation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportLocation implements Callable { 6 | 7 | final int a; 8 | final int b; 9 | final int c; 10 | final Chunk d; 11 | 12 | CrashReportLocation(Chunk chunk, int i, int j, int k) { 13 | this.d = chunk; 14 | this.a = i; 15 | this.b = j; 16 | this.c = k; 17 | } 18 | 19 | public String a() { 20 | return CrashReportSystemDetails.a(this.a, this.b, this.c); 21 | } 22 | 23 | public Object call() { 24 | return this.a(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportModded.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportModded implements Callable { 6 | 7 | final DedicatedServer a; 8 | 9 | CrashReportModded(DedicatedServer dedicatedserver) { 10 | this.a = dedicatedserver; 11 | } 12 | 13 | public String a() { 14 | String s = this.a.getServerModName(); 15 | 16 | return !s.equals("vanilla") ? "Definitely; Server brand changed to \'" + s + "\'" : "Unknown (can\'t tell)"; 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportOperatingSystem.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportOperatingSystem implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportOperatingSystem(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | return System.getProperty("os.name") + " (" + System.getProperty("os.arch") + ") version " + System.getProperty("os.version"); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportPlayerCount.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | public class CrashReportPlayerCount implements Callable { 6 | 7 | final MinecraftServer a; 8 | 9 | public CrashReportPlayerCount(MinecraftServer minecraftserver) { 10 | this.a = minecraftserver; 11 | } 12 | 13 | public String a() { 14 | return MinecraftServer.a(this.a).getPlayerCount() + " / " + MinecraftServer.a(this.a).getMaxPlayers() + "; " + MinecraftServer.a(this.a).players; 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportPlayers.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportPlayers implements Callable { 6 | 7 | final World a; 8 | 9 | CrashReportPlayers(World world) { 10 | this.a = world; 11 | } 12 | 13 | public String a() { 14 | return this.a.players.size() + " total; " + this.a.players.toString(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportProfilerPosition.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | public class CrashReportProfilerPosition implements Callable { 6 | 7 | final MinecraftServer a; 8 | 9 | public CrashReportProfilerPosition(MinecraftServer minecraftserver) { 10 | this.a = minecraftserver; 11 | } 12 | 13 | public String a() { 14 | return this.a.methodProfiler.a ? this.a.methodProfiler.c() : "N/A (disabled)"; 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportServerConnection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportServerConnection implements Callable { 6 | 7 | final NetworkManager a; 8 | final ServerConnection b; 9 | 10 | CrashReportServerConnection(ServerConnection serverconnection, NetworkManager networkmanager) { 11 | this.b = serverconnection; 12 | this.a = networkmanager; 13 | } 14 | 15 | public String a() { 16 | return this.a.toString(); 17 | } 18 | 19 | public Object call() { 20 | return this.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportSourceBlockType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportSourceBlockType implements Callable { 6 | 7 | final Block a; 8 | final World b; 9 | 10 | CrashReportSourceBlockType(World world, Block block) { 11 | this.b = world; 12 | this.a = block; 13 | } 14 | 15 | public String a() { 16 | try { 17 | return String.format("ID #%d (%s // %s)", new Object[] { Integer.valueOf(Block.getId(this.a)), this.a.a(), this.a.getClass().getCanonicalName()}); 18 | } catch (Throwable throwable) { 19 | return "ID #" + Block.getId(this.a); 20 | } 21 | } 22 | 23 | public Object call() { 24 | return this.a(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportStructureType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportStructureType implements Callable { 6 | 7 | final StructureGenerator a; 8 | 9 | CrashReportStructureType(StructureGenerator structuregenerator) { 10 | this.a = structuregenerator; 11 | } 12 | 13 | public String a() { 14 | return this.a.getClass().getCanonicalName(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportTileEntityName.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportTileEntityName implements Callable { 6 | 7 | final TileEntity a; 8 | 9 | CrashReportTileEntityName(TileEntity tileentity) { 10 | this.a = tileentity; 11 | } 12 | 13 | public String a() { 14 | return (String) TileEntity.v().get(this.a.getClass()) + " // " + this.a.getClass().getCanonicalName(); 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportType implements Callable { 6 | 7 | final DedicatedServer a; 8 | 9 | CrashReportType(DedicatedServer dedicatedserver) { 10 | this.a = dedicatedserver; 11 | } 12 | 13 | public String a() { 14 | return "Dedicated Server (map_server.txt)"; 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportVec3DPoolSize.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | public class CrashReportVec3DPoolSize implements Callable { 6 | 7 | final MinecraftServer a; 8 | 9 | public CrashReportVec3DPoolSize(MinecraftServer minecraftserver) { 10 | this.a = minecraftserver; 11 | } 12 | 13 | public String a() { 14 | byte b0 = 0; 15 | int i = 56 * b0; 16 | int j = i / 1024 / 1024; 17 | byte b1 = 0; 18 | int k = 56 * b1; 19 | int l = k / 1024 / 1024; 20 | 21 | return b0 + " (" + i + " bytes; " + j + " MB) allocated, " + b1 + " (" + k + " bytes; " + l + " MB) used"; 22 | } 23 | 24 | public Object call() { 25 | return this.a(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportVersion.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportVersion implements Callable { 6 | 7 | final CrashReport a; 8 | 9 | CrashReportVersion(CrashReport crashreport) { 10 | this.a = crashreport; 11 | } 12 | 13 | public String a() { 14 | return "1.7.10"; 15 | } 16 | 17 | public Object call() { 18 | return this.a(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/CrashReportWorldLocation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.concurrent.Callable; 4 | 5 | class CrashReportWorldLocation implements Callable { 6 | 7 | final int a; 8 | final int b; 9 | final World c; 10 | 11 | CrashReportWorldLocation(World world, int i, int j) { 12 | this.c = world; 13 | this.a = i; 14 | this.b = j; 15 | } 16 | 17 | public String a() { 18 | return CrashReportSystemDetails.a(this.a, 0, this.b); 19 | } 20 | 21 | public Object call() { 22 | return this.a(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab1.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab1 extends CreativeModeTab { 4 | 5 | CreativeModeTab1(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab10.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab10 extends CreativeModeTab { 4 | 5 | CreativeModeTab10(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab11.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab11 extends CreativeModeTab { 4 | 5 | CreativeModeTab11(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab12.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab12 extends CreativeModeTab { 4 | 5 | CreativeModeTab12(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab2 extends CreativeModeTab { 4 | 5 | CreativeModeTab2(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab3.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab3 extends CreativeModeTab { 4 | 5 | CreativeModeTab3(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab4.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab4 extends CreativeModeTab { 4 | 5 | CreativeModeTab4(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab5.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab5 extends CreativeModeTab { 4 | 5 | CreativeModeTab5(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab6.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab6 extends CreativeModeTab { 4 | 5 | CreativeModeTab6(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab7.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab7 extends CreativeModeTab { 4 | 5 | CreativeModeTab7(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab8.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab8 extends CreativeModeTab { 4 | 5 | CreativeModeTab8(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/CreativeModeTab9.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class CreativeModeTab9 extends CreativeModeTab { 4 | 5 | CreativeModeTab9(int i, String s) { 6 | super(i, s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/DamageCounter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DamageCounter implements Counter { 4 | 5 | DamageCounter() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/DatFilenameFilter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.io.File; 4 | import java.io.FilenameFilter; 5 | 6 | final class DatFilenameFilter implements FilenameFilter { 7 | 8 | DatFilenameFilter() {} 9 | 10 | public boolean accept(File file1, String s) { 11 | return s.endsWith(".dat"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/DemoWorldServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class DemoWorldServer extends WorldServer { 4 | 5 | private static final long J = (long) "North Carolina".hashCode(); 6 | public static final WorldSettings a = (new WorldSettings(J, EnumGamemode.SURVIVAL, true, false, WorldType.NORMAL)).a(); 7 | 8 | public DemoWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, String s, int i, MethodProfiler methodprofiler) { 9 | super(minecraftserver, idatamanager, s, i, a, methodprofiler); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorArrow.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorArrow extends DispenseBehaviorProjectile { 4 | 5 | DispenseBehaviorArrow() {} 6 | 7 | protected IProjectile a(World world, IPosition iposition) { 8 | EntityArrow entityarrow = new EntityArrow(world, iposition.getX(), iposition.getY(), iposition.getZ()); 9 | 10 | entityarrow.fromPlayer = 1; 11 | return entityarrow; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorEgg.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorEgg extends DispenseBehaviorProjectile { 4 | 5 | DispenseBehaviorEgg() {} 6 | 7 | protected IProjectile a(World world, IPosition iposition) { 8 | return new EntityEgg(world, iposition.getX(), iposition.getY(), iposition.getZ()); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorExpBottle.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorExpBottle extends DispenseBehaviorProjectile { 4 | 5 | DispenseBehaviorExpBottle() {} 6 | 7 | protected IProjectile a(World world, IPosition iposition) { 8 | return new EntityThrownExpBottle(world, iposition.getX(), iposition.getY(), iposition.getZ()); 9 | } 10 | 11 | protected float a() { 12 | return super.a() * 0.5F; 13 | } 14 | 15 | protected float b() { 16 | return super.b() * 1.25F; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorNoop.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorNoop implements IDispenseBehavior { 4 | 5 | DispenseBehaviorNoop() {} 6 | 7 | public ItemStack a(ISourceBlock isourceblock, ItemStack itemstack) { 8 | return itemstack; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorPotion.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorPotion implements IDispenseBehavior { 4 | 5 | private final DispenseBehaviorItem b = new DispenseBehaviorItem(); 6 | 7 | DispenseBehaviorPotion() {} 8 | 9 | public ItemStack a(ISourceBlock isourceblock, ItemStack itemstack) { 10 | return ItemPotion.g(itemstack.getData()) ? (new DispenseBehaviorThrownPotion(this, itemstack)).a(isourceblock, itemstack) : this.b.a(isourceblock, itemstack); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/DispenseBehaviorSnowBall.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DispenseBehaviorSnowBall extends DispenseBehaviorProjectile { 4 | 5 | DispenseBehaviorSnowBall() {} 6 | 7 | protected IProjectile a(World world, IPosition iposition) { 8 | return new EntitySnowball(world, iposition.getX(), iposition.getY(), iposition.getZ()); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/DistanceComparator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Comparator; 4 | 5 | public class DistanceComparator implements Comparator { 6 | 7 | private final Entity a; 8 | 9 | public DistanceComparator(Entity entity) { 10 | this.a = entity; 11 | } 12 | 13 | public int a(Entity entity, Entity entity1) { 14 | double d0 = this.a.f(entity); 15 | double d1 = this.a.f(entity1); 16 | 17 | return d0 < d1 ? -1 : (d0 > d1 ? 1 : 0); 18 | } 19 | 20 | public int compare(Object object, Object object1) { 21 | return this.a((Entity) object, (Entity) object1); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/DistancesCounter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class DistancesCounter implements Counter { 4 | 5 | DistancesCounter() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/EmptyClass.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class EmptyClass {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/EmptyClassZombie.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class EmptyClassZombie {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentArrowDamage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentArrowDamage extends Enchantment { 4 | 5 | public EnchantmentArrowDamage(int i, int j) { 6 | super(i, j, EnchantmentSlotType.BOW); 7 | this.b("arrowDamage"); 8 | } 9 | 10 | public int a(int i) { 11 | return 1 + (i - 1) * 10; 12 | } 13 | 14 | public int b(int i) { 15 | return this.a(i) + 15; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 5; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentArrowKnockback.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentArrowKnockback extends Enchantment { 4 | 5 | public EnchantmentArrowKnockback(int i, int j) { 6 | super(i, j, EnchantmentSlotType.BOW); 7 | this.b("arrowKnockback"); 8 | } 9 | 10 | public int a(int i) { 11 | return 12 + (i - 1) * 20; 12 | } 13 | 14 | public int b(int i) { 15 | return this.a(i) + 25; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 2; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentDigging.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentDigging extends Enchantment { 4 | 5 | protected EnchantmentDigging(int i, int j) { 6 | super(i, j, EnchantmentSlotType.DIGGER); 7 | this.b("digging"); 8 | } 9 | 10 | public int a(int i) { 11 | return 1 + 10 * (i - 1); 12 | } 13 | 14 | public int b(int i) { 15 | return super.a(i) + 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 5; 20 | } 21 | 22 | public boolean canEnchant(ItemStack itemstack) { 23 | return itemstack.getItem() == Items.SHEARS ? true : super.canEnchant(itemstack); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentFire.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentFire extends Enchantment { 4 | 5 | protected EnchantmentFire(int i, int j) { 6 | super(i, j, EnchantmentSlotType.WEAPON); 7 | this.b("fire"); 8 | } 9 | 10 | public int a(int i) { 11 | return 10 + 20 * (i - 1); 12 | } 13 | 14 | public int b(int i) { 15 | return super.a(i) + 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 2; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentFlameArrows.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentFlameArrows extends Enchantment { 4 | 5 | public EnchantmentFlameArrows(int i, int j) { 6 | super(i, j, EnchantmentSlotType.BOW); 7 | this.b("arrowFire"); 8 | } 9 | 10 | public int a(int i) { 11 | return 20; 12 | } 13 | 14 | public int b(int i) { 15 | return 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 1; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentInfiniteArrows.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentInfiniteArrows extends Enchantment { 4 | 5 | public EnchantmentInfiniteArrows(int i, int j) { 6 | super(i, j, EnchantmentSlotType.BOW); 7 | this.b("arrowInfinite"); 8 | } 9 | 10 | public int a(int i) { 11 | return 20; 12 | } 13 | 14 | public int b(int i) { 15 | return 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 1; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentInstance.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentInstance extends WeightedRandomChoice { 4 | 5 | public final Enchantment enchantment; 6 | public final int level; 7 | 8 | public EnchantmentInstance(Enchantment enchantment, int i) { 9 | super(enchantment.getRandomWeight()); 10 | this.enchantment = enchantment; 11 | this.level = i; 12 | } 13 | 14 | public EnchantmentInstance(int i, int j) { 15 | this(Enchantment.byId[i], j); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentKnockback.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentKnockback extends Enchantment { 4 | 5 | protected EnchantmentKnockback(int i, int j) { 6 | super(i, j, EnchantmentSlotType.WEAPON); 7 | this.b("knockback"); 8 | } 9 | 10 | public int a(int i) { 11 | return 5 + 20 * (i - 1); 12 | } 13 | 14 | public int b(int i) { 15 | return super.a(i) + 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 2; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentLure.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentLure extends Enchantment { 4 | 5 | protected EnchantmentLure(int i, int j, EnchantmentSlotType enchantmentslottype) { 6 | super(i, j, enchantmentslottype); 7 | this.b("fishingSpeed"); 8 | } 9 | 10 | public int a(int i) { 11 | return 15 + (i - 1) * 9; 12 | } 13 | 14 | public int b(int i) { 15 | return super.a(i) + 50; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 3; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentModifier.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | interface EnchantmentModifier { 4 | 5 | void a(Enchantment enchantment, int i); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentModifierArthropods.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EnchantmentModifierArthropods implements EnchantmentModifier { 4 | 5 | public EntityLiving a; 6 | public Entity b; 7 | 8 | private EnchantmentModifierArthropods() {} 9 | 10 | public void a(Enchantment enchantment, int i) { 11 | enchantment.a(this.a, this.b, i); 12 | } 13 | 14 | EnchantmentModifierArthropods(EmptyClass emptyclass) { 15 | this(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentModifierDamage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EnchantmentModifierDamage implements EnchantmentModifier { 4 | 5 | public float a; 6 | public EnumMonsterType b; 7 | 8 | private EnchantmentModifierDamage() {} 9 | 10 | public void a(Enchantment enchantment, int i) { 11 | this.a += enchantment.a(i, this.b); 12 | } 13 | 14 | EnchantmentModifierDamage(EmptyClass emptyclass) { 15 | this(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentModifierProtection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EnchantmentModifierProtection implements EnchantmentModifier { 4 | 5 | public int a; 6 | public DamageSource b; 7 | 8 | private EnchantmentModifierProtection() {} 9 | 10 | public void a(Enchantment enchantment, int i) { 11 | this.a += enchantment.a(i, this.b); 12 | } 13 | 14 | EnchantmentModifierProtection(EmptyClass emptyclass) { 15 | this(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentModifierThorns.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EnchantmentModifierThorns implements EnchantmentModifier { 4 | 5 | public EntityLiving a; 6 | public Entity b; 7 | 8 | private EnchantmentModifierThorns() {} 9 | 10 | public void a(Enchantment enchantment, int i) { 11 | enchantment.b(this.a, this.b, i); 12 | } 13 | 14 | EnchantmentModifierThorns(EmptyClass emptyclass) { 15 | this(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentOxygen.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentOxygen extends Enchantment { 4 | 5 | public EnchantmentOxygen(int i, int j) { 6 | super(i, j, EnchantmentSlotType.ARMOR_HEAD); 7 | this.b("oxygen"); 8 | } 9 | 10 | public int a(int i) { 11 | return 10 * i; 12 | } 13 | 14 | public int b(int i) { 15 | return this.a(i) + 30; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 3; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EnchantmentWaterWorker.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EnchantmentWaterWorker extends Enchantment { 4 | 5 | public EnchantmentWaterWorker(int i, int j) { 6 | super(i, j, EnchantmentSlotType.ARMOR_HEAD); 7 | this.b("waterWorker"); 8 | } 9 | 10 | public int a(int i) { 11 | return 1; 12 | } 13 | 14 | public int b(int i) { 15 | return this.a(i) + 40; 16 | } 17 | 18 | public int getMaxLevel() { 19 | return 1; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EntityAmbient.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class EntityAmbient extends EntityInsentient implements IAnimal { 4 | 5 | public EntityAmbient(World world) { 6 | super(world); 7 | } 8 | 9 | public boolean bM() { 10 | return false; 11 | } 12 | 13 | protected boolean a(EntityHuman entityhuman) { 14 | return false; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/EntityGiantZombie.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class EntityGiantZombie extends EntityMonster { 4 | 5 | public EntityGiantZombie(World world) { 6 | super(world); 7 | this.height *= 6.0F; 8 | this.a(this.width * 6.0F, this.length * 6.0F); 9 | } 10 | 11 | protected void aD() { 12 | super.aD(); 13 | this.getAttributeInstance(GenericAttributes.maxHealth).setValue(100.0D); 14 | this.getAttributeInstance(GenericAttributes.d).setValue(0.5D); 15 | this.getAttributeInstance(GenericAttributes.e).setValue(50.0D); 16 | } 17 | 18 | public float a(int i, int j, int k) { 19 | return this.world.n(i, j, k) - 0.5F; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/EntityGolem.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class EntityGolem extends EntityCreature implements IAnimal { 4 | 5 | public EntityGolem(World world) { 6 | super(world); 7 | } 8 | 9 | protected void b(float f) {} 10 | 11 | protected String t() { 12 | return "none"; 13 | } 14 | 15 | protected String aT() { 16 | return "none"; 17 | } 18 | 19 | protected String aU() { 20 | return "none"; 21 | } 22 | 23 | public int q() { 24 | return 120; 25 | } 26 | 27 | protected boolean isTypeNotPersistent() { 28 | return false; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/server/EntityOwnable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface EntityOwnable { 4 | 5 | String getOwnerUUID(); 6 | 7 | Entity getOwner(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorChickenJockey.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorChickenJockey implements IEntitySelector { 4 | 5 | EntitySelectorChickenJockey() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity.isAlive() && entity.passenger == null && entity.vehicle == null; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorContainer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorContainer implements IEntitySelector { 4 | 5 | EntitySelectorContainer() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity instanceof IInventory && entity.isAlive(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorHorse.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorHorse implements IEntitySelector { 4 | 5 | EntitySelectorHorse() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity instanceof EntityHorse && ((EntityHorse) entity).co(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorLiving.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorLiving implements IEntitySelector { 4 | 5 | EntitySelectorLiving() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity.isAlive(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorMonster.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorMonster implements IEntitySelector { 4 | 5 | EntitySelectorMonster() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity instanceof IMonster; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorNearestAttackableTarget.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class EntitySelectorNearestAttackableTarget implements IEntitySelector { 4 | 5 | final IEntitySelector d; 6 | final PathfinderGoalNearestAttackableTarget e; 7 | 8 | EntitySelectorNearestAttackableTarget(PathfinderGoalNearestAttackableTarget pathfindergoalnearestattackabletarget, IEntitySelector ientityselector) { 9 | this.e = pathfindergoalnearestattackabletarget; 10 | this.d = ientityselector; 11 | } 12 | 13 | public boolean a(Entity entity) { 14 | return !(entity instanceof EntityLiving) ? false : (this.d != null && !this.d.a(entity) ? false : this.e.a((EntityLiving) entity, false)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorNotUndead.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class EntitySelectorNotUndead implements IEntitySelector { 4 | 5 | EntitySelectorNotUndead() {} 6 | 7 | public boolean a(Entity entity) { 8 | return entity instanceof EntityLiving && ((EntityLiving) entity).getMonsterType() != EnumMonsterType.UNDEAD; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/EntitySelectorViewable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class EntitySelectorViewable implements IEntitySelector { 4 | 5 | final PathfinderGoalAvoidPlayer d; 6 | 7 | EntitySelectorViewable(PathfinderGoalAvoidPlayer pathfindergoalavoidplayer) { 8 | this.d = pathfindergoalavoidplayer; 9 | } 10 | 11 | public boolean a(Entity entity) { 12 | return entity.isAlive() && PathfinderGoalAvoidPlayer.a(this.d).getEntitySenses().canSee(entity); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/EntityWeather.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class EntityWeather extends Entity { 4 | 5 | public EntityWeather(World world) { 6 | super(world); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumAnimation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumAnimation { 4 | 5 | NONE("none", 0), EAT("eat", 1), DRINK("drink", 2), BLOCK("block", 3), BOW("bow", 4); 6 | private static final EnumAnimation[] f = new EnumAnimation[] { NONE, EAT, DRINK, BLOCK, BOW}; 7 | 8 | private EnumAnimation(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumBedResult.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumBedResult { 4 | 5 | OK("OK", 0), NOT_POSSIBLE_HERE("NOT_POSSIBLE_HERE", 1), NOT_POSSIBLE_NOW("NOT_POSSIBLE_NOW", 2), TOO_FAR_AWAY("TOO_FAR_AWAY", 3), OTHER_PROBLEM("OTHER_PROBLEM", 4), NOT_SAFE("NOT_SAFE", 5); 6 | private static final EnumBedResult[] g = new EnumBedResult[] { OK, NOT_POSSIBLE_HERE, NOT_POSSIBLE_NOW, TOO_FAR_AWAY, OTHER_PROBLEM, NOT_SAFE}; 7 | 8 | private EnumBedResult(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumGenLayerSpecial.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumGenLayerSpecial { 4 | 5 | COOL_WARM("COOL_WARM", 0), HEAT_ICE("HEAT_ICE", 1), PUFFERFISH("SPECIAL", 2); 6 | private static final EnumGenLayerSpecial[] d = new EnumGenLayerSpecial[] { COOL_WARM, HEAT_ICE, PUFFERFISH}; 7 | 8 | private EnumGenLayerSpecial(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumItemRarity.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumItemRarity { 4 | 5 | COMMON("common", 0, EnumChatFormat.WHITE, "Common"), UNCOMMON("uncommon", 1, EnumChatFormat.YELLOW, "Uncommon"), RARE("rare", 2, EnumChatFormat.AQUA, "Rare"), EPIC("epic", 3, EnumChatFormat.LIGHT_PURPLE, "Epic"); 6 | public final EnumChatFormat e; 7 | public final String f; 8 | private static final EnumItemRarity[] g = new EnumItemRarity[] { COMMON, UNCOMMON, RARE, EPIC}; 9 | 10 | private EnumItemRarity(String s, int i, EnumChatFormat enumchatformat, String s1) { 11 | this.e = enumchatformat; 12 | this.f = s1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumMobType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumMobType { 4 | 5 | EVERYTHING("everything", 0), MOBS("mobs", 1), PLAYERS("players", 2); 6 | private static final EnumMobType[] d = new EnumMobType[] { EVERYTHING, MOBS, PLAYERS}; 7 | 8 | private EnumMobType(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumMonsterType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumMonsterType { 4 | 5 | UNDEFINED("UNDEFINED", 0), UNDEAD("UNDEAD", 1), ARTHROPOD("ARTHROPOD", 2); 6 | private static final EnumMonsterType[] d = new EnumMonsterType[] { UNDEFINED, UNDEAD, ARTHROPOD}; 7 | 8 | private EnumMonsterType(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumMovingObjectType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumMovingObjectType { 4 | 5 | MISS("MISS", 0), BLOCK("BLOCK", 1), ENTITY("ENTITY", 2); 6 | private static final EnumMovingObjectType[] d = new EnumMovingObjectType[] { MISS, BLOCK, ENTITY}; 7 | 8 | private EnumMovingObjectType(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumProtocol$1.java: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumProtocol$2.java: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumProtocol$3.java: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumProtocol$4.java: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumProtocolState.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | enum EnumProtocolState { 4 | 5 | HELLO("HELLO", 0), KEY("KEY", 1), AUTHENTICATING("AUTHENTICATING", 2), READY_TO_ACCEPT("READY_TO_ACCEPT", 3), e("ACCEPTED", 4); 6 | private static final EnumProtocolState[] f = new EnumProtocolState[] { HELLO, KEY, AUTHENTICATING, READY_TO_ACCEPT, e}; 7 | 8 | private EnumProtocolState(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumSkyBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumSkyBlock { 4 | 5 | SKY("Sky", 0, 15), BLOCK("Block", 1, 0); 6 | public final int c; 7 | private static final EnumSkyBlock[] d = new EnumSkyBlock[] { SKY, BLOCK}; 8 | 9 | private EnumSkyBlock(String s, int i, int j) { 10 | this.c = j; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/EnumTemperature.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum EnumTemperature { 4 | 5 | OCEAN("OCEAN", 0), COLD("COLD", 1), MEDIUM("MEDIUM", 2), WARM("WARM", 3); 6 | private static final EnumTemperature[] e = new EnumTemperature[] { OCEAN, COLD, MEDIUM, WARM}; 7 | 8 | private EnumTemperature(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionInvalidNumber.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionInvalidNumber extends CommandException { 4 | 5 | public ExceptionInvalidNumber() { 6 | this("commands.generic.num.invalid", new Object[0]); 7 | } 8 | 9 | public ExceptionInvalidNumber(String s, Object... aobject) { 10 | super(s, aobject); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionInvalidSyntax.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionInvalidSyntax extends CommandException { 4 | 5 | public ExceptionInvalidSyntax() { 6 | this("commands.generic.snytax", new Object[0]); 7 | } 8 | 9 | public ExceptionInvalidSyntax(String s, Object... aobject) { 10 | super(s, aobject); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionPlayerNotFound.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionPlayerNotFound extends CommandException { 4 | 5 | public ExceptionPlayerNotFound() { 6 | this("commands.generic.player.notFound", new Object[0]); 7 | } 8 | 9 | public ExceptionPlayerNotFound(String s, Object... aobject) { 10 | super(s, aobject); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionUnknownCommand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionUnknownCommand extends CommandException { 4 | 5 | public ExceptionUnknownCommand() { 6 | this("commands.generic.notFound", new Object[0]); 7 | } 8 | 9 | public ExceptionUnknownCommand(String s, Object... aobject) { 10 | super(s, aobject); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionUsage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionUsage extends ExceptionInvalidSyntax { 4 | 5 | public ExceptionUsage(String s, Object... aobject) { 6 | super(s, aobject); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/ExceptionWorldConflict.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ExceptionWorldConflict extends Exception { 4 | 5 | public ExceptionWorldConflict(String s) { 6 | super(s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/Facing.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class Facing { 4 | 5 | public static final int[] OPPOSITE_FACING = new int[] { 1, 0, 3, 2, 5, 4}; 6 | public static final int[] b = new int[] { 0, 0, 0, 0, -1, 1}; 7 | public static final int[] c = new int[] { -1, 1, 0, 0, 0, 0}; 8 | public static final int[] d = new int[] { 0, 0, -1, 1, 0, 0}; 9 | public static final String[] e = new String[] { "DOWN", "UP", "NORTH", "SOUTH", "WEST", "EAST"}; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/server/FileConversionException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class FileConversionException extends RuntimeException { 4 | 5 | private FileConversionException(String s, Throwable throwable) { 6 | super(s, throwable); 7 | } 8 | 9 | private FileConversionException(String s) { 10 | super(s); 11 | } 12 | 13 | FileConversionException(String s, PredicateEmptyList predicateemptylist) { 14 | this(s); 15 | } 16 | 17 | FileConversionException(String s, Throwable throwable, PredicateEmptyList predicateemptylist) { 18 | this(s, throwable); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/GameProfileLookup.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.mojang.authlib.GameProfile; 4 | import net.minecraft.util.com.mojang.authlib.ProfileLookupCallback; 5 | 6 | final class GameProfileLookup implements ProfileLookupCallback { 7 | 8 | final GameProfile[] a; 9 | 10 | GameProfileLookup(GameProfile[] agameprofile) { 11 | this.a = agameprofile; 12 | } 13 | 14 | public void onProfileLookupSucceeded(GameProfile gameprofile) { 15 | this.a[0] = gameprofile; 16 | } 17 | 18 | public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) { 19 | this.a[0] = null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/GenLayerCleaner.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class GenLayerCleaner extends GenLayer { 4 | 5 | public GenLayerCleaner(long i, GenLayer genlayer) { 6 | super(i); 7 | this.a = genlayer; 8 | } 9 | 10 | public int[] a(int i, int j, int k, int l) { 11 | int[] aint = this.a.a(i, j, k, l); 12 | int[] aint1 = IntCache.a(k * l); 13 | 14 | for (int i1 = 0; i1 < l; ++i1) { 15 | for (int j1 = 0; j1 < k; ++j1) { 16 | this.a((long) (j1 + i), (long) (i1 + j)); 17 | aint1[j1 + i1 * k] = aint[j1 + i1 * k] > 0 ? this.a(299999) + 2 : 0; 18 | } 19 | } 20 | 21 | return aint1; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/GenLayerJumpTable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class GenLayerJumpTable { 4 | 5 | static final int[] a = new int[EnumGenLayerSpecial.values().length]; 6 | 7 | static { 8 | try { 9 | a[EnumGenLayerSpecial.COOL_WARM.ordinal()] = 1; 10 | } catch (NoSuchFieldError nosuchfielderror) { 11 | ; 12 | } 13 | 14 | try { 15 | a[EnumGenLayerSpecial.HEAT_ICE.ordinal()] = 2; 16 | } catch (NoSuchFieldError nosuchfielderror1) { 17 | ; 18 | } 19 | 20 | try { 21 | a[EnumGenLayerSpecial.PUFFERFISH.ordinal()] = 3; 22 | } catch (NoSuchFieldError nosuchfielderror2) { 23 | ; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/GenLayerZoomFuzzy.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class GenLayerZoomFuzzy extends GenLayerZoom { 4 | 5 | public GenLayerZoomFuzzy(long i, GenLayer genlayer) { 6 | super(i, genlayer); 7 | } 8 | 9 | protected int b(int i, int j, int k, int l) { 10 | return this.a(new int[] { i, j, k, l}); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/GroupDataEntity.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface GroupDataEntity {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/GroupDataHorse.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class GroupDataHorse implements GroupDataEntity { 4 | 5 | public int a; 6 | public int b; 7 | 8 | public GroupDataHorse(int i, int j) { 9 | this.a = i; 10 | this.b = j; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/GroupDataSpider.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class GroupDataSpider implements GroupDataEntity { 6 | 7 | public int a; 8 | 9 | public GroupDataSpider() {} 10 | 11 | public void a(Random random) { 12 | int i = random.nextInt(5); 13 | 14 | if (i <= 1) { 15 | this.a = MobEffectList.FASTER_MOVEMENT.id; 16 | } else if (i <= 2) { 17 | this.a = MobEffectList.INCREASE_DAMAGE.id; 18 | } else if (i <= 3) { 19 | this.a = MobEffectList.REGENERATION.id; 20 | } else if (i <= 4) { 21 | this.a = MobEffectList.INVISIBILITY.id; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/GroupDataZombie.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class GroupDataZombie implements GroupDataEntity { 4 | 5 | public boolean a; 6 | public boolean b; 7 | final EntityZombie c; 8 | 9 | private GroupDataZombie(EntityZombie entityzombie, boolean flag, boolean flag1) { 10 | this.c = entityzombie; 11 | this.a = false; 12 | this.b = false; 13 | this.a = flag; 14 | this.b = flag1; 15 | } 16 | 17 | GroupDataZombie(EntityZombie entityzombie, boolean flag, boolean flag1, EmptyClassZombie emptyclasszombie) { 18 | this(entityzombie, flag, flag1); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/GuiStatsListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.awt.event.ActionEvent; 4 | import java.awt.event.ActionListener; 5 | 6 | class GuiStatsListener implements ActionListener { 7 | 8 | final GuiStatsComponent a; 9 | 10 | GuiStatsListener(GuiStatsComponent guistatscomponent) { 11 | this.a = guistatscomponent; 12 | } 13 | 14 | public void actionPerformed(ActionEvent actionevent) { 15 | GuiStatsComponent.a(this.a); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/IAnimal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IAnimal {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/IAsyncChunkSaver.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IAsyncChunkSaver { 4 | 5 | boolean c(); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/IAttribute.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IAttribute { 4 | 5 | String getName(); 6 | 7 | double a(double d0); 8 | 9 | double b(); 10 | 11 | boolean c(); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IBlockAccess.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IBlockAccess { 4 | 5 | Block getType(int i, int j, int k); 6 | 7 | TileEntity getTileEntity(int i, int j, int k); 8 | 9 | int getData(int i, int j, int k); 10 | 11 | int getBlockPower(int i, int j, int k, int l); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IBlockFragilePlantElement.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public interface IBlockFragilePlantElement { 6 | 7 | boolean a(World world, int i, int j, int k, boolean flag); 8 | 9 | boolean a(World world, Random random, int i, int j, int k); 10 | 11 | void b(World world, Random random, int i, int j, int k); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IChatBaseComponent.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | 5 | public interface IChatBaseComponent extends Iterable { 6 | 7 | IChatBaseComponent setChatModifier(ChatModifier chatmodifier); 8 | 9 | ChatModifier getChatModifier(); 10 | 11 | IChatBaseComponent a(String s); 12 | 13 | IChatBaseComponent addSibling(IChatBaseComponent ichatbasecomponent); 14 | 15 | String e(); 16 | 17 | String c(); 18 | 19 | List a(); 20 | 21 | IChatBaseComponent f(); 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/IChunkLoader.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IChunkLoader { 4 | 5 | Chunk a(World world, int i, int j); 6 | 7 | void a(World world, Chunk chunk); 8 | 9 | void b(World world, Chunk chunk); 10 | 11 | void a(); 12 | 13 | void b(); 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/ICommand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | 5 | public interface ICommand extends Comparable { 6 | 7 | String getCommand(); 8 | 9 | String c(ICommandListener icommandlistener); 10 | 11 | List b(); 12 | 13 | void execute(ICommandListener icommandlistener, String[] astring); 14 | 15 | boolean canUse(ICommandListener icommandlistener); 16 | 17 | List tabComplete(ICommandListener icommandlistener, String[] astring); 18 | 19 | boolean isListStart(String[] astring, int i); 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/ICommandDispatcher.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface ICommandDispatcher { 4 | 5 | void a(ICommandListener icommandlistener, ICommand icommand, int i, String s, Object... aobject); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/ICommandHandler.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface ICommandHandler { 7 | 8 | int a(ICommandListener icommandlistener, String s); 9 | 10 | List b(ICommandListener icommandlistener, String s); 11 | 12 | List a(ICommandListener icommandlistener); 13 | 14 | Map a(); 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/ICommandListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface ICommandListener { 4 | 5 | String getName(); 6 | 7 | IChatBaseComponent getScoreboardDisplayName(); 8 | 9 | void sendMessage(IChatBaseComponent ichatbasecomponent); 10 | 11 | boolean a(int i, String s); 12 | 13 | ChunkCoordinates getChunkCoordinates(); 14 | 15 | World getWorld(); 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/IComplex.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IComplex { 4 | 5 | World a(); 6 | 7 | boolean a(EntityComplexPart entitycomplexpart, DamageSource damagesource, float f); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/IContainer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IContainer { 4 | 5 | TileEntity a(World world, int i); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/ICrafting.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | 5 | public interface ICrafting { 6 | 7 | void a(Container container, List list); 8 | 9 | void a(Container container, int i, ItemStack itemstack); 10 | 11 | void setContainerData(Container container, int i, int j); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IDataManager.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.io.File; 4 | 5 | public interface IDataManager { 6 | 7 | WorldData getWorldData(); 8 | 9 | void checkSession(); 10 | 11 | IChunkLoader createChunkLoader(WorldProvider worldprovider); 12 | 13 | void saveWorldData(WorldData worlddata, NBTTagCompound nbttagcompound); 14 | 15 | void saveWorldData(WorldData worlddata); 16 | 17 | IPlayerFileData getPlayerFileData(); 18 | 19 | void a(); 20 | 21 | File getDirectory(); 22 | 23 | File getDataFile(String s); 24 | 25 | String g(); 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/IDispenseBehavior.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IDispenseBehavior { 4 | 5 | IDispenseBehavior a = new DispenseBehaviorNoop(); 6 | 7 | ItemStack a(ISourceBlock isourceblock, ItemStack itemstack); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/IEntitySelector.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IEntitySelector { 4 | 5 | IEntitySelector a = new EntitySelectorLiving(); 6 | IEntitySelector b = new EntitySelectorChickenJockey(); 7 | IEntitySelector c = new EntitySelectorContainer(); 8 | 9 | boolean a(Entity entity); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/server/IHopper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IHopper extends IInventory { 4 | 5 | World getWorld(); 6 | 7 | double x(); 8 | 9 | double aD(); 10 | 11 | double aE(); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IIcon.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IIcon {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/IInventory.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IInventory { 4 | 5 | int getSize(); 6 | 7 | ItemStack getItem(int i); 8 | 9 | ItemStack splitStack(int i, int j); 10 | 11 | ItemStack splitWithoutUpdate(int i); 12 | 13 | void setItem(int i, ItemStack itemstack); 14 | 15 | String getInventoryName(); 16 | 17 | boolean k_(); 18 | 19 | int getMaxStackSize(); 20 | 21 | void update(); 22 | 23 | boolean a(EntityHuman entityhuman); 24 | 25 | void startOpen(); 26 | 27 | void closeContainer(); 28 | 29 | boolean b(int i, ItemStack itemstack); 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/server/IInventoryListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IInventoryListener { 4 | 5 | void a(InventorySubcontainer inventorysubcontainer); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/IJsonStatistic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.google.gson.JsonElement; 4 | 5 | public interface IJsonStatistic { 6 | 7 | void a(JsonElement jsonelement); 8 | 9 | JsonElement a(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/ILocationSource.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface ILocationSource extends ISource {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/IMerchant.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IMerchant { 4 | 5 | void a_(EntityHuman entityhuman); 6 | 7 | EntityHuman b(); 8 | 9 | MerchantRecipeList getOffers(EntityHuman entityhuman); 10 | 11 | void a(MerchantRecipe merchantrecipe); 12 | 13 | void a_(ItemStack itemstack); 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/IMinecraftServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IMinecraftServer { 4 | 5 | int a(String s, int i); 6 | 7 | String a(String s, String s1); 8 | 9 | void a(String s, Object object); 10 | 11 | void a(); 12 | 13 | String b(); 14 | 15 | String y(); 16 | 17 | int z(); 18 | 19 | String A(); 20 | 21 | String getVersion(); 22 | 23 | int C(); 24 | 25 | int D(); 26 | 27 | String[] getPlayers(); 28 | 29 | String O(); 30 | 31 | String getPlugins(); 32 | 33 | String g(String s); 34 | 35 | boolean isDebugging(); 36 | 37 | void info(String s); 38 | 39 | void warning(String s); 40 | 41 | void h(String s); 42 | 43 | void i(String s); 44 | } 45 | -------------------------------------------------------------------------------- /net/minecraft/server/IMojangStatistics.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IMojangStatistics { 4 | 5 | void a(MojangStatisticsGenerator mojangstatisticsgenerator); 6 | 7 | void b(MojangStatisticsGenerator mojangstatisticsgenerator); 8 | 9 | boolean getSnooperEnabled(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/IMonster.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IMonster extends IAnimal { 4 | 5 | IEntitySelector a = new EntitySelectorMonster(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /net/minecraft/server/IPlayerFileData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IPlayerFileData { 4 | 5 | void save(EntityHuman entityhuman); 6 | 7 | NBTTagCompound load(EntityHuman entityhuman); 8 | 9 | String[] getSeenPlayers(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/IPosition.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IPosition { 4 | 5 | double getX(); 6 | 7 | double getY(); 8 | 9 | double getZ(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/IProgressUpdate.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IProgressUpdate { 4 | 5 | void a(String s); 6 | 7 | void c(String s); 8 | 9 | void a(int i); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/IProjectile.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IProjectile { 4 | 5 | void shoot(double d0, double d1, double d2, float f, float f1); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/IRangedEntity.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IRangedEntity { 4 | 5 | void a(EntityLiving entityliving, float f); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/IRecipe.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IRecipe { 4 | 5 | boolean a(InventoryCrafting inventorycrafting, World world); 6 | 7 | ItemStack a(InventoryCrafting inventorycrafting); 8 | 9 | int a(); 10 | 11 | ItemStack b(); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/IRegistry.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IRegistry { 4 | 5 | Object get(Object object); 6 | 7 | void a(Object object, Object object1); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/IScoreboardCriteria.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.HashMap; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public interface IScoreboardCriteria { 8 | 9 | Map criteria = new HashMap(); 10 | IScoreboardCriteria b = new ScoreboardBaseCriteria("dummy"); 11 | IScoreboardCriteria c = new ScoreboardBaseCriteria("deathCount"); 12 | IScoreboardCriteria d = new ScoreboardBaseCriteria("playerKillCount"); 13 | IScoreboardCriteria e = new ScoreboardBaseCriteria("totalKillCount"); 14 | IScoreboardCriteria f = new ScoreboardHealthCriteria("health"); 15 | 16 | String getName(); 17 | 18 | int getScoreModifier(List list); 19 | 20 | boolean isReadOnly(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ISource.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface ISource extends IPosition { 4 | 5 | World k(); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/ISourceBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface ISourceBlock extends ILocationSource { 4 | 5 | double getX(); 6 | 7 | double getY(); 8 | 9 | double getZ(); 10 | 11 | int getBlockX(); 12 | 13 | int getBlockY(); 14 | 15 | int getBlockZ(); 16 | 17 | int h(); 18 | 19 | TileEntity getTileEntity(); 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/IUpdatePlayerListBox.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IUpdatePlayerListBox { 4 | 5 | void a(); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/IWorldInventory.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface IWorldInventory extends IInventory { 4 | 5 | int[] getSlotsForFace(int i); 6 | 7 | boolean canPlaceItemThroughFace(int i, ItemStack itemstack, int j); 8 | 9 | boolean canTakeItemThroughFace(int i, ItemStack itemstack, int j); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/InstantMobEffect.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class InstantMobEffect extends MobEffectList { 4 | 5 | public InstantMobEffect(int i, boolean flag, int j) { 6 | super(i, flag, j); 7 | } 8 | 9 | public boolean isInstant() { 10 | return true; 11 | } 12 | 13 | public boolean a(int i, int j) { 14 | return i >= 1; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/InventoryHorseChest.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class InventoryHorseChest extends InventorySubcontainer { 4 | 5 | public InventoryHorseChest(String s, int i) { 6 | super(s, false, i); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemAnvil.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemAnvil extends ItemMultiTexture { 4 | 5 | public ItemAnvil(Block block) { 6 | super(block, block, BlockAnvil.a); 7 | } 8 | 9 | public int filterData(int i) { 10 | return i << 2; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemAxe.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Set; 4 | 5 | import net.minecraft.util.com.google.common.collect.Sets; 6 | 7 | public class ItemAxe extends ItemTool { 8 | 9 | private static final Set c = Sets.newHashSet(new Block[] { Blocks.WOOD, Blocks.BOOKSHELF, Blocks.LOG, Blocks.LOG2, Blocks.CHEST, Blocks.PUMPKIN, Blocks.JACK_O_LANTERN}); 10 | 11 | protected ItemAxe(EnumToolMaterial enumtoolmaterial) { 12 | super(3.0F, enumtoolmaterial, c); 13 | } 14 | 15 | public float getDestroySpeed(ItemStack itemstack, Block block) { 16 | return block.getMaterial() != Material.WOOD && block.getMaterial() != Material.PLANT && block.getMaterial() != Material.REPLACEABLE_PLANT ? super.getDestroySpeed(itemstack, block) : this.a; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemBlockWithAuxData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemBlockWithAuxData extends ItemBlock { 4 | 5 | private Block b; 6 | 7 | public ItemBlockWithAuxData(Block block, Block block1) { 8 | super(block); 9 | this.b = block1; 10 | this.setMaxDurability(0); 11 | this.a(true); 12 | } 13 | 14 | public int filterData(int i) { 15 | return i; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemBook.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemBook extends Item { 4 | 5 | public ItemBook() {} 6 | 7 | public boolean e_(ItemStack itemstack) { 8 | return itemstack.count == 1; 9 | } 10 | 11 | public int c() { 12 | return 1; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemCloth.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemCloth extends ItemBlock { 4 | 5 | public ItemCloth(Block block) { 6 | super(block); 7 | this.setMaxDurability(0); 8 | this.a(true); 9 | } 10 | 11 | public int filterData(int i) { 12 | return i; 13 | } 14 | 15 | public String a(ItemStack itemstack) { 16 | return super.getName() + "." + ItemDye.a[BlockCloth.b(itemstack.getData())]; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemCoal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemCoal extends Item { 4 | 5 | public ItemCoal() { 6 | this.a(true); 7 | this.setMaxDurability(0); 8 | this.a(CreativeModeTab.l); 9 | } 10 | 11 | public String a(ItemStack itemstack) { 12 | return itemstack.getData() == 1 ? "item.charcoal" : "item.coal"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemEgg.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemEgg extends Item { 4 | 5 | public ItemEgg() { 6 | this.maxStackSize = 16; 7 | this.a(CreativeModeTab.l); 8 | } 9 | 10 | public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) { 11 | if (!entityhuman.abilities.canInstantlyBuild) { 12 | --itemstack.count; 13 | } 14 | 15 | world.makeSound(entityhuman, "random.bow", 0.5F, 0.4F / (g.nextFloat() * 0.4F + 0.8F)); 16 | if (!world.isStatic) { 17 | world.addEntity(new EntityEgg(world, entityhuman)); 18 | } 19 | 20 | return itemstack; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemEnderPearl.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemEnderPearl extends Item { 4 | 5 | public ItemEnderPearl() { 6 | this.maxStackSize = 16; 7 | this.a(CreativeModeTab.f); 8 | } 9 | 10 | public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) { 11 | if (entityhuman.abilities.canInstantlyBuild) { 12 | return itemstack; 13 | } else { 14 | --itemstack.count; 15 | world.makeSound(entityhuman, "random.bow", 0.5F, 0.4F / (g.nextFloat() * 0.4F + 0.8F)); 16 | if (!world.isStatic) { 17 | world.addEntity(new EntityEnderPearl(world, entityhuman)); 18 | } 19 | 20 | return itemstack; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemExpBottle.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemExpBottle extends Item { 4 | 5 | public ItemExpBottle() { 6 | this.a(CreativeModeTab.f); 7 | } 8 | 9 | public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) { 10 | if (!entityhuman.abilities.canInstantlyBuild) { 11 | --itemstack.count; 12 | } 13 | 14 | world.makeSound(entityhuman, "random.bow", 0.5F, 0.4F / (g.nextFloat() * 0.4F + 0.8F)); 15 | if (!world.isStatic) { 16 | world.addEntity(new EntityThrownExpBottle(world, entityhuman)); 17 | } 18 | 19 | return itemstack; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemFireworksCharge.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemFireworksCharge extends Item { 4 | 5 | public ItemFireworksCharge() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemLeaves.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemLeaves extends ItemBlock { 4 | 5 | private final BlockLeaves b; 6 | 7 | public ItemLeaves(BlockLeaves blockleaves) { 8 | super(blockleaves); 9 | this.b = blockleaves; 10 | this.setMaxDurability(0); 11 | this.a(true); 12 | } 13 | 14 | public int filterData(int i) { 15 | return i | 4; 16 | } 17 | 18 | public String a(ItemStack itemstack) { 19 | int i = itemstack.getData(); 20 | 21 | if (i < 0 || i >= this.b.e().length) { 22 | i = 0; 23 | } 24 | 25 | return super.getName() + "." + this.b.e()[i]; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemMultiTexture.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemMultiTexture extends ItemBlock { 4 | 5 | protected final Block b; 6 | protected final String[] c; 7 | 8 | public ItemMultiTexture(Block block, Block block1, String[] astring) { 9 | super(block); 10 | this.b = block1; 11 | this.c = astring; 12 | this.setMaxDurability(0); 13 | this.a(true); 14 | } 15 | 16 | public int filterData(int i) { 17 | return i; 18 | } 19 | 20 | public String a(ItemStack itemstack) { 21 | int i = itemstack.getData(); 22 | 23 | if (i < 0 || i >= this.c.length) { 24 | i = 0; 25 | } 26 | 27 | return super.getName() + "." + this.c[i]; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemNetherStar.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemNetherStar extends Item { 4 | 5 | public ItemNetherStar() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemPiston.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemPiston extends ItemBlock { 4 | 5 | public ItemPiston(Block block) { 6 | super(block); 7 | } 8 | 9 | public int filterData(int i) { 10 | return 7; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemSnowball.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemSnowball extends Item { 4 | 5 | public ItemSnowball() { 6 | this.maxStackSize = 16; 7 | this.a(CreativeModeTab.f); 8 | } 9 | 10 | public ItemStack a(ItemStack itemstack, World world, EntityHuman entityhuman) { 11 | if (!entityhuman.abilities.canInstantlyBuild) { 12 | --itemstack.count; 13 | } 14 | 15 | world.makeSound(entityhuman, "random.bow", 0.5F, 0.4F / (g.nextFloat() * 0.4F + 0.8F)); 16 | if (!world.isStatic) { 17 | world.addEntity(new EntitySnowball(world, entityhuman)); 18 | } 19 | 20 | return itemstack; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemSoup.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemSoup extends ItemFood { 4 | 5 | public ItemSoup(int i) { 6 | super(i, false); 7 | this.e(1); 8 | } 9 | 10 | public ItemStack b(ItemStack itemstack, World world, EntityHuman entityhuman) { 11 | super.b(itemstack, world, entityhuman); 12 | return new ItemStack(Items.BOWL); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemSpade.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Set; 4 | 5 | import net.minecraft.util.com.google.common.collect.Sets; 6 | 7 | public class ItemSpade extends ItemTool { 8 | 9 | private static final Set c = Sets.newHashSet(new Block[] { Blocks.GRASS, Blocks.DIRT, Blocks.SAND, Blocks.GRAVEL, Blocks.SNOW, Blocks.SNOW_BLOCK, Blocks.CLAY, Blocks.SOIL, Blocks.SOUL_SAND, Blocks.MYCEL}); 10 | 11 | public ItemSpade(EnumToolMaterial enumtoolmaterial) { 12 | super(1.0F, enumtoolmaterial, c); 13 | } 14 | 15 | public boolean canDestroySpecialBlock(Block block) { 16 | return block == Blocks.SNOW ? true : block == Blocks.SNOW_BLOCK; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemTallPlant.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemTallPlant extends ItemMultiTexture { 4 | 5 | public ItemTallPlant(Block block, BlockTallPlant blocktallplant, String[] astring) { 6 | super(block, blocktallplant, astring); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/ItemWorldMapBase.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ItemWorldMapBase extends Item { 4 | 5 | protected ItemWorldMapBase() {} 6 | 7 | public boolean h() { 8 | return true; 9 | } 10 | 11 | public Packet c(ItemStack itemstack, World world, EntityHuman entityhuman) { 12 | return null; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/JsonListEntry.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.google.gson.JsonObject; 4 | 5 | public class JsonListEntry { 6 | 7 | private final Object a; 8 | 9 | public JsonListEntry(Object object) { 10 | this.a = object; 11 | } 12 | 13 | protected JsonListEntry(Object object, JsonObject jsonobject) { 14 | this.a = object; 15 | } 16 | 17 | Object getKey() { 18 | return this.a; 19 | } 20 | 21 | boolean hasExpired() { 22 | return false; 23 | } 24 | 25 | protected void a(JsonObject jsonobject) {} 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/JsonListType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.lang.reflect.ParameterizedType; 4 | import java.lang.reflect.Type; 5 | import java.util.List; 6 | 7 | final class JsonListType implements ParameterizedType { 8 | 9 | JsonListType() {} 10 | 11 | public Type[] getActualTypeArguments() { 12 | return new Type[] { JsonListEntry.class}; 13 | } 14 | 15 | public Type getRawType() { 16 | return List.class; 17 | } 18 | 19 | public Type getOwnerType() { 20 | return null; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/LayerIsland.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class LayerIsland extends GenLayer { 4 | 5 | public LayerIsland(long i) { 6 | super(i); 7 | } 8 | 9 | public int[] a(int i, int j, int k, int l) { 10 | int[] aint = IntCache.a(k * l); 11 | 12 | for (int i1 = 0; i1 < l; ++i1) { 13 | for (int j1 = 0; j1 < k; ++j1) { 14 | this.a((long) (i + j1), (long) (j + i1)); 15 | aint[j1 + i1 * k] = this.a(10) == 0 ? 1 : 0; 16 | } 17 | } 18 | 19 | if (i > -k && i <= 0 && j > -l && j <= 0) { 20 | aint[-i + -j * k] = 1; 21 | } 22 | 23 | return aint; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/LocaleI18n.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class LocaleI18n { 4 | 5 | private static LocaleLanguage a = LocaleLanguage.a(); 6 | private static LocaleLanguage b = new LocaleLanguage(); 7 | 8 | public static String get(String s) { 9 | return a.a(s); 10 | } 11 | 12 | public static String get(String s, Object... aobject) { 13 | return a.a(s, aobject); 14 | } 15 | 16 | public static String b(String s) { 17 | return b.a(s); 18 | } 19 | 20 | public static boolean c(String s) { 21 | return a.b(s); 22 | } 23 | 24 | public static long a() { 25 | return a.c(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/MaterialDecoration.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MaterialDecoration extends Material { 4 | 5 | public MaterialDecoration(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | this.p(); 8 | } 9 | 10 | public boolean isBuildable() { 11 | return false; 12 | } 13 | 14 | public boolean blocksLight() { 15 | return false; 16 | } 17 | 18 | public boolean isSolid() { 19 | return false; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/MaterialGas.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MaterialGas extends Material { 4 | 5 | public MaterialGas(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | this.i(); 8 | } 9 | 10 | public boolean isBuildable() { 11 | return false; 12 | } 13 | 14 | public boolean blocksLight() { 15 | return false; 16 | } 17 | 18 | public boolean isSolid() { 19 | return false; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/MaterialLiquid.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MaterialLiquid extends Material { 4 | 5 | public MaterialLiquid(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | this.i(); 8 | this.n(); 9 | } 10 | 11 | public boolean isLiquid() { 12 | return true; 13 | } 14 | 15 | public boolean isSolid() { 16 | return false; 17 | } 18 | 19 | public boolean isBuildable() { 20 | return false; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/MaterialPortal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MaterialPortal extends Material { 4 | 5 | public MaterialPortal(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | } 8 | 9 | public boolean isBuildable() { 10 | return false; 11 | } 12 | 13 | public boolean blocksLight() { 14 | return false; 15 | } 16 | 17 | public boolean isSolid() { 18 | return false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/MaterialWeb.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class MaterialWeb extends Material { 4 | 5 | MaterialWeb(MaterialMapColor materialmapcolor) { 6 | super(materialmapcolor); 7 | } 8 | 9 | public boolean isSolid() { 10 | return false; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/MobEffectAbsorption.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MobEffectAbsorption extends MobEffectList { 4 | 5 | protected MobEffectAbsorption(int i, boolean flag, int j) { 6 | super(i, flag, j); 7 | } 8 | 9 | public void a(EntityLiving entityliving, AttributeMapBase attributemapbase, int i) { 10 | entityliving.setAbsorptionHearts(entityliving.getAbsorptionHearts() - (float) (4 * (i + 1))); 11 | super.a(entityliving, attributemapbase, i); 12 | } 13 | 14 | public void b(EntityLiving entityliving, AttributeMapBase attributemapbase, int i) { 15 | entityliving.setAbsorptionHearts(entityliving.getAbsorptionHearts() + (float) (4 * (i + 1))); 16 | super.b(entityliving, attributemapbase, i); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/MobEffectAttackDamage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MobEffectAttackDamage extends MobEffectList { 4 | 5 | protected MobEffectAttackDamage(int i, boolean flag, int j) { 6 | super(i, flag, j); 7 | } 8 | 9 | public double a(int i, AttributeModifier attributemodifier) { 10 | return this.id == MobEffectList.WEAKNESS.id ? (double) (-0.5F * (float) (i + 1)) : 1.3D * (double) (i + 1); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/MobEffectHealthBoost.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MobEffectHealthBoost extends MobEffectList { 4 | 5 | public MobEffectHealthBoost(int i, boolean flag, int j) { 6 | super(i, flag, j); 7 | } 8 | 9 | public void a(EntityLiving entityliving, AttributeMapBase attributemapbase, int i) { 10 | super.a(entityliving, attributemapbase, i); 11 | if (entityliving.getHealth() > entityliving.getMaxHealth()) { 12 | entityliving.setHealth(entityliving.getMaxHealth()); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/MobSpawnerMinecart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class MobSpawnerMinecart extends MobSpawnerAbstract { 4 | 5 | final EntityMinecartMobSpawner a; 6 | 7 | MobSpawnerMinecart(EntityMinecartMobSpawner entityminecartmobspawner) { 8 | this.a = entityminecartmobspawner; 9 | } 10 | 11 | public void a(int i) { 12 | this.a.world.broadcastEntityEffect(this.a, (byte) i); 13 | } 14 | 15 | public World a() { 16 | return this.a.world; 17 | } 18 | 19 | public int b() { 20 | return MathHelper.floor(this.a.locX); 21 | } 22 | 23 | public int c() { 24 | return MathHelper.floor(this.a.locY); 25 | } 26 | 27 | public int d() { 28 | return MathHelper.floor(this.a.locZ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/server/ModdingApi.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ModdingApi {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/MojangsonListParser.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.ArrayList; 4 | import java.util.Iterator; 5 | 6 | class MojangsonListParser extends MojangsonTypeParser { 7 | 8 | protected ArrayList b = new ArrayList(); 9 | 10 | public MojangsonListParser(String s) { 11 | this.a = s; 12 | } 13 | 14 | public NBTBase a() { 15 | NBTTagList nbttaglist = new NBTTagList(); 16 | Iterator iterator = this.b.iterator(); 17 | 18 | while (iterator.hasNext()) { 19 | MojangsonTypeParser mojangsontypeparser = (MojangsonTypeParser) iterator.next(); 20 | 21 | nbttaglist.add(mojangsontypeparser.a()); 22 | } 23 | 24 | return nbttaglist; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/MojangsonParseException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MojangsonParseException extends Exception { 4 | 5 | public MojangsonParseException(String s) { 6 | super(s); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/MojangsonTypeParser.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | abstract class MojangsonTypeParser { 4 | 5 | protected String a; 6 | 7 | MojangsonTypeParser() {} 8 | 9 | public abstract NBTBase a(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/MonsterEggInfo.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class MonsterEggInfo { 4 | 5 | public final int a; 6 | public final int b; 7 | public final int c; 8 | public final Statistic killEntityStatistic; 9 | public final Statistic e; 10 | 11 | public MonsterEggInfo(int i, int j, int k) { 12 | this.a = i; 13 | this.b = j; 14 | this.c = k; 15 | this.killEntityStatistic = StatisticList.a(this); 16 | this.e = StatisticList.b(this); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/NBTNumber.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class NBTNumber extends NBTBase { 4 | 5 | protected NBTNumber() {} 6 | 7 | public abstract long c(); 8 | 9 | public abstract int d(); 10 | 11 | public abstract short e(); 12 | 13 | public abstract byte f(); 14 | 15 | public abstract double g(); 16 | 17 | public abstract float h(); 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/NBTReadLimiter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class NBTReadLimiter { 4 | 5 | public static final NBTReadLimiter a = new NBTReadLimiterUnlimited(0L); 6 | private final long b; 7 | private long c; 8 | 9 | public NBTReadLimiter(long i) { 10 | this.b = i; 11 | } 12 | 13 | public void a(long i) { 14 | this.c += i / 8L; 15 | if (this.c > this.b) { 16 | throw new RuntimeException("Tried to read NBT tag that was too big; tried to allocate: " + this.c + "bytes where max allowed: " + this.b); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/NBTReadLimiterUnlimited.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class NBTReadLimiterUnlimited extends NBTReadLimiter { 4 | 5 | NBTReadLimiterUnlimited(long i) { 6 | super(i); 7 | } 8 | 9 | public void a(long i) {} 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/NBTTagEnd.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.io.DataInput; 4 | import java.io.DataOutput; 5 | 6 | public class NBTTagEnd extends NBTBase { 7 | 8 | NBTTagEnd() {} 9 | 10 | void load(DataInput datainput, int i, NBTReadLimiter nbtreadlimiter) {} 11 | 12 | void write(DataOutput dataoutput) {} 13 | 14 | public byte getTypeId() { 15 | return (byte) 0; 16 | } 17 | 18 | public String toString() { 19 | return "END"; 20 | } 21 | 22 | public NBTBase clone() { 23 | return new NBTTagEnd(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/NPC.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface NPC extends IAnimal {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/NoiseGenerator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class NoiseGenerator { 4 | 5 | public NoiseGenerator() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/OldChunk.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class OldChunk { 4 | 5 | public long a; 6 | public boolean b; 7 | public byte[] c; 8 | public OldNibbleArray d; 9 | public OldNibbleArray e; 10 | public OldNibbleArray f; 11 | public byte[] g; 12 | public NBTTagList h; 13 | public NBTTagList i; 14 | public NBTTagList j; 15 | public final int k; 16 | public final int l; 17 | 18 | public OldChunk(int i, int j) { 19 | this.k = i; 20 | this.l = j; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/OldNibbleArray.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class OldNibbleArray { 4 | 5 | public final byte[] a; 6 | private final int b; 7 | private final int c; 8 | 9 | public OldNibbleArray(byte[] abyte, int i) { 10 | this.a = abyte; 11 | this.b = i; 12 | this.c = i + 4; 13 | } 14 | 15 | public int a(int i, int j, int k) { 16 | int l = i << this.c | k << this.b | j; 17 | int i1 = l >> 1; 18 | int j1 = l & 1; 19 | 20 | return j1 == 0 ? this.a[i1] & 15 : this.a[i1] >> 4 & 15; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketHandshakingInListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketHandshakingInListener extends PacketListener { 4 | 5 | void a(PacketHandshakingInSetProtocol packethandshakinginsetprotocol); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketListener { 4 | 5 | void a(IChatBaseComponent ichatbasecomponent); 6 | 7 | void a(EnumProtocol enumprotocol, EnumProtocol enumprotocol1); 8 | 9 | void a(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketLoginInListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketLoginInListener extends PacketListener { 4 | 5 | void a(PacketLoginInStart packetlogininstart); 6 | 7 | void a(PacketLoginInEncryptionBegin packetlogininencryptionbegin); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketLoginOutListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketLoginOutListener extends PacketListener { 4 | 5 | void a(PacketLoginOutEncryptionBegin packetloginoutencryptionbegin); 6 | 7 | void a(PacketLoginOutSuccess packetloginoutsuccess); 8 | 9 | void a(PacketLoginOutDisconnect packetloginoutdisconnect); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketPlayInCloseWindow.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PacketPlayInCloseWindow extends Packet { 4 | 5 | private int a; 6 | 7 | public PacketPlayInCloseWindow() {} 8 | 9 | public void a(PacketPlayInListener packetplayinlistener) { 10 | packetplayinlistener.a(this); 11 | } 12 | 13 | public void a(PacketDataSerializer packetdataserializer) { 14 | this.a = packetdataserializer.readByte(); 15 | } 16 | 17 | public void b(PacketDataSerializer packetdataserializer) { 18 | packetdataserializer.writeByte(this.a); 19 | } 20 | 21 | public void handle(PacketListener packetlistener) { 22 | this.a((PacketPlayInListener) packetlistener); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketStatistics.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PacketStatistics { 4 | 5 | private final int a; 6 | private final PackStatisticData b; 7 | 8 | public PacketStatistics(int i, PackStatisticData packstatisticdata) { 9 | this.a = i; 10 | this.b = packstatisticdata; 11 | } 12 | 13 | public String toString() { 14 | return "PacketStat(" + this.a + ")" + this.b; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketStatusInListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketStatusInListener extends PacketListener { 4 | 5 | void a(PacketStatusInPing packetstatusinping); 6 | 7 | void a(PacketStatusInStart packetstatusinstart); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketStatusInStart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PacketStatusInStart extends Packet { 4 | 5 | public PacketStatusInStart() {} 6 | 7 | public void a(PacketDataSerializer packetdataserializer) {} 8 | 9 | public void b(PacketDataSerializer packetdataserializer) {} 10 | 11 | public void a(PacketStatusInListener packetstatusinlistener) { 12 | packetstatusinlistener.a(this); 13 | } 14 | 15 | public boolean a() { 16 | return true; 17 | } 18 | 19 | public void handle(PacketListener packetlistener) { 20 | this.a((PacketStatusInListener) packetlistener); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/PacketStatusOutListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface PacketStatusOutListener extends PacketListener { 4 | 5 | void a(PacketStatusOutServerInfo packetstatusoutserverinfo); 6 | 7 | void a(PacketStatusOutPong packetstatusoutpong); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class PathfinderGoal { 4 | 5 | private int a; 6 | 7 | public PathfinderGoal() {} 8 | 9 | public abstract boolean a(); 10 | 11 | public boolean b() { 12 | return this.a(); 13 | } 14 | 15 | public boolean i() { 16 | return true; 17 | } 18 | 19 | public void c() {} 20 | 21 | public void d() {} 22 | 23 | public void e() {} 24 | 25 | public void a(int i) { 26 | this.a = i; 27 | } 28 | 29 | public int j() { 30 | return this.a; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalFloat.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PathfinderGoalFloat extends PathfinderGoal { 4 | 5 | private EntityInsentient a; 6 | 7 | public PathfinderGoalFloat(EntityInsentient entityinsentient) { 8 | this.a = entityinsentient; 9 | this.a(4); 10 | entityinsentient.getNavigation().e(true); 11 | } 12 | 13 | public boolean a() { 14 | return this.a.M() || this.a.P(); 15 | } 16 | 17 | public void e() { 18 | if (this.a.aI().nextFloat() < 0.8F) { 19 | this.a.getControllerJump().a(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalInteract.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PathfinderGoalInteract extends PathfinderGoalLookAtPlayer { 4 | 5 | public PathfinderGoalInteract(EntityInsentient entityinsentient, Class oclass, float f, float f1) { 6 | super(entityinsentient, oclass, f, f1); 7 | this.a(3); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalLookAtTradingPlayer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PathfinderGoalLookAtTradingPlayer extends PathfinderGoalLookAtPlayer { 4 | 5 | private final EntityVillager b; 6 | 7 | public PathfinderGoalLookAtTradingPlayer(EntityVillager entityvillager) { 8 | super(entityvillager, EntityHuman.class, 8.0F); 9 | this.b = entityvillager; 10 | } 11 | 12 | public boolean a() { 13 | if (this.b.cc()) { 14 | this.a = this.b.b(); 15 | return true; 16 | } else { 17 | return false; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalRandomTargetNonTamed.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PathfinderGoalRandomTargetNonTamed extends PathfinderGoalNearestAttackableTarget { 4 | 5 | private EntityTameableAnimal a; 6 | 7 | public PathfinderGoalRandomTargetNonTamed(EntityTameableAnimal entitytameableanimal, Class oclass, int i, boolean flag) { 8 | super(entitytameableanimal, oclass, i, flag); 9 | this.a = entitytameableanimal; 10 | } 11 | 12 | public boolean a() { 13 | return !this.a.isTamed() && super.a(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalRestrictSun.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class PathfinderGoalRestrictSun extends PathfinderGoal { 4 | 5 | private EntityCreature a; 6 | 7 | public PathfinderGoalRestrictSun(EntityCreature entitycreature) { 8 | this.a = entitycreature; 9 | } 10 | 11 | public boolean a() { 12 | return this.a.world.w(); 13 | } 14 | 15 | public void c() { 16 | this.a.getNavigation().d(true); 17 | } 18 | 19 | public void d() { 20 | this.a.getNavigation().d(false); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/PathfinderGoalSelectorItem.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class PathfinderGoalSelectorItem { 4 | 5 | public PathfinderGoal a; 6 | public int b; 7 | final PathfinderGoalSelector c; 8 | 9 | public PathfinderGoalSelectorItem(PathfinderGoalSelector pathfindergoalselector, int i, PathfinderGoal pathfindergoal) { 10 | this.c = pathfindergoalselector; 11 | this.b = i; 12 | this.a = pathfindergoal; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/PendingChunkToSave.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class PendingChunkToSave { 4 | 5 | public final ChunkCoordIntPair a; 6 | public final NBTTagCompound b; 7 | 8 | public PendingChunkToSave(ChunkCoordIntPair chunkcoordintpair, NBTTagCompound nbttagcompound) { 9 | this.a = chunkcoordintpair; 10 | this.b = nbttagcompound; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/PersistentBase.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class PersistentBase { 4 | 5 | public final String id; 6 | private boolean a; 7 | 8 | public PersistentBase(String s) { 9 | this.id = s; 10 | } 11 | 12 | public abstract void a(NBTTagCompound nbttagcompound); 13 | 14 | public abstract void b(NBTTagCompound nbttagcompound); 15 | 16 | public void c() { 17 | this.a(true); 18 | } 19 | 20 | public void a(boolean flag) { 21 | this.a = flag; 22 | } 23 | 24 | public boolean d() { 25 | return this.a; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/PlayerConnectionFuture.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.io.netty.util.concurrent.Future; 4 | import net.minecraft.util.io.netty.util.concurrent.GenericFutureListener; 5 | 6 | class PlayerConnectionFuture implements GenericFutureListener { 7 | 8 | final ChatComponentText a; 9 | final PlayerConnection b; 10 | 11 | PlayerConnectionFuture(PlayerConnection playerconnection, ChatComponentText chatcomponenttext) { 12 | this.b = playerconnection; 13 | this.a = chatcomponenttext; 14 | } 15 | 16 | public void operationComplete(Future future) { 17 | this.b.networkManager.close(this.a); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/Position.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class Position implements IPosition { 4 | 5 | protected final double a; 6 | protected final double b; 7 | protected final double c; 8 | 9 | public Position(double d0, double d1, double d2) { 10 | this.a = d0; 11 | this.b = d1; 12 | this.c = d2; 13 | } 14 | 15 | public double getX() { 16 | return this.a; 17 | } 18 | 19 | public double getY() { 20 | return this.b; 21 | } 22 | 23 | public double getZ() { 24 | return this.c; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/PredicateEmptyList.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.google.common.base.Predicate; 4 | 5 | final class PredicateEmptyList implements Predicate { 6 | 7 | PredicateEmptyList() {} 8 | 9 | public boolean a(String s) { 10 | return !UtilColor.b(s); 11 | } 12 | 13 | public boolean apply(Object object) { 14 | return this.a((String) object); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/ProfilerInfo.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public final class ProfilerInfo implements Comparable { 4 | 5 | public double a; 6 | public double b; 7 | public String c; 8 | 9 | public ProfilerInfo(String s, double d0, double d1) { 10 | this.c = s; 11 | this.a = d0; 12 | this.b = d1; 13 | } 14 | 15 | public int a(ProfilerInfo profilerinfo) { 16 | return profilerinfo.a < this.a ? -1 : (profilerinfo.a > this.a ? 1 : profilerinfo.c.compareTo(this.c)); 17 | } 18 | 19 | public int compareTo(Object object) { 20 | return this.a((ProfilerInfo) object); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ProtocolOrdinalWrapper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ProtocolOrdinalWrapper { 4 | 5 | static final int[] a = new int[EnumProtocol.values().length]; 6 | 7 | static { 8 | try { 9 | a[EnumProtocol.LOGIN.ordinal()] = 1; 10 | } catch (NoSuchFieldError nosuchfielderror) { 11 | ; 12 | } 13 | 14 | try { 15 | a[EnumProtocol.STATUS.ordinal()] = 2; 16 | } catch (NoSuchFieldError nosuchfielderror1) { 17 | ; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/QueuedPacket.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.io.netty.util.concurrent.GenericFutureListener; 4 | 5 | class QueuedPacket { 6 | 7 | private final Packet a; 8 | private final GenericFutureListener[] b; 9 | 10 | public QueuedPacket(Packet packet, GenericFutureListener... agenericfuturelistener) { 11 | this.a = packet; 12 | this.b = agenericfuturelistener; 13 | } 14 | 15 | static Packet a(QueuedPacket queuedpacket) { 16 | return queuedpacket.a; 17 | } 18 | 19 | static GenericFutureListener[] b(QueuedPacket queuedpacket) { 20 | return queuedpacket.b; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/RecipeSorter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Comparator; 4 | 5 | class RecipeSorter implements Comparator { 6 | 7 | final CraftingManager a; 8 | 9 | RecipeSorter(CraftingManager craftingmanager) { 10 | this.a = craftingmanager; 11 | } 12 | 13 | public int a(IRecipe irecipe, IRecipe irecipe1) { 14 | return irecipe instanceof ShapelessRecipes && irecipe1 instanceof ShapedRecipes ? 1 : (irecipe1 instanceof ShapelessRecipes && irecipe instanceof ShapedRecipes ? -1 : (irecipe1.a() < irecipe.a() ? -1 : (irecipe1.a() > irecipe.a() ? 1 : 0))); 15 | } 16 | 17 | public int compare(Object object, Object object1) { 18 | return this.a((IRecipe) object, (IRecipe) object1); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/RedstoneUpdateInfo.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class RedstoneUpdateInfo { 4 | 5 | int a; 6 | int b; 7 | int c; 8 | long d; 9 | 10 | public RedstoneUpdateInfo(int i, int j, int k, long l) { 11 | this.a = i; 12 | this.b = j; 13 | this.c = k; 14 | this.d = l; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/Registry.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public interface Registry extends Iterable {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/RegistryDefault.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class RegistryDefault extends RegistrySimple { 4 | 5 | private final Object a; 6 | 7 | public RegistryDefault(Object object) { 8 | this.a = object; 9 | } 10 | 11 | public Object get(Object object) { 12 | Object object1 = super.get(object); 13 | 14 | return object1 == null ? this.a : object1; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/ReportedException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ReportedException extends RuntimeException { 4 | 5 | private final CrashReport a; 6 | 7 | public ReportedException(CrashReport crashreport) { 8 | this.a = crashreport; 9 | } 10 | 11 | public CrashReport a() { 12 | return this.a; 13 | } 14 | 15 | public Throwable getCause() { 16 | return this.a.b(); 17 | } 18 | 19 | public String getMessage() { 20 | return this.a.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/ScoreboardBaseCriteria.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | 5 | public class ScoreboardBaseCriteria implements IScoreboardCriteria { 6 | 7 | private final String g; 8 | 9 | public ScoreboardBaseCriteria(String s) { 10 | this.g = s; 11 | IScoreboardCriteria.criteria.put(s, this); 12 | } 13 | 14 | public String getName() { 15 | return this.g; 16 | } 17 | 18 | public int getScoreModifier(List list) { 19 | return 0; 20 | } 21 | 22 | public boolean isReadOnly() { 23 | return false; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/ScoreboardComparator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Comparator; 4 | 5 | final class ScoreboardComparator implements Comparator { 6 | 7 | ScoreboardComparator() {} 8 | 9 | public int a(ScoreboardScore scoreboardscore, ScoreboardScore scoreboardscore1) { 10 | return scoreboardscore.getScore() > scoreboardscore1.getScore() ? 1 : (scoreboardscore.getScore() < scoreboardscore1.getScore() ? -1 : 0); 11 | } 12 | 13 | public int compare(Object object, Object object1) { 14 | return this.a((ScoreboardScore) object, (ScoreboardScore) object1); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/ScoreboardStatisticCriteria.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ScoreboardStatisticCriteria extends ScoreboardBaseCriteria { 4 | 5 | private final Statistic g; 6 | 7 | public ScoreboardStatisticCriteria(Statistic statistic) { 8 | super(statistic.name); 9 | this.g = statistic; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/server/ScoreboardTeamBase.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class ScoreboardTeamBase { 4 | 5 | public ScoreboardTeamBase() {} 6 | 7 | public boolean isAlly(ScoreboardTeamBase scoreboardteambase) { 8 | return scoreboardteambase == null ? false : this == scoreboardteambase; 9 | } 10 | 11 | public abstract String getName(); 12 | 13 | public abstract String getFormattedName(String s); 14 | 15 | public abstract boolean allowFriendlyFire(); 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/SecondaryWorldServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class SecondaryWorldServer extends WorldServer { 4 | 5 | public SecondaryWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, String s, int i, WorldSettings worldsettings, WorldServer worldserver, MethodProfiler methodprofiler) { 6 | super(minecraftserver, idatamanager, s, i, worldsettings, methodprofiler); 7 | this.worldMaps = worldserver.worldMaps; 8 | this.scoreboard = worldserver.getScoreboard(); 9 | this.worldData = new SecondaryWorldData(worldserver.getWorldData()); 10 | } 11 | 12 | protected void a() {} 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerCommand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ServerCommand { 4 | 5 | public final String command; 6 | public final ICommandListener source; 7 | 8 | public ServerCommand(String s, ICommandListener icommandlistener) { 9 | this.command = s; 10 | this.source = icommandlistener; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerConnectionFuture.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.io.netty.util.concurrent.Future; 4 | import net.minecraft.util.io.netty.util.concurrent.GenericFutureListener; 5 | 6 | class ServerConnectionFuture implements GenericFutureListener { 7 | 8 | final NetworkManager a; 9 | final ChatComponentText b; 10 | final ServerConnection c; 11 | 12 | ServerConnectionFuture(ServerConnection serverconnection, NetworkManager networkmanager, ChatComponentText chatcomponenttext) { 13 | this.c = serverconnection; 14 | this.a = networkmanager; 15 | this.b = chatcomponenttext; 16 | } 17 | 18 | public void operationComplete(Future future) { 19 | this.a.close(this.b); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerGuiCommandListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.awt.event.ActionEvent; 4 | import java.awt.event.ActionListener; 5 | import javax.swing.JTextField; 6 | 7 | class ServerGuiCommandListener implements ActionListener { 8 | 9 | final JTextField a; 10 | final ServerGUI b; 11 | 12 | ServerGuiCommandListener(ServerGUI servergui, JTextField jtextfield) { 13 | this.b = servergui; 14 | this.a = jtextfield; 15 | } 16 | 17 | public void actionPerformed(ActionEvent actionevent) { 18 | String s = this.a.getText().trim(); 19 | 20 | if (s.length() > 0) { 21 | ServerGUI.a(this.b).issueCommand(s, MinecraftServer.getServer()); 22 | } 23 | 24 | this.a.setText(""); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerGuiFocusAdapter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.awt.event.FocusAdapter; 4 | import java.awt.event.FocusEvent; 5 | 6 | class ServerGuiFocusAdapter extends FocusAdapter { 7 | 8 | final ServerGUI a; 9 | 10 | ServerGuiFocusAdapter(ServerGUI servergui) { 11 | this.a = servergui; 12 | } 13 | 14 | public void focusGained(FocusEvent focusevent) {} 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerGuiInvokeRunnable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import javax.swing.JScrollPane; 4 | import javax.swing.JTextArea; 5 | 6 | class ServerGuiInvokeRunnable implements Runnable { 7 | 8 | final JTextArea a; 9 | final JScrollPane b; 10 | final String c; 11 | final ServerGUI d; 12 | 13 | ServerGuiInvokeRunnable(ServerGUI servergui, JTextArea jtextarea, JScrollPane jscrollpane, String s) { 14 | this.d = servergui; 15 | this.a = jtextarea; 16 | this.b = jscrollpane; 17 | this.c = s; 18 | } 19 | 20 | public void run() { 21 | this.d.a(this.a, this.b, this.c); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerPingPlayerSample.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import net.minecraft.util.com.mojang.authlib.GameProfile; 4 | 5 | public class ServerPingPlayerSample { 6 | 7 | private final int a; 8 | private final int b; 9 | private GameProfile[] c; 10 | 11 | public ServerPingPlayerSample(int i, int j) { 12 | this.a = i; 13 | this.b = j; 14 | } 15 | 16 | public int a() { 17 | return this.a; 18 | } 19 | 20 | public int b() { 21 | return this.b; 22 | } 23 | 24 | public GameProfile[] c() { 25 | return this.c; 26 | } 27 | 28 | public void a(GameProfile[] agameprofile) { 29 | this.c = agameprofile; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerPingServerData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ServerPingServerData { 4 | 5 | private final String a; 6 | private final int b; 7 | 8 | public ServerPingServerData(String s, int i) { 9 | this.a = s; 10 | this.b = i; 11 | } 12 | 13 | public String a() { 14 | return this.a; 15 | } 16 | 17 | public int b() { 18 | return this.b; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/ServerWindowAdapter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.awt.event.WindowAdapter; 4 | import java.awt.event.WindowEvent; 5 | 6 | final class ServerWindowAdapter extends WindowAdapter { 7 | 8 | final DedicatedServer a; 9 | 10 | ServerWindowAdapter(DedicatedServer dedicatedserver) { 11 | this.a = dedicatedserver; 12 | } 13 | 14 | public void windowClosing(WindowEvent windowevent) { 15 | this.a.safeShutdown(); 16 | 17 | while (!this.a.isStopped()) { 18 | try { 19 | Thread.sleep(100L); 20 | } catch (InterruptedException interruptedexception) { 21 | interruptedexception.printStackTrace(); 22 | } 23 | } 24 | 25 | System.exit(0); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotArmor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotArmor extends Slot { 4 | 5 | final int a; 6 | final ContainerPlayer b; 7 | 8 | SlotArmor(ContainerPlayer containerplayer, IInventory iinventory, int i, int j, int k, int l) { 9 | super(iinventory, i, j, k); 10 | this.b = containerplayer; 11 | this.a = l; 12 | } 13 | 14 | public int getMaxStackSize() { 15 | return 1; 16 | } 17 | 18 | public boolean isAllowed(ItemStack itemstack) { 19 | return itemstack == null ? false : (itemstack.getItem() instanceof ItemArmor ? ((ItemArmor) itemstack.getItem()).b == this.a : (itemstack.getItem() != Item.getItemOf(Blocks.PUMPKIN) && itemstack.getItem() != Items.SKULL ? false : this.a == 0)); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotBeacon.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotBeacon extends Slot { 4 | 5 | final ContainerBeacon a; 6 | 7 | public SlotBeacon(ContainerBeacon containerbeacon, IInventory iinventory, int i, int j, int k) { 8 | super(iinventory, i, j, k); 9 | this.a = containerbeacon; 10 | } 11 | 12 | public boolean isAllowed(ItemStack itemstack) { 13 | return itemstack == null ? false : itemstack.getItem() == Items.EMERALD || itemstack.getItem() == Items.DIAMOND || itemstack.getItem() == Items.GOLD_INGOT || itemstack.getItem() == Items.IRON_INGOT; 14 | } 15 | 16 | public int getMaxStackSize() { 17 | return 1; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotBrewing.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotBrewing extends Slot { 4 | 5 | final ContainerBrewingStand a; 6 | 7 | public SlotBrewing(ContainerBrewingStand containerbrewingstand, IInventory iinventory, int i, int j, int k) { 8 | super(iinventory, i, j, k); 9 | this.a = containerbrewingstand; 10 | } 11 | 12 | public boolean isAllowed(ItemStack itemstack) { 13 | return itemstack != null ? itemstack.getItem().m(itemstack) : false; 14 | } 15 | 16 | public int getMaxStackSize() { 17 | return 64; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotEnchant.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotEnchant extends Slot { 4 | 5 | final ContainerEnchantTable a; 6 | 7 | SlotEnchant(ContainerEnchantTable containerenchanttable, IInventory iinventory, int i, int j, int k) { 8 | super(iinventory, i, j, k); 9 | this.a = containerenchanttable; 10 | } 11 | 12 | public boolean isAllowed(ItemStack itemstack) { 13 | return true; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotHorseArmor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotHorseArmor extends Slot { 4 | 5 | final EntityHorse a; 6 | final ContainerHorse b; 7 | 8 | SlotHorseArmor(ContainerHorse containerhorse, IInventory iinventory, int i, int j, int k, EntityHorse entityhorse) { 9 | super(iinventory, i, j, k); 10 | this.b = containerhorse; 11 | this.a = entityhorse; 12 | } 13 | 14 | public boolean isAllowed(ItemStack itemstack) { 15 | return super.isAllowed(itemstack) && this.a.cB() && EntityHorse.a(itemstack.getItem()); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/server/SlotHorseSaddle.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class SlotHorseSaddle extends Slot { 4 | 5 | final ContainerHorse a; 6 | 7 | SlotHorseSaddle(ContainerHorse containerhorse, IInventory iinventory, int i, int j, int k) { 8 | super(iinventory, i, j, k); 9 | this.a = containerhorse; 10 | } 11 | 12 | public boolean isAllowed(ItemStack itemstack) { 13 | return super.isAllowed(itemstack) && itemstack.getItem() == Items.SADDLE && !this.hasItem(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/StatisticWrapper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class StatisticWrapper { 4 | 5 | private int a; 6 | private IJsonStatistic b; 7 | 8 | public StatisticWrapper() {} 9 | 10 | public int a() { 11 | return this.a; 12 | } 13 | 14 | public void a(int i) { 15 | this.a = i; 16 | } 17 | 18 | public IJsonStatistic b() { 19 | return this.b; 20 | } 21 | 22 | public void a(IJsonStatistic ijsonstatistic) { 23 | this.b = ijsonstatistic; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/StepSound.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class StepSound { 4 | 5 | public final String a; 6 | public final float b; 7 | public final float c; 8 | 9 | public StepSound(String s, float f, float f1) { 10 | this.a = s; 11 | this.b = f; 12 | this.c = f1; 13 | } 14 | 15 | public float getVolume1() { 16 | return this.b; 17 | } 18 | 19 | public float getVolume2() { 20 | return this.c; 21 | } 22 | 23 | public String getBreakSound() { 24 | return "dig." + this.a; 25 | } 26 | 27 | public String getStepSound() { 28 | return "step." + this.a; 29 | } 30 | 31 | public String getPlaceSound() { 32 | return this.getBreakSound(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/server/StepSoundAnvil.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class StepSoundAnvil extends StepSound { 4 | 5 | StepSoundAnvil(String s, float f, float f1) { 6 | super(s, f, f1); 7 | } 8 | 9 | public String getBreakSound() { 10 | return "dig.stone"; 11 | } 12 | 13 | public String getPlaceSound() { 14 | return "random.anvil_land"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/StepSoundLadder.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class StepSoundLadder extends StepSound { 4 | 5 | StepSoundLadder(String s, float f, float f1) { 6 | super(s, f, f1); 7 | } 8 | 9 | public String getBreakSound() { 10 | return "dig.wood"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/StepSoundStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class StepSoundStone extends StepSound { 4 | 5 | StepSoundStone(String s, float f, float f1) { 6 | super(s, f, f1); 7 | } 8 | 9 | public String getBreakSound() { 10 | return "dig.glass"; 11 | } 12 | 13 | public String getPlaceSound() { 14 | return "step.stone"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/StructurePieceBlockSelector.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public abstract class StructurePieceBlockSelector { 6 | 7 | protected Block a; 8 | protected int b; 9 | 10 | protected StructurePieceBlockSelector() { 11 | this.a = Blocks.AIR; 12 | } 13 | 14 | public abstract void a(Random random, int i, int j, int k, boolean flag); 15 | 16 | public Block a() { 17 | return this.a; 18 | } 19 | 20 | public int b() { 21 | return this.b; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/ThreadServerApplication.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class ThreadServerApplication extends Thread { 4 | 5 | final MinecraftServer a; 6 | 7 | public ThreadServerApplication(MinecraftServer minecraftserver, String s) { 8 | super(s); 9 | this.a = minecraftserver; 10 | } 11 | 12 | public void run() { 13 | this.a.run(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/ThreadShutdown.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public final class ThreadShutdown extends Thread { 4 | 5 | final DedicatedServer a; 6 | 7 | public ThreadShutdown(String s, DedicatedServer dedicatedserver) { 8 | super(s); 9 | this.a = dedicatedserver; 10 | } 11 | 12 | public void run() { 13 | this.a.stop(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/ThreadSleepForever.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class ThreadSleepForever extends Thread { 4 | 5 | final DedicatedServer a; 6 | 7 | ThreadSleepForever(DedicatedServer dedicatedserver, String s) { 8 | super(s); 9 | this.a = dedicatedserver; 10 | this.setDaemon(true); 11 | this.start(); 12 | } 13 | 14 | public void run() { 15 | while (true) { 16 | try { 17 | while (true) { 18 | Thread.sleep(2147483647L); 19 | } 20 | } catch (InterruptedException interruptedexception) { 21 | ; 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/TileEntityCommandListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class TileEntityCommandListener extends CommandBlockListenerAbstract { 4 | 5 | final TileEntityCommand a; 6 | 7 | TileEntityCommandListener(TileEntityCommand tileentitycommand) { 8 | this.a = tileentitycommand; 9 | } 10 | 11 | public ChunkCoordinates getChunkCoordinates() { 12 | return new ChunkCoordinates(this.a.x, this.a.y, this.a.z); 13 | } 14 | 15 | public World getWorld() { 16 | return this.a.getWorld(); 17 | } 18 | 19 | public void setCommand(String s) { 20 | super.setCommand(s); 21 | this.a.update(); 22 | } 23 | 24 | public void e() { 25 | this.a.getWorld().notify(this.a.x, this.a.y, this.a.z); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/server/TileEntityComparator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class TileEntityComparator extends TileEntity { 4 | 5 | private int a; 6 | 7 | public TileEntityComparator() {} 8 | 9 | public void b(NBTTagCompound nbttagcompound) { 10 | super.b(nbttagcompound); 11 | nbttagcompound.setInt("OutputSignal", this.a); 12 | } 13 | 14 | public void a(NBTTagCompound nbttagcompound) { 15 | super.a(nbttagcompound); 16 | this.a = nbttagcompound.getInt("OutputSignal"); 17 | } 18 | 19 | public int a() { 20 | return this.a; 21 | } 22 | 23 | public void a(int i) { 24 | this.a = i; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/server/TileEntityDropper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class TileEntityDropper extends TileEntityDispenser { 4 | 5 | public TileEntityDropper() {} 6 | 7 | public String getInventoryName() { 8 | return this.k_() ? this.a : "container.dropper"; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/TileEntityEnderPortal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class TileEntityEnderPortal extends TileEntity { 4 | 5 | public TileEntityEnderPortal() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/TileEntityLightDetector.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class TileEntityLightDetector extends TileEntity { 4 | 5 | public TileEntityLightDetector() {} 6 | 7 | public void h() { 8 | if (this.world != null && !this.world.isStatic && this.world.getTime() % 20L == 0L) { 9 | this.h = this.q(); 10 | if (this.h instanceof BlockDaylightDetector) { 11 | ((BlockDaylightDetector) this.h).e(this.world, this.x, this.y, this.z); 12 | } 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/server/TimeCounter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class TimeCounter implements Counter { 4 | 5 | TimeCounter() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/Tuple.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class Tuple { 4 | 5 | private Object a; 6 | private Object b; 7 | 8 | public Tuple(Object object, Object object1) { 9 | this.a = object; 10 | this.b = object1; 11 | } 12 | 13 | public Object a() { 14 | return this.a; 15 | } 16 | 17 | public Object b() { 18 | return this.b; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/UnknownCounter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class UnknownCounter implements Counter { 4 | 5 | UnknownCounter() {} 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/server/UserCacheEntryType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.lang.reflect.ParameterizedType; 4 | import java.lang.reflect.Type; 5 | import java.util.List; 6 | 7 | final class UserCacheEntryType implements ParameterizedType { 8 | 9 | UserCacheEntryType() {} 10 | 11 | public Type[] getActualTypeArguments() { 12 | return new Type[] { UserCacheEntry.class}; 13 | } 14 | 15 | public Type getRawType() { 16 | return List.class; 17 | } 18 | 19 | public Type getOwnerType() { 20 | return null; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/UtilColor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.regex.Pattern; 4 | 5 | public class UtilColor { 6 | 7 | private static final Pattern a = Pattern.compile("(?i)\\u00A7[0-9A-FK-OR]"); 8 | 9 | public static boolean b(String s) { 10 | return s == null || "".equals(s); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/VillageAggressor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class VillageAggressor { 4 | 5 | public EntityLiving a; 6 | public int b; 7 | final Village c; 8 | 9 | VillageAggressor(Village village, EntityLiving entityliving, int i) { 10 | this.c = village; 11 | this.a = entityliving; 12 | this.b = i; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/server/WeightedRandomChoice.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class WeightedRandomChoice { 4 | 5 | protected int a; 6 | 7 | public WeightedRandomChoice(int i) { 8 | this.a = i; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenFire.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class WorldGenFire extends WorldGenerator { 6 | 7 | public WorldGenFire() {} 8 | 9 | public boolean generate(World world, Random random, int i, int j, int k) { 10 | for (int l = 0; l < 64; ++l) { 11 | int i1 = i + random.nextInt(8) - random.nextInt(8); 12 | int j1 = j + random.nextInt(4) - random.nextInt(4); 13 | int k1 = k + random.nextInt(8) - random.nextInt(8); 14 | 15 | if (world.isEmpty(i1, j1, k1) && world.getType(i1, j1 - 1, k1) == Blocks.NETHERRACK) { 16 | world.setTypeAndData(i1, j1, k1, Blocks.FIRE, 0, 2); 17 | } 18 | } 19 | 20 | return true; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenJungleTemplePiece.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | class WorldGenJungleTemplePiece extends StructurePieceBlockSelector { 6 | 7 | private WorldGenJungleTemplePiece() {} 8 | 9 | public void a(Random random, int i, int j, int k, boolean flag) { 10 | if (random.nextFloat() < 0.4F) { 11 | this.a = Blocks.COBBLESTONE; 12 | } else { 13 | this.a = Blocks.MOSSY_COBBLESTONE; 14 | } 15 | } 16 | 17 | WorldGenJungleTemplePiece(WorldGenJungleTempleUnknown worldgenjungletempleunknown) { 18 | this(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenJungleTempleUnknown.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class WorldGenJungleTempleUnknown {} 4 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenMelon.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class WorldGenMelon extends WorldGenerator { 6 | 7 | public WorldGenMelon() {} 8 | 9 | public boolean generate(World world, Random random, int i, int j, int k) { 10 | for (int l = 0; l < 64; ++l) { 11 | int i1 = i + random.nextInt(8) - random.nextInt(8); 12 | int j1 = j + random.nextInt(4) - random.nextInt(4); 13 | int k1 = k + random.nextInt(8) - random.nextInt(8); 14 | 15 | if (Blocks.MELON.canPlace(world, i1, j1, k1) && world.getType(i1, j1 - 1, k1) == Blocks.GRASS) { 16 | world.setTypeAndData(i1, j1, k1, Blocks.MELON, 0, 2); 17 | } 18 | } 19 | 20 | return true; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenMineshaftStart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.List; 4 | import java.util.Random; 5 | 6 | public class WorldGenMineshaftStart extends StructureStart { 7 | 8 | public WorldGenMineshaftStart() {} 9 | 10 | public WorldGenMineshaftStart(World world, Random random, int i, int j) { 11 | super(i, j); 12 | WorldGenMineshaftRoom worldgenmineshaftroom = new WorldGenMineshaftRoom(0, random, (i << 4) + 2, (j << 4) + 2); 13 | 14 | this.a.add(worldgenmineshaftroom); 15 | worldgenmineshaftroom.a((StructurePiece) worldgenmineshaftroom, (List) this.a, random); 16 | this.c(); 17 | this.a(world, random, 10); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenNetherPieceWeight.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class WorldGenNetherPieceWeight { 4 | 5 | public Class a; 6 | public final int b; 7 | public int c; 8 | public int d; 9 | public boolean e; 10 | 11 | public WorldGenNetherPieceWeight(Class oclass, int i, int j, boolean flag) { 12 | this.a = oclass; 13 | this.b = i; 14 | this.d = j; 15 | this.e = flag; 16 | } 17 | 18 | public WorldGenNetherPieceWeight(Class oclass, int i, int j) { 19 | this(oclass, i, j, false); 20 | } 21 | 22 | public boolean a(int i) { 23 | return this.d == 0 || this.c < this.d; 24 | } 25 | 26 | public boolean a() { 27 | return this.d == 0 || this.c < this.d; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenRegistration.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class WorldGenRegistration { 4 | 5 | public static void a() { 6 | WorldGenFactory.a(WorldGenPyramidPiece.class, "TeDP"); 7 | WorldGenFactory.a(WorldGenJungleTemple.class, "TeJP"); 8 | WorldGenFactory.a(WorldGenWitchHut.class, "TeSH"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenStrongholdDoorType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public enum WorldGenStrongholdDoorType { 4 | 5 | a("OPENING", 0), b("WOOD_DOOR", 1), c("GRATES", 2), d("IRON_DOOR", 3); 6 | private static final WorldGenStrongholdDoorType[] e = new WorldGenStrongholdDoorType[] { a, b, c, d}; 7 | 8 | private WorldGenStrongholdDoorType(String s, int i) {} 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenStrongholdPiece2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class WorldGenStrongholdPiece2 extends WorldGenStrongholdPieceWeight { 4 | 5 | WorldGenStrongholdPiece2(Class oclass, int i, int j) { 6 | super(oclass, i, j); 7 | } 8 | 9 | public boolean a(int i) { 10 | return super.a(i) && i > 5; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenStrongholdPieceWeight.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | class WorldGenStrongholdPieceWeight { 4 | 5 | public Class a; 6 | public final int b; 7 | public int c; 8 | public int d; 9 | 10 | public WorldGenStrongholdPieceWeight(Class oclass, int i, int j) { 11 | this.a = oclass; 12 | this.b = i; 13 | this.d = j; 14 | } 15 | 16 | public boolean a(int i) { 17 | return this.d == 0 || this.c < this.d; 18 | } 19 | 20 | public boolean a() { 21 | return this.d == 0 || this.c < this.d; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenStrongholdStart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | import java.util.Random; 6 | 7 | public class WorldGenStrongholdStart extends WorldGenStrongholdStairs2 { 8 | 9 | public WorldGenStrongholdPieceWeight a; 10 | public WorldGenStrongholdPortalRoom b; 11 | public List c = new ArrayList(); 12 | 13 | public WorldGenStrongholdStart() {} 14 | 15 | public WorldGenStrongholdStart(int i, Random random, int j, int k) { 16 | super(0, random, j, k); 17 | } 18 | 19 | public ChunkPosition a() { 20 | return this.b != null ? this.b.a() : super.a(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenStrongholdUnknown.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | final class WorldGenStrongholdUnknown extends WorldGenStrongholdPieceWeight { 4 | 5 | WorldGenStrongholdUnknown(Class oclass, int i, int j) { 6 | super(oclass, i, j); 7 | } 8 | 9 | public boolean a(int i) { 10 | return super.a(i) && i > 4; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenTreeAbstract.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public abstract class WorldGenTreeAbstract extends WorldGenerator { 6 | 7 | public WorldGenTreeAbstract(boolean flag) { 8 | super(flag); 9 | } 10 | 11 | protected boolean a(Block block) { 12 | return block.getMaterial() == Material.AIR || block.getMaterial() == Material.LEAVES || block == Blocks.GRASS || block == Blocks.DIRT || block == Blocks.LOG || block == Blocks.LOG2 || block == Blocks.SAPLING || block == Blocks.VINE; 13 | } 14 | 15 | public void b(World world, Random random, int i, int j, int k) {} 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenVillagePieceWeight.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class WorldGenVillagePieceWeight { 4 | 5 | public Class a; 6 | public final int b; 7 | public int c; 8 | public int d; 9 | 10 | public WorldGenVillagePieceWeight(Class oclass, int i, int j) { 11 | this.a = oclass; 12 | this.b = i; 13 | this.d = j; 14 | } 15 | 16 | public boolean a(int i) { 17 | return this.d == 0 || this.c < this.d; 18 | } 19 | 20 | public boolean a() { 21 | return this.d == 0 || this.c < this.d; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenVillageRoadPiece.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public abstract class WorldGenVillageRoadPiece extends WorldGenVillagePiece { 4 | 5 | public WorldGenVillageRoadPiece() {} 6 | 7 | protected WorldGenVillageRoadPiece(WorldGenVillageStartPiece worldgenvillagestartpiece, int i) { 8 | super(worldgenvillagestartpiece, i); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldGenWaterLily.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | import java.util.Random; 4 | 5 | public class WorldGenWaterLily extends WorldGenerator { 6 | 7 | public WorldGenWaterLily() {} 8 | 9 | public boolean generate(World world, Random random, int i, int j, int k) { 10 | for (int l = 0; l < 10; ++l) { 11 | int i1 = i + random.nextInt(8) - random.nextInt(8); 12 | int j1 = j + random.nextInt(4) - random.nextInt(4); 13 | int k1 = k + random.nextInt(8) - random.nextInt(8); 14 | 15 | if (world.isEmpty(i1, j1, k1) && Blocks.WATER_LILY.canPlace(world, i1, j1, k1)) { 16 | world.setTypeAndData(i1, j1, k1, Blocks.WATER_LILY, 0, 2); 17 | } 18 | } 19 | 20 | return true; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldMapDecoration.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class WorldMapDecoration { 4 | 5 | public byte type; 6 | public byte locX; 7 | public byte locY; 8 | public byte rotation; 9 | final WorldMap e; 10 | 11 | public WorldMapDecoration(WorldMap worldmap, byte b0, byte b1, byte b2, byte b3) { 12 | this.e = worldmap; 13 | this.type = b0; 14 | this.locX = b1; 15 | this.locY = b2; 16 | this.rotation = b3; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/server/WorldProviderNormal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server; 2 | 3 | public class WorldProviderNormal extends WorldProvider { 4 | 5 | public WorldProviderNormal() {} 6 | 7 | public String getName() { 8 | return "Overworld"; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /null: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Bukkit/mc-dev/c1627dc9cc7505581993eb0fa15597cb36e94244/null --------------------------------------------------------------------------------