├── .gitattributes ├── LICENSE.MD ├── README.md ├── Start.java ├── com └── krispdev │ └── resilience │ ├── Resilience.java │ ├── account │ ├── Account.java │ ├── GuiAccountScreen.java │ ├── GuiAccountSlot.java │ ├── GuiAdd.java │ ├── GuiDirect.java │ ├── GuiEdit.java │ └── GuiPasswordBox.java │ ├── command │ ├── Command.java │ ├── commands │ │ ├── CmdAllOff.java │ │ ├── CmdAntiAfkSet.java │ │ ├── CmdBindChange.java │ │ ├── CmdBindRemove.java │ │ ├── CmdBreadcrumbsClear.java │ │ ├── CmdEnchant.java │ │ ├── CmdEnemiesClear.java │ │ ├── CmdEnemyAdd.java │ │ ├── CmdEnemyDel.java │ │ ├── CmdFakeChat.java │ │ ├── CmdFriendAdd.java │ │ ├── CmdFriendAddAlias.java │ │ ├── CmdFriendClear.java │ │ ├── CmdFriendDel.java │ │ ├── CmdGetIP.java │ │ ├── CmdHelp.java │ │ ├── CmdIRCNick.java │ │ ├── CmdIRCPrefixChange.java │ │ ├── CmdIRCUnnick.java │ │ ├── CmdInvSee.java │ │ ├── CmdKillAuraMode.java │ │ ├── CmdMacroAdd.java │ │ ├── CmdMacroClear.java │ │ ├── CmdNameProtectSet.java │ │ ├── CmdPrefixChange.java │ │ ├── CmdReName.java │ │ ├── CmdReload.java │ │ ├── CmdRemoteView.java │ │ ├── CmdRod.java │ │ ├── CmdSay.java │ │ ├── CmdSearchAdd.java │ │ ├── CmdSearchClear.java │ │ ├── CmdSearchDel.java │ │ ├── CmdToggle.java │ │ ├── CmdTrackClear.java │ │ ├── CmdTrackSet.java │ │ ├── CmdVClip.java │ │ ├── CmdWaypointsAdd.java │ │ ├── CmdWaypointsAddColour.java │ │ ├── CmdWaypointsClear.java │ │ ├── CmdWaypointsDel.java │ │ ├── CmdWaypointsList.java │ │ ├── CmdXrayAdd.java │ │ ├── CmdXrayClear.java │ │ ├── CmdXrayDel.java │ │ └── CmdXrayReset.java │ └── objects │ │ ├── Macro.java │ │ └── Waypoint.java │ ├── donate │ ├── Donator.java │ └── DonatorSlot.java │ ├── event │ ├── EventManager.java │ ├── Manageable.java │ ├── events │ │ ├── Cancellable.java │ │ ├── Event.java │ │ ├── externals │ │ │ └── EventKeyDown.java │ │ └── player │ │ │ ├── EventBlockClick.java │ │ │ ├── EventGameShutdown.java │ │ │ ├── EventHealthUpdate.java │ │ │ ├── EventOnClick.java │ │ │ ├── EventOnModuleToggle.java │ │ │ ├── EventOnOutwardPacket.java │ │ │ ├── EventOnRender.java │ │ │ ├── EventOnUpdate.java │ │ │ ├── EventPacketReceive.java │ │ │ ├── EventPostMotion.java │ │ │ ├── EventPreMotion.java │ │ │ └── EventValueChange.java │ └── listeners │ │ ├── Listener.java │ │ └── ModListener.java │ ├── file │ ├── FileManager.java │ ├── FileUtils.java │ └── ThreadUpdateGame.java │ ├── gui │ ├── objects │ │ ├── ClickGui.java │ │ ├── ResilienceSlot.java │ │ ├── buttons │ │ │ ├── CheckBox.java │ │ │ ├── DefaultButton.java │ │ │ ├── ModOptionBox.java │ │ │ ├── ModuleButton.java │ │ │ └── ResilienceButton.java │ │ ├── components │ │ │ ├── Component.java │ │ │ ├── ScrollArea.java │ │ │ └── XrayBlockComponent.java │ │ ├── interfaces │ │ │ ├── Clickable.java │ │ │ ├── Dragable.java │ │ │ └── Viewable.java │ │ ├── other │ │ │ ├── GuiCustomFontField.java │ │ │ └── TextRadarComponent.java │ │ ├── screens │ │ │ ├── ArmourStatusPanel.java │ │ │ ├── DefaultPanel.java │ │ │ ├── GuiRadarPanel.java │ │ │ ├── InfoPanel.java │ │ │ ├── ModulePanel.java │ │ │ ├── TextRadarPanel.java │ │ │ ├── ValuePanel.java │ │ │ └── XrayBlocksPanel.java │ │ └── sliders │ │ │ ├── DefaultSlider.java │ │ │ ├── ModuleValueSlider.java │ │ │ └── VerticalScrollSlider.java │ └── screens │ │ ├── GuiAskDonate.java │ │ ├── GuiBanned.java │ │ ├── GuiDonateCredits.java │ │ ├── GuiFirstTime.java │ │ ├── GuiInfo.java │ │ ├── GuiManagerSelect.java │ │ ├── GuiResilienceMain.java │ │ ├── GuiResilienceOptions.java │ │ ├── GuiUpdating.java │ │ ├── IngameMenu.java │ │ ├── ResilienceConsole.java │ │ ├── UpdateGamePrompt.java │ │ └── managers │ │ └── modules │ │ ├── GuiModuleManager.java │ │ └── GuiModuleSlot.java │ ├── gui2 │ ├── interfaces │ │ ├── Clickable.java │ │ ├── Dragable.java │ │ ├── Holdable.java │ │ └── Visible.java │ └── objects │ │ ├── ClickGui.java │ │ ├── basic │ │ ├── Component.java │ │ ├── Container.java │ │ ├── defaults │ │ │ └── panel │ │ │ │ └── DefaultPanel.java │ │ ├── theme │ │ │ ├── Theme.java │ │ │ ├── ThemeColour.java │ │ │ └── themes │ │ │ │ └── ResilienceTheme.java │ │ └── viewable │ │ │ └── VisibleComponent.java │ │ └── geometry │ │ ├── Shape.java │ │ └── shapes │ │ ├── Circle.java │ │ └── Rectangle.java │ ├── hooks │ ├── HookEntityClientPlayerMP.java │ ├── HookGuiIngame.java │ ├── HookGuiMainMenu.java │ ├── HookGuiNewChat.java │ └── HookPlayerControllerMP.java │ ├── interfaces │ ├── Bindable.java │ └── Toggleable.java │ ├── irc │ ├── MainIRCBot.java │ ├── MainIRCManager.java │ └── src │ │ ├── Colors.java │ │ ├── DccChat.java │ │ ├── DccFileTransfer.java │ │ ├── DccManager.java │ │ ├── IdentServer.java │ │ ├── InputThread.java │ │ ├── IrcException.java │ │ ├── NickAlreadyInUseException.java │ │ ├── OutputThread.java │ │ ├── PircBot.java │ │ ├── Queue.java │ │ ├── ReplyConstants.java │ │ └── User.java │ ├── logger │ └── ResilienceLogger.java │ ├── module │ ├── ModuleManager.java │ ├── categories │ │ ├── ModuleCategory.java │ │ └── NoCheatMode.java │ ├── modules │ │ ├── DefaultModule.java │ │ ├── combat │ │ │ ├── ModuleAimbot.java │ │ │ ├── ModuleAutoArmour.java │ │ │ ├── ModuleAutoBlock.java │ │ │ ├── ModuleAutoQuit.java │ │ │ ├── ModuleAutoSoup.java │ │ │ ├── ModuleAutoSword.java │ │ │ ├── ModuleBowAimbot.java │ │ │ ├── ModuleClickAimbot.java │ │ │ ├── ModuleCriticals.java │ │ │ ├── ModuleFastBow.java │ │ │ ├── ModuleForceField.java │ │ │ ├── ModuleGod.java │ │ │ ├── ModuleKillAura.java │ │ │ ├── ModuleNoHurtcam.java │ │ │ ├── ModuleNoKnockback.java │ │ │ ├── ModuleRegen.java │ │ │ ├── ModuleTriggerBot.java │ │ │ └── modes │ │ │ │ ├── ModuleAnimals.java │ │ │ │ ├── ModuleInvisibles.java │ │ │ │ ├── ModuleMobs.java │ │ │ │ ├── ModulePlayers.java │ │ │ │ ├── ModulePropBlocks.java │ │ │ │ └── ModuleSafeMode.java │ │ ├── gui │ │ │ ├── ModuleConsole.java │ │ │ ├── ModuleGui.java │ │ │ └── ModuleStealStoreButtons.java │ │ ├── misc │ │ │ ├── ModuleAutoChestSteal.java │ │ │ ├── ModuleAutoEat.java │ │ │ ├── ModuleAutoFish.java │ │ │ ├── ModuleAutoMine.java │ │ │ ├── ModuleAutoTool.java │ │ │ ├── ModuleClientTips.java │ │ │ ├── ModuleEnabledMods.java │ │ │ ├── ModuleFastEat.java │ │ │ ├── ModuleIRC.java │ │ │ ├── ModuleMiddleClickFriends.java │ │ │ ├── ModuleNiceChat.java │ │ │ ├── ModuleNoCheat.java │ │ │ └── ModuleTwerk.java │ │ ├── movement │ │ │ ├── ModuleAntiAFK.java │ │ │ ├── ModuleAutoJump.java │ │ │ ├── ModuleAutoWalk.java │ │ │ ├── ModuleBlink.java │ │ │ ├── ModuleFastLadder.java │ │ │ ├── ModuleFlight.java │ │ │ ├── ModuleGlide.java │ │ │ ├── ModuleHighJump.java │ │ │ ├── ModuleInfiniteJump.java │ │ │ ├── ModuleJesus.java │ │ │ ├── ModuleNoFall.java │ │ │ ├── ModuleNoSlowdown.java │ │ │ ├── ModulePhaze.java │ │ │ ├── ModuleSafeWalk.java │ │ │ ├── ModuleSneak.java │ │ │ ├── ModuleSpider.java │ │ │ ├── ModuleSprint.java │ │ │ └── ModuleStep.java │ │ ├── player │ │ │ ├── ModuleAntiBlindness.java │ │ │ ├── ModuleAntiNausea.java │ │ │ ├── ModuleAutoRespawn.java │ │ │ ├── ModuleAutoTPAccept.java │ │ │ ├── ModuleFreecam.java │ │ │ ├── ModuleNameProtect.java │ │ │ ├── ModuleRetard.java │ │ │ └── ModuleTimer.java │ │ ├── render │ │ │ ├── ModuleBreadcrumbs.java │ │ │ ├── ModuleBrightness.java │ │ │ ├── ModuleChestESP.java │ │ │ ├── ModuleMobESP.java │ │ │ ├── ModuleNames.java │ │ │ ├── ModuleNoFireEffect.java │ │ │ ├── ModulePlayerESP.java │ │ │ ├── ModulePotionEffects.java │ │ │ ├── ModuleProphuntESP.java │ │ │ ├── ModuleSearch.java │ │ │ ├── ModuleTracers.java │ │ │ ├── ModuleTrack.java │ │ │ ├── ModuleTrajectories.java │ │ │ └── ModuleWaypoints.java │ │ └── world │ │ │ ├── ModuleCaveFinder.java │ │ │ ├── ModuleClickNuker.java │ │ │ ├── ModuleFastBreak.java │ │ │ ├── ModuleFastPlace.java │ │ │ ├── ModuleNuker.java │ │ │ ├── ModuleWireFrame.java │ │ │ └── ModuleXray.java │ └── values │ │ └── Values.java │ ├── online │ ├── friend │ │ └── OnlineFriend.java │ ├── gui │ │ ├── GuiAddFriend.java │ │ ├── GuiFriendManager.java │ │ ├── GuiFriendSlot.java │ │ ├── GuiGroupChat.java │ │ ├── GuiLogin.java │ │ ├── GuiOnlineDonate.java │ │ └── GuiRegister.java │ └── irc │ │ └── extern │ │ ├── BotManager.java │ │ └── PublicBot.java │ ├── relations │ ├── Enemy.java │ ├── EnemyManager.java │ ├── Friend.java │ └── FriendManager.java │ ├── utilities │ ├── RenderUtils.java │ ├── Timer.java │ ├── Utils.java │ ├── XrayBlock.java │ ├── XrayUtils.java │ ├── font │ │ └── TTFRenderer.java │ ├── game │ │ ├── EntityUtils.java │ │ └── InventoryUtils.java │ └── value │ │ ├── Value.java │ │ └── values │ │ ├── BoolValue.java │ │ ├── NumberValue.java │ │ └── StringValue.java │ └── wrappers │ ├── MethodInvoker.java │ └── Wrapper.java └── net └── minecraft ├── block ├── Block.java ├── BlockAir.java ├── BlockAnvil.java ├── BlockBasePressurePlate.java ├── BlockBeacon.java ├── BlockBed.java ├── BlockBookshelf.java ├── BlockBreakable.java ├── BlockBrewingStand.java ├── BlockBush.java ├── BlockButton.java ├── BlockButtonStone.java ├── BlockButtonWood.java ├── BlockCactus.java ├── BlockCake.java ├── BlockCarpet.java ├── BlockCarrot.java ├── BlockCauldron.java ├── BlockChest.java ├── BlockClay.java ├── BlockCocoa.java ├── BlockColored.java ├── BlockCommandBlock.java ├── BlockCompressed.java ├── BlockCompressedPowered.java ├── BlockContainer.java ├── BlockCrops.java ├── BlockDaylightDetector.java ├── BlockDeadBush.java ├── BlockDirectional.java ├── BlockDirt.java ├── BlockDispenser.java ├── BlockDoor.java ├── BlockDoublePlant.java ├── BlockDragonEgg.java ├── BlockDropper.java ├── BlockDynamicLiquid.java ├── BlockEnchantmentTable.java ├── BlockEndPortal.java ├── BlockEndPortalFrame.java ├── BlockEnderChest.java ├── BlockEventData.java ├── BlockFalling.java ├── BlockFarmland.java ├── BlockFence.java ├── BlockFenceGate.java ├── BlockFire.java ├── BlockFlower.java ├── BlockFlowerPot.java ├── BlockFurnace.java ├── BlockGlass.java ├── BlockGlowstone.java ├── BlockGrass.java ├── BlockGravel.java ├── BlockHardenedClay.java ├── BlockHay.java ├── BlockHopper.java ├── BlockHugeMushroom.java ├── BlockIce.java ├── BlockJukebox.java ├── BlockLadder.java ├── BlockLeaves.java ├── BlockLeavesBase.java ├── BlockLever.java ├── BlockLilyPad.java ├── BlockLiquid.java ├── BlockLog.java ├── BlockMelon.java ├── BlockMobSpawner.java ├── BlockMushroom.java ├── BlockMycelium.java ├── BlockNetherWart.java ├── BlockNetherrack.java ├── BlockNewLeaf.java ├── BlockNewLog.java ├── BlockNote.java ├── BlockObsidian.java ├── BlockOldLeaf.java ├── BlockOldLog.java ├── BlockOre.java ├── BlockPackedIce.java ├── BlockPane.java ├── BlockPistonBase.java ├── BlockPistonExtension.java ├── BlockPistonMoving.java ├── BlockPortal.java ├── BlockPotato.java ├── BlockPressurePlate.java ├── BlockPressurePlateWeighted.java ├── BlockPumpkin.java ├── BlockQuartz.java ├── BlockRail.java ├── BlockRailBase.java ├── BlockRailDetector.java ├── BlockRailPowered.java ├── BlockRedstoneComparator.java ├── BlockRedstoneDiode.java ├── BlockRedstoneLight.java ├── BlockRedstoneOre.java ├── BlockRedstoneRepeater.java ├── BlockRedstoneTorch.java ├── BlockRedstoneWire.java ├── BlockReed.java ├── BlockRotatedPillar.java ├── BlockSand.java ├── BlockSandStone.java ├── BlockSapling.java ├── BlockSign.java ├── BlockSilverfish.java ├── BlockSkull.java ├── BlockSlab.java ├── BlockSnow.java ├── BlockSnowBlock.java ├── BlockSoulSand.java ├── BlockSourceImpl.java ├── BlockSponge.java ├── BlockStainedGlass.java ├── BlockStainedGlassPane.java ├── BlockStairs.java ├── BlockStaticLiquid.java ├── BlockStem.java ├── BlockStone.java ├── BlockStoneBrick.java ├── BlockStoneSlab.java ├── BlockTNT.java ├── BlockTallGrass.java ├── BlockTorch.java ├── BlockTrapDoor.java ├── BlockTripWire.java ├── BlockTripWireHook.java ├── BlockVine.java ├── BlockWall.java ├── BlockWeb.java ├── BlockWood.java ├── BlockWoodSlab.java ├── BlockWorkbench.java ├── IGrowable.java ├── ITileEntityProvider.java └── material │ ├── MapColor.java │ ├── Material.java │ ├── MaterialLiquid.java │ ├── MaterialLogic.java │ ├── MaterialPortal.java │ └── MaterialTransparent.java ├── client ├── AnvilConverterException.java ├── ClientBrandRetriever.java ├── LoadingScreenRenderer.java ├── Minecraft.java ├── audio │ ├── ISound.java │ ├── ISoundEventAccessor.java │ ├── ITickableSound.java │ ├── MovingSound.java │ ├── MovingSoundMinecart.java │ ├── MovingSoundMinecartRiding.java │ ├── MusicTicker.java │ ├── PositionedSound.java │ ├── PositionedSoundRecord.java │ ├── SoundCategory.java │ ├── SoundEventAccessor.java │ ├── SoundEventAccessorComposite.java │ ├── SoundHandler.java │ ├── SoundList.java │ ├── SoundListSerializer.java │ ├── SoundManager.java │ ├── SoundPoolEntry.java │ └── SoundRegistry.java ├── entity │ ├── AbstractClientPlayer.java │ ├── EntityClientPlayerMP.java │ ├── EntityOtherPlayerMP.java │ └── EntityPlayerSP.java ├── gui │ ├── ChatLine.java │ ├── FontRenderer.java │ ├── Gui.java │ ├── GuiButton.java │ ├── GuiButtonLanguage.java │ ├── GuiButtonLink.java │ ├── GuiChat.java │ ├── GuiCommandBlock.java │ ├── GuiConfirmOpenLink.java │ ├── GuiControls.java │ ├── GuiCreateFlatWorld.java │ ├── GuiCreateWorld.java │ ├── GuiDisconnected.java │ ├── GuiDownloadTerrain.java │ ├── GuiEnchantment.java │ ├── GuiErrorScreen.java │ ├── GuiFlatPresets.java │ ├── GuiGameOver.java │ ├── GuiHopper.java │ ├── GuiIngame.java │ ├── GuiIngameMenu.java │ ├── GuiKeyBindingList.java │ ├── GuiLabel.java │ ├── GuiLanguage.java │ ├── GuiListExtended.java │ ├── GuiMainMenu.java │ ├── GuiMemoryErrorScreen.java │ ├── GuiMerchant.java │ ├── GuiMultiplayer.java │ ├── GuiNewChat.java │ ├── GuiOptionButton.java │ ├── GuiOptionSlider.java │ ├── GuiOptions.java │ ├── GuiOptionsRowList.java │ ├── GuiPlayerInfo.java │ ├── GuiRenameWorld.java │ ├── GuiRepair.java │ ├── GuiResourcePackAvailable.java │ ├── GuiResourcePackList.java │ ├── GuiResourcePackSelected.java │ ├── GuiScreen.java │ ├── GuiScreenAddServer.java │ ├── GuiScreenBook.java │ ├── GuiScreenBuyRealms.java │ ├── GuiScreenConfigureWorld.java │ ├── GuiScreenConfirmation.java │ ├── GuiScreenDemo.java │ ├── GuiScreenDisconnectedOnline.java │ ├── GuiScreenEditOnlineWorld.java │ ├── GuiScreenInvite.java │ ├── GuiScreenLongRunningTask.java │ ├── GuiScreenOnlineServers.java │ ├── GuiScreenOnlineServersSubscreen.java │ ├── GuiScreenOptionsSounds.java │ ├── GuiScreenRealmsPinger.java │ ├── GuiScreenReamlsTOS.java │ ├── GuiScreenResourcePacks.java │ ├── GuiScreenSelectLocation.java │ ├── GuiScreenServerList.java │ ├── GuiScreenSubscription.java │ ├── GuiScreenWorking.java │ ├── GuiSelectWorld.java │ ├── GuiShareToLan.java │ ├── GuiSleepMP.java │ ├── GuiSlot.java │ ├── GuiSnooper.java │ ├── GuiTextField.java │ ├── GuiVideoSettings.java │ ├── GuiWinGame.java │ ├── GuiYesNo.java │ ├── IProgressMeter.java │ ├── MapItemRenderer.java │ ├── ScaledResolution.java │ ├── ScreenChatOptions.java │ ├── SelectionListBase.java │ ├── ServerListEntryLanDetected.java │ ├── ServerListEntryLanScan.java │ ├── ServerListEntryNormal.java │ ├── ServerSelectionList.java │ ├── TaskLongRunning.java │ ├── TaskOnlineConnect.java │ ├── achievement │ │ ├── GuiAchievement.java │ │ ├── GuiAchievements.java │ │ └── GuiStats.java │ ├── inventory │ │ ├── CreativeCrafting.java │ │ ├── GuiBeacon.java │ │ ├── GuiBrewingStand.java │ │ ├── GuiChest.java │ │ ├── GuiContainer.java │ │ ├── GuiContainerCreative.java │ │ ├── GuiCrafting.java │ │ ├── GuiDispenser.java │ │ ├── GuiEditSign.java │ │ ├── GuiFurnace.java │ │ ├── GuiInventory.java │ │ └── GuiScreenHorseInventory.java │ └── mco │ │ ├── GuiScreenBackup.java │ │ ├── GuiScreenCreateOnlineWorld.java │ │ ├── GuiScreenMcoWorldTemplate.java │ │ ├── GuiScreenPendingInvitation.java │ │ ├── GuiScreenResetWorld.java │ │ └── ScreenWithCallback.java ├── main │ └── Main.java ├── mco │ ├── Backup.java │ ├── BackupList.java │ ├── ExceptionMcoHttp.java │ ├── ExceptionMcoService.java │ ├── ExceptionRetryCall.java │ ├── GuiScreenClientOutdated.java │ ├── McoClient.java │ ├── McoClientConfig.java │ ├── McoServer.java │ ├── McoServerAddress.java │ ├── McoServerList.java │ ├── PendingInvite.java │ ├── PendingInvitesList.java │ ├── Request.java │ ├── ValueObjectList.java │ ├── ValueObjectSubscription.java │ ├── WorldTemplate.java │ └── WorldTemplateList.java ├── model │ ├── ModelBase.java │ ├── ModelBat.java │ ├── ModelBiped.java │ ├── ModelBlaze.java │ ├── ModelBoat.java │ ├── ModelBook.java │ ├── ModelBox.java │ ├── ModelChest.java │ ├── ModelChicken.java │ ├── ModelCow.java │ ├── ModelCreeper.java │ ├── ModelDragon.java │ ├── ModelEnderCrystal.java │ ├── ModelEnderman.java │ ├── ModelGhast.java │ ├── ModelHorse.java │ ├── ModelIronGolem.java │ ├── ModelLargeChest.java │ ├── ModelLeashKnot.java │ ├── ModelMagmaCube.java │ ├── ModelMinecart.java │ ├── ModelOcelot.java │ ├── ModelPig.java │ ├── ModelQuadruped.java │ ├── ModelRenderer.java │ ├── ModelSheep1.java │ ├── ModelSheep2.java │ ├── ModelSign.java │ ├── ModelSilverfish.java │ ├── ModelSkeleton.java │ ├── ModelSkeletonHead.java │ ├── ModelSlime.java │ ├── ModelSnowMan.java │ ├── ModelSpider.java │ ├── ModelSquid.java │ ├── ModelVillager.java │ ├── ModelWitch.java │ ├── ModelWither.java │ ├── ModelWolf.java │ ├── ModelZombie.java │ ├── ModelZombieVillager.java │ ├── PositionTextureVertex.java │ ├── TextureOffset.java │ └── TexturedQuad.java ├── multiplayer │ ├── ChunkProviderClient.java │ ├── GuiConnecting.java │ ├── PlayerControllerMP.java │ ├── ServerAddress.java │ ├── ServerData.java │ ├── ServerList.java │ ├── ThreadLanServerPing.java │ └── WorldClient.java ├── network │ ├── LanServerDetector.java │ ├── NetHandlerHandshakeMemory.java │ ├── NetHandlerLoginClient.java │ ├── NetHandlerPlayClient.java │ └── OldServerPinger.java ├── particle │ ├── EffectRenderer.java │ ├── EntityAuraFX.java │ ├── EntityBlockDustFX.java │ ├── EntityBreakingFX.java │ ├── EntityBubbleFX.java │ ├── EntityCloudFX.java │ ├── EntityCrit2FX.java │ ├── EntityCritFX.java │ ├── EntityDiggingFX.java │ ├── EntityDropParticleFX.java │ ├── EntityEnchantmentTableParticleFX.java │ ├── EntityExplodeFX.java │ ├── EntityFX.java │ ├── EntityFireworkOverlayFX.java │ ├── EntityFireworkSparkFX.java │ ├── EntityFireworkStarterFX.java │ ├── EntityFishWakeFX.java │ ├── EntityFlameFX.java │ ├── EntityFootStepFX.java │ ├── EntityHeartFX.java │ ├── EntityHugeExplodeFX.java │ ├── EntityLargeExplodeFX.java │ ├── EntityLavaFX.java │ ├── EntityNoteFX.java │ ├── EntityPickupFX.java │ ├── EntityPortalFX.java │ ├── EntityRainFX.java │ ├── EntityReddustFX.java │ ├── EntitySmokeFX.java │ ├── EntitySnowShovelFX.java │ ├── EntitySpellParticleFX.java │ ├── EntitySplashFX.java │ └── EntitySuspendFX.java ├── renderer │ ├── ActiveRenderInfo.java │ ├── DestroyBlockProgress.java │ ├── EntityRenderer.java │ ├── EntitySorter.java │ ├── GLAllocation.java │ ├── IImageBuffer.java │ ├── IconFlipped.java │ ├── ImageBufferDownload.java │ ├── InventoryEffectRenderer.java │ ├── ItemRenderer.java │ ├── OpenGlCapsChecker.java │ ├── OpenGlHelper.java │ ├── RenderBlocks.# │ ├── RenderBlocks.java │ ├── RenderGlobal.# │ ├── RenderGlobal.java │ ├── RenderHelper.java │ ├── RenderList.java │ ├── RenderSorter.java │ ├── StitcherException.java │ ├── Tessellator.java │ ├── ThreadDownloadImageData.java │ ├── WorldRenderer.java │ ├── culling │ │ ├── ClippingHelper.java │ │ ├── ClippingHelperImpl.java │ │ ├── Frustrum.java │ │ └── ICamera.java │ ├── entity │ │ ├── Render.java │ │ ├── RenderArrow.java │ │ ├── RenderBat.java │ │ ├── RenderBiped.java │ │ ├── RenderBlaze.java │ │ ├── RenderBoat.java │ │ ├── RenderCaveSpider.java │ │ ├── RenderChicken.java │ │ ├── RenderCow.java │ │ ├── RenderCreeper.java │ │ ├── RenderDragon.java │ │ ├── RenderEnchantmentTable.java │ │ ├── RenderEnderman.java │ │ ├── RenderEntity.java │ │ ├── RenderFallingBlock.java │ │ ├── RenderFireball.java │ │ ├── RenderFish.java │ │ ├── RenderGhast.java │ │ ├── RenderGiantZombie.java │ │ ├── RenderHorse.java │ │ ├── RenderIronGolem.java │ │ ├── RenderItem.java │ │ ├── RenderLeashKnot.java │ │ ├── RenderLightningBolt.java │ │ ├── RenderLiving.java │ │ ├── RenderMagmaCube.java │ │ ├── RenderManager.java │ │ ├── RenderMinecart.java │ │ ├── RenderMinecartMobSpawner.java │ │ ├── RenderMooshroom.java │ │ ├── RenderOcelot.java │ │ ├── RenderPainting.java │ │ ├── RenderPig.java │ │ ├── RenderPlayer.java │ │ ├── RenderSheep.java │ │ ├── RenderSilverfish.java │ │ ├── RenderSkeleton.java │ │ ├── RenderSlime.java │ │ ├── RenderSnowMan.java │ │ ├── RenderSnowball.java │ │ ├── RenderSpider.java │ │ ├── RenderSquid.java │ │ ├── RenderTNTPrimed.java │ │ ├── RenderTntMinecart.java │ │ ├── RenderVillager.java │ │ ├── RenderWitch.java │ │ ├── RenderWither.java │ │ ├── RenderWolf.java │ │ ├── RenderXPOrb.java │ │ ├── RenderZombie.java │ │ └── RendererLivingEntity.java │ ├── texture │ │ ├── AbstractTexture.java │ │ ├── DynamicTexture.java │ │ ├── IIconRegister.java │ │ ├── ITextureObject.java │ │ ├── ITickable.java │ │ ├── ITickableTextureObject.java │ │ ├── LayeredTexture.java │ │ ├── SimpleTexture.java │ │ ├── Stitcher.java │ │ ├── TextureAtlasSprite.java │ │ ├── TextureClock.java │ │ ├── TextureCompass.java │ │ ├── TextureManage# │ │ ├── TextureManager.java │ │ ├── TextureManage~ │ │ ├── TextureMap.java │ │ └── TextureUtil.java │ └── tileentity │ │ ├── RenderEndPortal.java │ │ ├── RenderEnderCrystal.java │ │ ├── RenderItemFrame.java │ │ ├── RenderWitherSkull.java │ │ ├── TileEntityBeaconRenderer.java │ │ ├── TileEntityChestRenderer.java │ │ ├── TileEntityEnderChestRenderer.java │ │ ├── TileEntityMobSpawnerRenderer.java │ │ ├── TileEntityRendererChestHelper.java │ │ ├── TileEntityRendererDispatcher.java │ │ ├── TileEntityRendererPiston.java │ │ ├── TileEntitySignRenderer.java │ │ ├── TileEntitySkullRenderer.java │ │ └── TileEntitySpecialRenderer.java ├── resources │ ├── AbstractResourcePack.java │ ├── DefaultResourcePack.java │ ├── FallbackResourceManager.java │ ├── FileResourcePack.java │ ├── FolderResourcePack.java │ ├── FoliageColorReloadListener.java │ ├── GrassColorReloadListener.java │ ├── I18n.java │ ├── IReloadableResourceManager.java │ ├── IResource.java │ ├── IResourceManager.java │ ├── IResourceManagerReloadListener.java │ ├── IResourcePack.java │ ├── Language.java │ ├── LanguageManager.java │ ├── Locale.java │ ├── ResourcePackFileNotFoundException.java │ ├── ResourcePackListEntry.java │ ├── ResourcePackListEntryDefault.java │ ├── ResourcePackListEntryFound.java │ ├── ResourcePackRepository.java │ ├── SimpleReloadableResourceManager.java │ ├── SimpleResource.java │ └── data │ │ ├── AnimationFrame.java │ │ ├── AnimationMetadataSection.java │ │ ├── AnimationMetadataSectionSerializer.java │ │ ├── BaseMetadataSectionSerializer.java │ │ ├── FontMetadataSection.java │ │ ├── FontMetadataSectionSerializer.java │ │ ├── IMetadataSection.java │ │ ├── IMetadataSectionSerializer.java │ │ ├── IMetadataSerializer.java │ │ ├── LanguageMetadataSection.java │ │ ├── LanguageMetadataSectionSerializer.java │ │ ├── PackMetadataSection.java │ │ ├── PackMetadataSectionSerializer.java │ │ ├── TextureMetadataSection.java │ │ └── TextureMetadataSectionSerializer.java ├── settings │ ├── GameSettings.java │ └── KeyBinding.java ├── shader │ ├── Framebuffer.java │ ├── Shader.java │ ├── ShaderDefault.java │ ├── ShaderGroup.java │ ├── ShaderLinkHelper.java │ ├── ShaderLoader.java │ ├── ShaderManager.java │ ├── ShaderUniform.java │ └── TesselatorVertexState.java └── util │ ├── JsonBlendingMode.java │ ├── JsonException.java │ ├── QuadComparator.java │ └── RenderDistanceSorter.java ├── command ├── CommandBase.java ├── CommandClearInventory.java ├── CommandDebug.java ├── CommandDefaultGameMode.java ├── CommandDifficulty.java ├── CommandEffect.java ├── CommandEnchant.java ├── CommandException.java ├── CommandGameMode.java ├── CommandGameRule.java ├── CommandGive.java ├── CommandHandler.java ├── CommandHelp.java ├── CommandKill.java ├── CommandNotFoundException.java ├── CommandPlaySound.java ├── CommandServerKick.java ├── CommandSetPlayerTimeout.java ├── CommandSetSpawnpoint.java ├── CommandShowSeed.java ├── CommandSpreadPlayers.java ├── CommandTime.java ├── CommandToggleDownfall.java ├── CommandWeather.java ├── CommandXP.java ├── IAdminCommand.java ├── ICommand.java ├── ICommandManager.java ├── ICommandSender.java ├── IEntitySelector.java ├── NumberInvalidException.java ├── PlayerNotFoundException.java ├── PlayerSelector.java ├── ServerCommandManager.java ├── SyntaxErrorException.java ├── WrongUsageException.java └── server │ ├── CommandAchievement.java │ ├── CommandBanIp.java │ ├── CommandBanPlayer.java │ ├── CommandBlockLogic.java │ ├── CommandBroadcast.java │ ├── CommandDeOp.java │ ├── CommandEmote.java │ ├── CommandListBans.java │ ├── CommandListPlayers.java │ ├── CommandMessage.java │ ├── CommandMessageRaw.java │ ├── CommandOp.java │ ├── CommandPardonIp.java │ ├── CommandPardonPlayer.java │ ├── CommandPublishLocalServer.java │ ├── CommandSaveAll.java │ ├── CommandSaveOff.java │ ├── CommandSaveOn.java │ ├── CommandScoreboard.java │ ├── CommandSetBlock.java │ ├── CommandSetDefaultSpawnpoint.java │ ├── CommandStop.java │ ├── CommandSummon.java │ ├── CommandTeleport.java │ ├── CommandTestFor.java │ ├── CommandTestForBlock.java │ └── CommandWhitelist.java ├── crash ├── CrashReport.java └── CrashReportCategory.java ├── creativetab └── CreativeTabs.java ├── dispenser ├── BehaviorDefaultDispenseItem.java ├── BehaviorProjectileDispense.java ├── IBehaviorDispenseItem.java ├── IBlockSource.java ├── ILocatableSource.java ├── ILocation.java ├── IPosition.java └── PositionImpl.java ├── enchantment ├── Enchantment.java ├── EnchantmentArrowDamage.java ├── EnchantmentArrowFire.java ├── EnchantmentArrowInfinite.java ├── EnchantmentArrowKnockback.java ├── EnchantmentDamage.java ├── EnchantmentData.java ├── EnchantmentDigging.java ├── EnchantmentDurability.java ├── EnchantmentFireAspect.java ├── EnchantmentFishingSpeed.java ├── EnchantmentHelper.java ├── EnchantmentKnockback.java ├── EnchantmentLootBonus.java ├── EnchantmentOxygen.java ├── EnchantmentProtection.java ├── EnchantmentThorns.java ├── EnchantmentUntouching.java ├── EnchantmentWaterWorker.java └── EnumEnchantmentType.java ├── entity ├── DataWatcher.java ├── Entity.java ├── EntityAgeable.java ├── EntityBodyHelper.java ├── EntityCreature.java ├── EntityFlying.java ├── EntityHanging.java ├── EntityLeashKnot.java ├── EntityList.java ├── EntityLiving.java ├── EntityLivingBase.java ├── EntityMinecartCommandBlock.java ├── EntityTracker.java ├── EntityTrackerEntry.java ├── EnumCreatureAttribute.java ├── EnumCreatureType.java ├── IEntityLivingData.java ├── IEntityMultiPart.java ├── IEntityOwnable.java ├── IMerchant.java ├── INpc.java ├── IProjectile.java ├── IRangedAttackMob.java ├── NpcMerchant.java ├── SharedMonsterAttributes.java ├── ai │ ├── EntityAIArrowAttack.java │ ├── EntityAIAttackOnCollide.java │ ├── EntityAIAvoidEntity.java │ ├── EntityAIBase.java │ ├── EntityAIBeg.java │ ├── EntityAIBreakDoor.java │ ├── EntityAIControlledByPlayer.java │ ├── EntityAICreeperSwell.java │ ├── EntityAIDefendVillage.java │ ├── EntityAIDoorInteract.java │ ├── EntityAIEatGrass.java │ ├── EntityAIFleeSun.java │ ├── EntityAIFollowGolem.java │ ├── EntityAIFollowOwner.java │ ├── EntityAIFollowParent.java │ ├── EntityAIHurtByTarget.java │ ├── EntityAILeapAtTarget.java │ ├── EntityAILookAtTradePlayer.java │ ├── EntityAILookAtVillager.java │ ├── EntityAILookIdle.java │ ├── EntityAIMate.java │ ├── EntityAIMoveIndoors.java │ ├── EntityAIMoveThroughVillage.java │ ├── EntityAIMoveTowardsRestriction.java │ ├── EntityAIMoveTowardsTarget.java │ ├── EntityAINearestAttackableTarget.java │ ├── EntityAIOcelotAttack.java │ ├── EntityAIOcelotSit.java │ ├── EntityAIOpenDoor.java │ ├── EntityAIOwnerHurtByTarget.java │ ├── EntityAIOwnerHurtTarget.java │ ├── EntityAIPanic.java │ ├── EntityAIPlay.java │ ├── EntityAIRestrictOpenDoor.java │ ├── EntityAIRestrictSun.java │ ├── EntityAIRunAroundLikeCrazy.java │ ├── EntityAISit.java │ ├── EntityAISwimming.java │ ├── EntityAITarget.java │ ├── EntityAITargetNonTamed.java │ ├── EntityAITasks.java │ ├── EntityAITempt.java │ ├── EntityAITradePlayer.java │ ├── EntityAIVillagerMate.java │ ├── EntityAIWander.java │ ├── EntityAIWatchClosest.java │ ├── EntityAIWatchClosest2.java │ ├── EntityJumpHelper.java │ ├── EntityLookHelper.java │ ├── EntityMinecartMobSpawner.java │ ├── EntityMoveHelper.java │ ├── EntitySenses.java │ ├── RandomPositionGenerator.java │ └── attributes │ │ ├── AttributeModifier.java │ │ ├── BaseAttribute.java │ │ ├── BaseAttributeMap.java │ │ ├── IAttribute.java │ │ ├── IAttributeInstance.java │ │ ├── ModifiableAttributeInstance.java │ │ ├── RangedAttribute.java │ │ └── ServersideAttributeMap.java ├── boss │ ├── BossStatus.java │ ├── EntityDragon.java │ ├── EntityDragonPart.java │ ├── EntityWither.java │ └── IBossDisplayData.java ├── effect │ ├── EntityLightningBolt.java │ └── EntityWeatherEffect.java ├── item │ ├── EntityBoat.java │ ├── EntityEnderCrystal.java │ ├── EntityEnderEye.java │ ├── EntityEnderPearl.java │ ├── EntityExpBottle.java │ ├── EntityFallingBlock.java │ ├── EntityFireworkRocket.java │ ├── EntityItem.java │ ├── EntityItemFrame.java │ ├── EntityMinecart.java │ ├── EntityMinecartChest.java │ ├── EntityMinecartContainer.java │ ├── EntityMinecartEmpty.java │ ├── EntityMinecartFurnace.java │ ├── EntityMinecartHopper.java │ ├── EntityMinecartTNT.java │ ├── EntityPainting.java │ ├── EntityTNTPrimed.java │ └── EntityXPOrb.java ├── monster │ ├── EntityBlaze.java │ ├── EntityCaveSpider.java │ ├── EntityCreeper.java │ ├── EntityEnderman.java │ ├── EntityGhast.java │ ├── EntityGiantZombie.java │ ├── EntityGolem.java │ ├── EntityIronGolem.java │ ├── EntityMagmaCube.java │ ├── EntityMob.java │ ├── EntityPigZombie.java │ ├── EntitySilverfish.java │ ├── EntitySkeleton.java │ ├── EntitySlime.java │ ├── EntitySnowman.java │ ├── EntitySpider.java │ ├── EntityWitch.java │ ├── EntityZombie.java │ └── IMob.java ├── passive │ ├── EntityAmbientCreature.java │ ├── EntityAnimal.java │ ├── EntityBat.java │ ├── EntityChicken.java │ ├── EntityCow.java │ ├── EntityHorse.java │ ├── EntityMooshroom.java │ ├── EntityOcelot.java │ ├── EntityPig.java │ ├── EntitySheep.java │ ├── EntitySquid.java │ ├── EntityTameable.java │ ├── EntityVillager.java │ ├── EntityWaterMob.java │ ├── EntityWolf.java │ └── IAnimals.java ├── player │ ├── EntityPlayer.java │ ├── EntityPlayerMP.java │ ├── InventoryPlayer.java │ └── PlayerCapabilities.java └── projectile │ ├── EntityArrow.java │ ├── EntityEgg.java │ ├── EntityFireball.java │ ├── EntityFishHook.java │ ├── EntityLargeFireball.java │ ├── EntityPotion.java │ ├── EntitySmallFireball.java │ ├── EntitySnowball.java │ ├── EntityThrowable.java │ └── EntityWitherSkull.java ├── event ├── ClickEvent.java └── HoverEvent.java ├── init ├── Blocks.java ├── Bootstrap.java └── Items.java ├── inventory ├── AnimalChest.java ├── Container.java ├── ContainerBeacon.java ├── ContainerBrewingStand.java ├── ContainerChest.java ├── ContainerDispenser.java ├── ContainerEnchantment.java ├── ContainerFurnace.java ├── ContainerHopper.java ├── ContainerHorseInventory.java ├── ContainerMerchant.java ├── ContainerPlayer.java ├── ContainerRepair.java ├── ContainerWorkbench.java ├── ICrafting.java ├── IInvBasic.java ├── IInventory.java ├── ISidedInventory.java ├── InventoryBasic.java ├── InventoryCraftResult.java ├── InventoryCrafting.java ├── InventoryEnderChest.java ├── InventoryLargeChest.java ├── InventoryMerchant.java ├── Slot.java ├── SlotCrafting.java ├── SlotFurnace.java └── SlotMerchantResult.java ├── item ├── EnumAction.java ├── EnumRarity.java ├── Item.java ├── ItemAnvilBlock.java ├── ItemAppleGold.java ├── ItemArmor.java ├── ItemAxe.java ├── ItemBed.java ├── ItemBlock.java ├── ItemBlockWithMetadata.java ├── ItemBoat.java ├── ItemBook.java ├── ItemBow.java ├── ItemBucket.java ├── ItemBucketMilk.java ├── ItemCarrotOnAStick.java ├── ItemCloth.java ├── ItemCoal.java ├── ItemColored.java ├── ItemDoor.java ├── ItemDoublePlant.java ├── ItemDye.java ├── ItemEditableBook.java ├── ItemEgg.java ├── ItemEmptyMap.java ├── ItemEnchantedBook.java ├── ItemEnderEye.java ├── ItemEnderPearl.java ├── ItemExpBottle.java ├── ItemFireball.java ├── ItemFirework.java ├── ItemFireworkCharge.java ├── ItemFishFood.java ├── ItemFishingRod.java ├── ItemFlintAndSteel.java ├── ItemFood.java ├── ItemGlassBottle.java ├── ItemHangingEntity.java ├── ItemHoe.java ├── ItemLead.java ├── ItemLeaves.java ├── ItemLilyPad.java ├── ItemMap.java ├── ItemMapBase.java ├── ItemMinecart.java ├── ItemMonsterPlacer.java ├── ItemMultiTexture.java ├── ItemNameTag.java ├── ItemPickaxe.java ├── ItemPiston.java ├── ItemPotion.java ├── ItemRecord.java ├── ItemRedstone.java ├── ItemReed.java ├── ItemSaddle.java ├── ItemSeedFood.java ├── ItemSeeds.java ├── ItemShears.java ├── ItemSign.java ├── ItemSimpleFoiled.java ├── ItemSkull.java ├── ItemSlab.java ├── ItemSnow.java ├── ItemSnowball.java ├── ItemSoup.java ├── ItemSpade.java ├── ItemStack.java ├── ItemSword.java ├── ItemTool.java ├── ItemWritableBook.java └── crafting │ ├── CraftingManager.java │ ├── FurnaceRecipes.java │ ├── IRecipe.java │ ├── RecipeBookCloning.java │ ├── RecipeFireworks.java │ ├── RecipesArmor.java │ ├── RecipesArmorDyes.java │ ├── RecipesCrafting.java │ ├── RecipesDyes.java │ ├── RecipesFood.java │ ├── RecipesIngots.java │ ├── RecipesMapCloning.java │ ├── RecipesMapExtending.java │ ├── RecipesTools.java │ ├── RecipesWeapons.java │ ├── ShapedRecipes.java │ └── ShapelessRecipes.java ├── nbt ├── CompressedStreamTools.java ├── JsonToNBT.java ├── NBTBase.java ├── NBTException.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 ├── network ├── EnumConnectionState.java ├── INetHandler.java ├── NetHandlerPlayServer.java ├── NettyEncryptingDecoder.java ├── NettyEncryptingEncoder.java ├── NettyEncryptionTranslator.java ├── NetworkManager.java ├── NetworkSystem.java ├── Packet.java ├── PacketBuffer.java ├── PingResponseHandler.java ├── ServerStatusResponse.java ├── handshake │ ├── INetHandlerHandshakeServer.java │ └── client │ │ └── C00Handshake.java ├── login │ ├── INetHandlerLoginClient.java │ ├── INetHandlerLoginServer.java │ ├── client │ │ ├── C00PacketLoginStart.java │ │ └── C01PacketEncryptionResponse.java │ └── server │ │ ├── S00PacketDisconnect.java │ │ ├── S01PacketEncryptionRequest.java │ │ └── S02PacketLoginSuccess.java ├── play │ ├── INetHandlerPlayClient.java │ ├── INetHandlerPlayServer.java │ ├── client │ │ ├── C00PacketKeepAlive.java │ │ ├── C01PacketChatMessage.java │ │ ├── C02PacketUseEntity.java │ │ ├── C03PacketPlayer.java │ │ ├── C07PacketPlayerDigging.java │ │ ├── C08PacketPlayerBlockPlacement.java │ │ ├── C09PacketHeldItemChange.java │ │ ├── C0APacketAnimation.java │ │ ├── C0BPacketEntityAction.java │ │ ├── C0CPacketInput.java │ │ ├── C0DPacketCloseWindow.java │ │ ├── C0EPacketClickWindow.java │ │ ├── C0FPacketConfirmTransaction.java │ │ ├── C10PacketCreativeInventoryAction.java │ │ ├── C11PacketEnchantItem.java │ │ ├── C12PacketUpdateSign.java │ │ ├── C13PacketPlayerAbilities.java │ │ ├── C14PacketTabComplete.java │ │ ├── C15PacketClientSettings.java │ │ ├── C16PacketClientStatus.java │ │ └── C17PacketCustomPayload.java │ └── server │ │ ├── S00PacketKeepAlive.java │ │ ├── S01PacketJoinGame.java │ │ ├── S02PacketChat.java │ │ ├── S03PacketTimeUpdate.java │ │ ├── S04PacketEntityEquipment.java │ │ ├── S05PacketSpawnPosition.java │ │ ├── S06PacketUpdateHealth.java │ │ ├── S07PacketRespawn.java │ │ ├── S08PacketPlayerPosLook.java │ │ ├── S09PacketHeldItemChange.java │ │ ├── S0APacketUseBed.java │ │ ├── S0BPacketAnimation.java │ │ ├── S0CPacketSpawnPlayer.java │ │ ├── S0DPacketCollectItem.java │ │ ├── S0EPacketSpawnObject.java │ │ ├── S0FPacketSpawnMob.java │ │ ├── S10PacketSpawnPainting.java │ │ ├── S11PacketSpawnExperienceOrb.java │ │ ├── S12PacketEntityVelocity.java │ │ ├── S13PacketDestroyEntities.java │ │ ├── S14PacketEntity.java │ │ ├── S18PacketEntityTeleport.java │ │ ├── S19PacketEntityHeadLook.java │ │ ├── S19PacketEntityStatus.java │ │ ├── S1BPacketEntityAttach.java │ │ ├── S1CPacketEntityMetadata.java │ │ ├── S1DPacketEntityEffect.java │ │ ├── S1EPacketRemoveEntityEffect.java │ │ ├── S1FPacketSetExperience.java │ │ ├── S20PacketEntityProperties.java │ │ ├── S21PacketChunkData.java │ │ ├── S22PacketMultiBlockChange.java │ │ ├── S23PacketBlockChange.java │ │ ├── S24PacketBlockAction.java │ │ ├── S25PacketBlockBreakAnim.java │ │ ├── S26PacketMapChunkBulk.java │ │ ├── S27PacketExplosion.java │ │ ├── S28PacketEffect.java │ │ ├── S29PacketSoundEffect.java │ │ ├── S2APacketParticles.java │ │ ├── S2BPacketChangeGameState.java │ │ ├── S2CPacketSpawnGlobalEntity.java │ │ ├── S2DPacketOpenWindow.java │ │ ├── S2EPacketCloseWindow.java │ │ ├── S2FPacketSetSlot.java │ │ ├── S30PacketWindowItems.java │ │ ├── S31PacketWindowProperty.java │ │ ├── S32PacketConfirmTransaction.java │ │ ├── S33PacketUpdateSign.java │ │ ├── S34PacketMaps.java │ │ ├── S35PacketUpdateTileEntity.java │ │ ├── S36PacketSignEditorOpen.java │ │ ├── S37PacketStatistics.java │ │ ├── S38PacketPlayerListItem.java │ │ ├── S39PacketPlayerAbilities.java │ │ ├── S3APacketTabComplete.java │ │ ├── S3BPacketScoreboardObjective.java │ │ ├── S3CPacketUpdateScore.java │ │ ├── S3DPacketDisplayScoreboard.java │ │ ├── S3EPacketTeams.java │ │ ├── S3FPacketCustomPayload.java │ │ └── S40PacketDisconnect.java └── status │ ├── INetHandlerStatusClient.java │ ├── INetHandlerStatusServer.java │ ├── client │ ├── C00PacketServerQuery.java │ └── C01PacketPing.java │ └── server │ ├── S00PacketServerInfo.java │ └── S01PacketPong.java ├── pathfinding ├── Path.java ├── PathEntity.java ├── PathFinder.java ├── PathNavigate.java └── PathPoint.java ├── potion ├── Potion.java ├── PotionAbsoption.java ├── PotionAttackDamage.java ├── PotionEffect.java ├── PotionHealth.java ├── PotionHealthBoost.java └── PotionHelper.java ├── profiler ├── IPlayerUsage.java ├── PlayerUsageSnooper.java └── Profiler.java ├── scoreboard ├── IScoreObjectiveCriteria.java ├── Score.java ├── ScoreDummyCriteria.java ├── ScoreHealthCriteria.java ├── ScoreObjective.java ├── ScorePlayerTeam.java ├── Scoreboard.java ├── ScoreboardSaveData.java ├── ServerScoreboard.java └── Team.java ├── server ├── MinecraftServer.java ├── gui │ └── IUpdatePlayerListBox.java ├── integrated │ ├── IntegratedPlayerList.java │ ├── IntegratedSer# │ └── IntegratedServer.java ├── management │ ├── BanEntry.java │ ├── BanList.java │ ├── ItemInWorldManager.java │ ├── LowerStringMap.java │ ├── PlayerManager.java │ ├── PlayerPositionComparator.java │ └── ServerConfigurationManager.java └── network │ ├── NetHandlerHandshakeTCP.java │ ├── NetHandlerLoginServer.java │ └── NetHandlerStatusServer.java ├── src ├── BlockUtils.java ├── CompactArrayList.java ├── Config.java ├── ConnectedProperties.java ├── ConnectedTextures.java ├── CustomAnimationFrame.java ├── CustomColorizer.java ├── CustomSky.java ├── CustomSkyLayer.java ├── EntitySorterFast.java ├── EntityUtils.java ├── GuiAnimationSettingsOF.java ├── GuiDetailSettingsOF.java ├── GuiOtherSettingsOF.java ├── GuiPerformanceSettingsOF.java ├── GuiQualitySettingsOF.java ├── IWrUpdateControl.java ├── IWrUpdateListener.java ├── IWrUpdater.java ├── ItemRendererOF.java ├── Mipmaps.java ├── NaturalProperties.java ├── NaturalTextures.java ├── NextTickHashSet.java ├── RandomMobs.java ├── Reflector.java ├── ReflectorClass.java ├── ReflectorConstructor.java ├── ReflectorField.java ├── ReflectorMethod.java ├── ResourceUtils.java ├── TextureAnimation.java ├── TextureAnimations.java ├── TextureUtils.java ├── ThreadDownloadImage.java ├── VersionCheckThread.java ├── VertexData.java ├── WorldRendererSmooth.java ├── WorldRendererThreaded.java ├── WorldServerMultiOF.java ├── WorldServerOF.java ├── WrDisplayListAllocator.java ├── WrDisplayListBlock.java ├── WrUpdateControl.java ├── WrUpdateState.java ├── WrUpdateThread.java ├── WrUpdaterSmooth.java ├── WrUpdaterThreaded.java └── WrUpdates.java ├── stats ├── Achievement.java ├── AchievementList.java ├── IStatStringFormat.java ├── IStatType.java ├── ObjectiveStat.java ├── StatBase.java ├── StatBasic.java ├── StatCrafting.java ├── StatFileWriter.java ├── StatList.java └── StatisticsFile.java ├── tileentity ├── IHopper.java ├── MobSpawnerBaseLogic.java ├── TileEntity.java ├── TileEntityBeacon.java ├── TileEntityBrewingStand.java ├── TileEntityChest.java ├── TileEntityCommandBlock.java ├── TileEntityComparator.java ├── TileEntityDaylightDetector.java ├── TileEntityDispenser.java ├── TileEntityDropper.java ├── TileEntityEnchantmentTable.java ├── TileEntityEndPortal.java ├── TileEntityEnderChest.java ├── TileEntityFlowerPot.java ├── TileEntityFurnace.java ├── TileEntityHopper.java ├── TileEntityMobSpawner.java ├── TileEntityNote.java ├── TileEntityPiston.java ├── TileEntitySign.java └── TileEntitySkull.java ├── util ├── AABBPool.java ├── AxisAlignedBB.java ├── ChatAllowedCharacters.java ├── ChatComponentStyle.java ├── ChatComponentText.java ├── ChatComponentTranslation.java ├── ChatComponentTranslationFormatException.java ├── ChatStyle.java ├── ChunkCoordinates.java ├── CombatEntry.java ├── CombatTracker.java ├── CryptManager.java ├── DamageSource.java ├── Direction.java ├── EnchantmentNameParts.java ├── EntityDamageSource.java ├── EntityDamageSourceIndirect.java ├── EnumChatFormatting.java ├── EnumFacing.java ├── EnumTypeAdapterFactory.java ├── Facing.java ├── FoodStats.java ├── HttpUtil.java ├── IChatComponent.java ├── IIcon.java ├── IJsonSerializable.java ├── IObjectIntIterable.java ├── IProgressUpdate.java ├── IRegistry.java ├── IntHashMap.java ├── JsonSerializableSet.java ├── JsonUtils.java ├── LongHashMap.java ├── MathHelper.java ├── MessageDeserializer.java ├── MessageDeserializer2.java ├── MessageSerializer.java ├── MessageSerializer2.java ├── MinecraftError.java ├── MouseFilter.java ├── MouseHelper.java ├── MovementInput.java ├── MovementInputFromOptions.java ├── MovingObjectPosition.java ├── ObjectIntIdentityMap.java ├── RegistryDefaulted.java ├── RegistryNamespaced.java ├── RegistryNamespacedDefaultedByKey.java ├── RegistrySimple.java ├── ReportedException.java ├── ResourceLocation.java ├── ScreenShotHelper.java ├── Session.java ├── StatCollector.java ├── StringTranslate.java ├── StringUtils.java ├── Timer.java ├── Tuple.java ├── TupleIntJsonSerializable.java ├── Util.java ├── ValueObject.java ├── Vec3.java ├── Vec3Pool.java ├── WeightedRandom.java ├── WeightedRandomChestContent.java └── WeightedRandomFishable.java ├── village ├── MerchantRecipe.java ├── MerchantRecipeList.java ├── Village.java ├── VillageCollection.java ├── VillageDoorInfo.java └── VillageSiege.java └── world ├── ChunkCache.java ├── ChunkCoordIntPair.java ├── ChunkPosition.java ├── ColorizerFoliage.java ├── ColorizerGrass.java ├── EnumDifficulty.java ├── EnumSkyBlock.java ├── Explosion.java ├── GameRules.java ├── IBlockAccess.java ├── IWorldAccess.java ├── MinecraftException.java ├── NextTickListEntry.java ├── SpawnerAnimals.java ├── Teleporter.java ├── World.java ├── WorldManager.java ├── WorldProvider.java ├── WorldProviderEnd.java ├── WorldProviderHell.java ├── WorldProviderSurface.java ├── WorldSavedData.java ├── WorldServer.java ├── WorldServerMulti.java ├── WorldSettings.java ├── WorldType.java ├── biome ├── BiomeCache.java ├── BiomeDecorator.java ├── BiomeEndDecorator.java ├── BiomeGenBase.java ├── BiomeGenBeach.java ├── BiomeGenDesert.java ├── BiomeGenEnd.java ├── BiomeGenForest.java ├── BiomeGenHell.java ├── BiomeGenHills.java ├── BiomeGenJungle.java ├── BiomeGenMesa.java ├── BiomeGenMushroomIsland.java ├── BiomeGenMutated.java ├── BiomeGenOcean.java ├── BiomeGenPlains.java ├── BiomeGenRiver.java ├── BiomeGenSavanna.java ├── BiomeGenSnow.java ├── BiomeGenStoneBeach.java ├── BiomeGenSwamp.java ├── BiomeGenTaiga.java ├── WorldChunkManager.java └── WorldChunkManagerHell.java ├── chunk ├── Chunk.java ├── EmptyChunk.java ├── IChunkProvider.java ├── NibbleArray.java └── storage │ ├── AnvilChunkLoader.java │ ├── AnvilSaveConverter.java │ ├── AnvilSaveHandler.java │ ├── ChunkLoader.java │ ├── ExtendedBlockStorage.java │ ├── IChunkLoader.java │ ├── NibbleArrayReader.java │ ├── RegionFile.java │ └── RegionFileCache.java ├── demo ├── DemoWorldManager.java └── DemoWorldServer.java ├── gen ├── ChunkProviderEnd.java ├── ChunkProviderFlat.java ├── ChunkProviderGenerate.java ├── ChunkProviderHell.java ├── ChunkProviderServer.java ├── FlatGeneratorInfo.java ├── FlatLayerInfo.java ├── MapGenBase.java ├── MapGenCaves.java ├── MapGenCavesHell.java ├── MapGenRavine.java ├── NoiseGenerator.java ├── NoiseGeneratorImproved.java ├── NoiseGeneratorOctaves.java ├── NoiseGeneratorPerlin.java ├── NoiseGeneratorSimplex.java ├── feature │ ├── WorldGenAbstractTree.java │ ├── WorldGenBigMushroom.java │ ├── WorldGenBigTree.java │ ├── WorldGenBlockBlob.java │ ├── WorldGenCactus.java │ ├── WorldGenCanopyTree.java │ ├── WorldGenClay.java │ ├── WorldGenDeadBush.java │ ├── WorldGenDesertWells.java │ ├── WorldGenDoublePlant.java │ ├── WorldGenDungeons.java │ ├── WorldGenFire.java │ ├── WorldGenFlowers.java │ ├── WorldGenForest.java │ ├── WorldGenGlowStone1.java │ ├── WorldGenGlowStone2.java │ ├── WorldGenHellLava.java │ ├── WorldGenHugeTrees.java │ ├── WorldGenIcePath.java │ ├── WorldGenIceSpike.java │ ├── WorldGenLakes.java │ ├── WorldGenLiquids.java │ ├── WorldGenMegaJungle.java │ ├── WorldGenMegaPineTree.java │ ├── WorldGenMelon.java │ ├── WorldGenMinable.java │ ├── WorldGenPumpkin.java │ ├── WorldGenReed.java │ ├── WorldGenSand.java │ ├── WorldGenSavannaTree.java │ ├── WorldGenShrub.java │ ├── WorldGenSpikes.java │ ├── WorldGenSwamp.java │ ├── WorldGenTaiga1.java │ ├── WorldGenTaiga2.java │ ├── WorldGenTallGrass.java │ ├── WorldGenTrees.java │ ├── WorldGenVines.java │ ├── WorldGenWaterlily.java │ ├── WorldGenerator.java │ └── WorldGeneratorBonusChest.java ├── layer │ ├── GenLayer.java │ ├── GenLayerAddIsland.java │ ├── GenLayerAddMushroomIsland.java │ ├── GenLayerAddSnow.java │ ├── GenLayerBiome.java │ ├── GenLayerBiomeEdge.java │ ├── GenLayerDeepOcean.java │ ├── GenLayerEdge.java │ ├── GenLayerFuzzyZoom.java │ ├── GenLayerHills.java │ ├── GenLayerIsland.java │ ├── GenLayerRareBiome.java │ ├── GenLayerRemoveTooMuchOcean.java │ ├── GenLayerRiver.java │ ├── GenLayerRiverInit.java │ ├── GenLayerRiverMix.java │ ├── GenLayerShore.java │ ├── GenLayerSmooth.java │ ├── GenLayerVoronoiZoom.java │ ├── GenLayerZoom.java │ └── IntCache.java └── structure │ ├── ComponentScatteredFeaturePieces.java │ ├── MapGenMineshaft.java │ ├── MapGenNetherBridge.java │ ├── MapGenScatteredFeature.java │ ├── MapGenStronghold.java │ ├── MapGenStructure.java │ ├── MapGenStructureData.java │ ├── MapGenStructureIO.java │ ├── MapGenVillage.java │ ├── StructureBoundingBox.java │ ├── StructureComponent.java │ ├── StructureMineshaftPieces.java │ ├── StructureMineshaftStart.java │ ├── StructureNetherBridgePieces.java │ ├── StructureStart.java │ ├── StructureStrongholdPieces.java │ └── StructureVillagePieces.java └── storage ├── DerivedWorldInfo.java ├── IPlayerFileData.java ├── ISaveFormat.java ├── ISaveHandler.java ├── IThreadedFileIO.java ├── MapData.java ├── MapStorage.java ├── SaveFormatComparator.java ├── SaveFormatOld.java ├── SaveHandler.java ├── SaveHandlerMP.java ├── ThreadedFileIOBase.java └── WorldInfo.java /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /LICENSE.MD: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Resilience-Client-Source 2 | 3 | 4 | Source of the Minecraft Hacked client Resilience 5 | 6 | [![Gitter Chat](https://badges.gitter.im/Bluscream/Resilience-Client-Source.png)](https://gitter.im/Bluscream/Resilience-Client-Source) 7 | -------------------------------------------------------------------------------- /Start.java: -------------------------------------------------------------------------------- 1 | import java.io.File; 2 | import java.lang.reflect.Field; 3 | import java.util.Arrays; 4 | 5 | import net.minecraft.client.main.Main; 6 | 7 | public class Start 8 | { 9 | public static void main(String[] args) 10 | { 11 | Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets/virtual/legacy"}, args)); 12 | } 13 | 14 | public static T[] concat(T[] first, T[] second) 15 | { 16 | T[] result = Arrays.copyOf(first, first.length + second.length); 17 | System.arraycopy(second, 0, result, first.length, second.length); 18 | return result; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdAllOff.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.module.modules.DefaultModule; 6 | 7 | public class CmdAllOff extends Command{ 8 | 9 | public CmdAllOff(){ 10 | super("alloff", "", "Turns off all enabled mods"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | for(DefaultModule mod : Resilience.getInstance().getModuleManager().moduleList){ 16 | if(mod.isEnabled()){ 17 | mod.setEnabled(false); 18 | } 19 | } 20 | Resilience.getInstance().getFileManager().saveEnabledMods(); 21 | return true; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdAntiAfkSet.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdAntiAfkSet extends Command{ 7 | 8 | public CmdAntiAfkSet(){ 9 | super("antiafk set ", "[Delay in Seconds]", "Sets the AntiAFK delay"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String args[] = cmd.split("set "); 15 | Resilience.getInstance().getValues().antiAFKSeconds.setValue(Float.parseFloat(args[1])); 16 | Resilience.getInstance().getFileManager().saveConfigs(); 17 | Resilience.getInstance().getLogger().infoChat("Set the AntiAFK delay to "+args[1]); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdBreadcrumbsClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdBreadcrumbsClear extends Command{ 7 | 8 | public CmdBreadcrumbsClear(){ 9 | super("breadcrumbs clear", "", "Clears the breadcrumb trail"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | Resilience.getInstance().getValues().breadcrumbPosList.clear(); 15 | Resilience.getInstance().getLogger().infoChat("Cleared the breadcrumb trail"); 16 | return true; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdEnemiesClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.relations.Enemy; 6 | 7 | public class CmdEnemiesClear extends Command{ 8 | 9 | public CmdEnemiesClear(){ 10 | super("enemies clear", "", "Clears the enemy list"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | Enemy.enemyList.clear(); 16 | Resilience.getInstance().getLogger().infoChat("Cleared the enemy list"); 17 | return true; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdEnemyDel.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.relations.Enemy; 6 | 7 | public class CmdEnemyDel extends Command{ 8 | 9 | public CmdEnemyDel(){ 10 | super("enemy del ", "[Username]", "Deletes an enemy from the enemy list"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | String args[] = cmd.split("del "); 16 | for(Enemy enemy : Enemy.enemyList){ 17 | if(enemy.getName().trim().equalsIgnoreCase(args[1])){ 18 | Enemy.enemyList.remove(Enemy.enemyList.indexOf(enemy)); 19 | Resilience.getInstance().getFileManager().saveEnemies(); 20 | Resilience.getInstance().getLogger().infoChat("Deleted "+args[1]+" from the enemy list"); 21 | return true; 22 | } 23 | } 24 | Resilience.getInstance().getLogger().warningChat("User not found!"); 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdFakeChat.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdFakeChat extends Command{ 7 | 8 | public CmdFakeChat(){ 9 | super("fakechat ", "[message]", "Makes a fake chat message appear. Can use & color codes"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String args[] = cmd.split("fakechat "); 15 | Resilience.getInstance().getInvoker().addChatMessage(args[1].replaceAll("&", "\247")); 16 | return true; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdFriendClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.relations.Friend; 6 | 7 | public class CmdFriendClear extends Command{ 8 | 9 | public CmdFriendClear(){ 10 | super("friends clear", "", "Clears the friend list"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | Friend.friendList.clear(); 16 | Resilience.getInstance().getFileManager().saveFriends(); 17 | Resilience.getInstance().getLogger().infoChat("Cleared the friend list"); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdFriendDel.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.relations.Friend; 6 | 7 | public class CmdFriendDel extends Command{ 8 | 9 | public CmdFriendDel(){ 10 | super("friend del ", "[Username/Alias]", "Deletes the specified user from the friend list"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | String args[] = cmd.split("del "); 16 | for(Friend friend : Friend.friendList){ 17 | if(friend.getName().trim().equalsIgnoreCase(args[1]) || friend.getAlias().trim().equalsIgnoreCase(args[1])){ 18 | Friend.friendList.remove(Friend.friendList.indexOf(friend)); 19 | Resilience.getInstance().getLogger().infoChat("User deleted from the friend list"); 20 | return true; 21 | } 22 | } 23 | Resilience.getInstance().getLogger().warningChat("User not found"); 24 | return true; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdIRCNick.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdIRCNick extends Command{ 7 | 8 | public CmdIRCNick(){ 9 | super("irc nick ", "[New Nick Name]", "Sets the IRC nickname."); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String nick = "XxXN"+cmd.split("irc nick ")[1].trim(); 15 | 16 | if(nick.equalsIgnoreCase("Krisp") || nick.toLowerCase().contains("krisp") || nick.toLowerCase().contains("kirsp") || nick.toLowerCase().contains("owner")){ 17 | Resilience.getInstance().getLogger().warningChat("But, but, but... You're not Krisp! :O"); 18 | return true; 19 | } 20 | 21 | Resilience.getInstance().getIRCChatManager().bot.changeNick(nick); 22 | Resilience.getInstance().getLogger().infoChat("Set your IRC nickname to" + cmd.split("irc nick")[1]); 23 | return true; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdIRCPrefixChange.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdIRCPrefixChange extends Command{ 7 | 8 | public CmdIRCPrefixChange(){ 9 | super("ircprefix set ", "[New Prefix]", "Sets a new IRC prefix"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | Resilience.getInstance().setIRCPrefix(cmd.split("ircprefix set ")[1]); 15 | Resilience.getInstance().getLogger().infoChat("Set the IRC prefix to "+cmd.split("ircprefix set ")[1]); 16 | return true; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdIRCUnnick.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdIRCUnnick extends Command{ 7 | 8 | public CmdIRCUnnick() { 9 | super("irc unnick", "", "Unnicks you to your normal name in the IRC"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | Resilience.getInstance().getIRCChatManager().bot.changeNick(Resilience.getInstance().getInvoker().getSessionUsername()); 15 | return true; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdMacroClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.command.objects.Macro; 6 | 7 | public class CmdMacroClear extends Command{ 8 | 9 | public CmdMacroClear(){ 10 | super("macros clear", "", "Clears the macros"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception{ 15 | Macro.macroList.clear(); 16 | Resilience.getInstance().getLogger().infoChat("Cleared all macros"); 17 | Resilience.getInstance().getFileManager().saveMacros(); 18 | return true; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdNameProtectSet.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdNameProtectSet extends Command{ 7 | 8 | public CmdNameProtectSet(){ 9 | super("nameprotect set ", "[Name]", "Sets the name protect name"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String args[] = cmd.split("nameprotect set "); 15 | Resilience.getInstance().getValues().nameProtectAlias.setValue(args[1]); 16 | Resilience.getInstance().getLogger().infoChat("Set the nameprotect alias to " + args[1]); 17 | Resilience.getInstance().getFileManager().saveConfigs(); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdPrefixChange.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdPrefixChange extends Command{ 7 | 8 | public CmdPrefixChange(){ 9 | super("cmdprefix set ", "[New Prefix]", "Sets the command prefix for chat commands"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String args[] = cmd.split("set "); 15 | Resilience.getInstance().setCmdPrefix(args[1]); 16 | Resilience.getInstance().getLogger().infoChat("Set the command prefix to " + Resilience.getInstance().getCmdPrefix()); 17 | Resilience.getInstance().getFileManager().saveConfigs(); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdReload.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdReload extends Command{ 7 | 8 | public CmdReload(){ 9 | super("reload", "", "Reloads the client configurations"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | Resilience.getInstance().getFileManager().init(); 15 | Resilience.getInstance().getLogger().infoChat("Reload successful!"); 16 | return true; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdRod.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.command.Command; 4 | 5 | public class CmdRod extends Command{ 6 | 7 | public CmdRod(){ 8 | super("rod ", "[Amount of Rods]", "Setting this to a high number may crash the server"); 9 | } 10 | 11 | @Override 12 | public boolean recieveCommand(String cmd) throws Exception { 13 | return false; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdSay.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import net.minecraft.network.play.client.C01PacketChatMessage; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.command.Command; 7 | 8 | public class CmdSay extends Command{ 9 | 10 | public CmdSay(){ 11 | super("say ", "[Msg]", "Sends a message to the server, eg. \".help\""); 12 | } 13 | 14 | @Override 15 | public boolean recieveCommand(String cmd) throws Exception { 16 | String args[] = cmd.split("say "); 17 | Resilience.getInstance().getInvoker().sendPacket(new C01PacketChatMessage(args[1])); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdSearchClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | 7 | public class CmdSearchClear extends Command{ 8 | 9 | public CmdSearchClear(){ 10 | super("search clear", "", "Clears the search list"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | Resilience.getInstance().getValues().searchIds.clear(); 16 | Resilience.getInstance().getValues().ticksForSearch = 71; 17 | 18 | Resilience.getInstance().getLogger().info("Cleared the search list"); 19 | return true; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdToggle.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.module.modules.DefaultModule; 6 | 7 | public class CmdToggle extends Command{ 8 | 9 | public CmdToggle(){ 10 | super("t ", "[Mod]", "Toggles the specified mod"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | String args[] = cmd.split("t "); 16 | for(DefaultModule mod : Resilience.getInstance().getModuleManager().moduleList){ 17 | if(mod.getName().equalsIgnoreCase(args[1].trim())){ 18 | mod.toggle(); 19 | Resilience.getInstance().getLogger().infoChat("Toggled mod: \247b"+mod.getName()); 20 | return true; 21 | } 22 | } 23 | Resilience.getInstance().getLogger().warningChat("Mod not found: \247c"+args[1]); 24 | return true; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdTrackClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdTrackClear extends Command{ 7 | 8 | public CmdTrackClear(){ 9 | super("track clear", "", "Clears the track line"); 10 | } 11 | 12 | public boolean recieveCommand(String cmd){ 13 | Resilience.getInstance().getValues().trackPosList.clear(); 14 | Resilience.getInstance().getLogger().infoChat("Cleared the track line"); 15 | return true; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdTrackSet.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import net.minecraft.util.StringUtils; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.command.Command; 7 | 8 | public class CmdTrackSet extends Command{ 9 | 10 | public CmdTrackSet(){ 11 | super("track set ", "[Username]", "Sets the Track username to the username specified"); 12 | } 13 | 14 | @Override 15 | public boolean recieveCommand(String cmd) throws Exception { 16 | String args[] = cmd.split("set "); 17 | Resilience.getInstance().getValues().trackName = args[1].trim(); 18 | Resilience.getInstance().getLogger().infoChat("Set the Track username to " + args[1]); 19 | return true; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdVClip.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdVClip extends Command{ 7 | 8 | public CmdVClip(){ 9 | super("vclip ", "[Amount]", "Teleports you up/down a specified amount"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | String args[] = cmd.split("vclip "); 15 | int posY = Integer.parseInt(args[1].trim()); 16 | mc.thePlayer.setLocationAndAngles(mc.thePlayer.posX, posY+mc.thePlayer.posY, mc.thePlayer.posZ, mc.thePlayer.rotationYaw, mc.thePlayer.rotationPitch); 17 | Resilience.getInstance().getLogger().infoChat("Teleported you "+(posY<0 ? "down ":"up ")+Math.abs(posY)+" block"+(Math.abs(posY)==1?"":"s")); 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdWaypointsClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.command.objects.Waypoint; 6 | 7 | public class CmdWaypointsClear extends Command{ 8 | 9 | public CmdWaypointsClear(){ 10 | super("waypoints clear", "", "Clears all the waypoints"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | if(!cmd.startsWith("waypoints clear")) return false; 16 | if(cmd.equalsIgnoreCase("waypoints clear")){ 17 | Waypoint.waypointsList.clear(); 18 | Resilience.getInstance().getFileManager().saveWaypoints(); 19 | Resilience.getInstance().getLogger().infoChat("Cleared all waypoints"); 20 | return true; 21 | } 22 | return false; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdWaypointsList.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | import com.krispdev.resilience.command.objects.Waypoint; 6 | 7 | public class CmdWaypointsList extends Command{ 8 | 9 | public CmdWaypointsList(){ 10 | super("waypoints list", "", "Lists all your waypoints"); 11 | } 12 | 13 | @Override 14 | public boolean recieveCommand(String cmd) throws Exception { 15 | if(!cmd.startsWith("waypoints list")) return false; 16 | for(Waypoint w : Waypoint.waypointsList){ 17 | if(w!=null){ 18 | Resilience.getInstance().getLogger().infoChat(w.toString()); 19 | } 20 | } 21 | return true; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /com/krispdev/resilience/command/commands/CmdXrayClear.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.command.commands; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.command.Command; 5 | 6 | public class CmdXrayClear extends Command{ 7 | 8 | public CmdXrayClear(){ 9 | super("xray clear", "", "Clears the xray list"); 10 | } 11 | 12 | @Override 13 | public boolean recieveCommand(String cmd) throws Exception { 14 | if(!cmd.startsWith("xray clear")) return false; 15 | Resilience.getInstance().getXrayUtils().xrayBlocks.clear(); 16 | Resilience.getInstance().getLogger().infoChat("Cleared the xray list"); 17 | Resilience.getInstance().getFileManager().saveXrayBlocks(); 18 | if(Resilience.getInstance().getXrayUtils().xrayEnabled){ 19 | Resilience.getInstance().getInvoker().loadRenderers(); 20 | } 21 | return true; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/Manageable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event; 2 | 3 | import com.krispdev.resilience.event.listeners.Listener; 4 | 5 | public interface Manageable { 6 | 7 | void register(Listener l); 8 | void unregister(Listener l); 9 | void clear(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/Cancellable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events; 2 | 3 | public class Cancellable { 4 | 5 | private boolean isCancelled = false; 6 | 7 | public boolean isCancelled(){ 8 | return isCancelled; 9 | } 10 | 11 | public void setCancelled(boolean flag){ 12 | isCancelled = flag; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/Event.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events; 2 | 3 | public interface Event { 4 | void onEvent(); 5 | } 6 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/externals/EventKeyDown.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.externals; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.event.events.Cancellable; 5 | import com.krispdev.resilience.event.events.Event; 6 | import com.krispdev.resilience.event.listeners.Listener; 7 | import com.krispdev.resilience.interfaces.Bindable; 8 | 9 | public class EventKeyDown extends Cancellable implements Event{ 10 | 11 | private final int keycode; 12 | 13 | public EventKeyDown(int keycode){ 14 | this.keycode = keycode; 15 | } 16 | 17 | @Override 18 | public void onEvent() { 19 | try{ 20 | for(Listener l : Resilience.getInstance().getEventManager().gameListeners){ 21 | if(l instanceof Bindable){ 22 | Bindable mod = (Bindable) l; 23 | mod.onKeyDown(keycode); 24 | } 25 | } 26 | }catch(Exception e){} 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventGameShutdown.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.event.events.Cancellable; 5 | import com.krispdev.resilience.event.events.Event; 6 | import com.krispdev.resilience.event.listeners.Listener; 7 | import com.krispdev.resilience.event.listeners.ModListener; 8 | 9 | public class EventGameShutdown extends Cancellable implements Event{ 10 | 11 | private long nanoTime; 12 | 13 | public EventGameShutdown(long nanoTime){ 14 | this.nanoTime = nanoTime; 15 | } 16 | 17 | @Override 18 | public void onEvent() { 19 | if(!Resilience.getInstance().isEnabled()) return; 20 | try{ 21 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 22 | if(l instanceof ModListener){ 23 | ModListener mod = (ModListener) l; 24 | mod.onGameShutdown(this); 25 | } 26 | } 27 | }catch(Exception e){} 28 | } 29 | 30 | public long getNanoTime(){ 31 | return nanoTime; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventHealthUpdate.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.event.events.Event; 5 | import com.krispdev.resilience.event.listeners.Listener; 6 | import com.krispdev.resilience.event.listeners.ModListener; 7 | 8 | public class EventHealthUpdate implements Event{ 9 | 10 | private float health; 11 | 12 | public EventHealthUpdate(float health) { 13 | this.health = health; 14 | } 15 | 16 | @Override 17 | public void onEvent() { 18 | if(!Resilience.getInstance().isEnabled()) return; 19 | try{ 20 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 21 | if(l instanceof ModListener){ 22 | ModListener mod = (ModListener) l; 23 | mod.onHealthUpdate(this); 24 | } 25 | } 26 | }catch(Exception e){} 27 | } 28 | 29 | public float getHealth() { 30 | return health; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventOnRender.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.event.events.Event; 5 | import com.krispdev.resilience.event.listeners.Listener; 6 | import com.krispdev.resilience.event.listeners.ModListener; 7 | 8 | public class EventOnRender implements Event{ 9 | 10 | @Override 11 | public void onEvent() { 12 | if(!Resilience.getInstance().isEnabled()) return; 13 | try{ 14 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 15 | if(l instanceof ModListener){ 16 | ModListener mod = (ModListener) l; 17 | mod.onRender(this); 18 | } 19 | } 20 | }catch(Exception e){} 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventOnUpdate.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.event.events.Cancellable; 7 | import com.krispdev.resilience.event.events.Event; 8 | import com.krispdev.resilience.event.listeners.Listener; 9 | import com.krispdev.resilience.event.listeners.ModListener; 10 | 11 | public class EventOnUpdate extends Cancellable implements Event{ 12 | 13 | private EntityPlayer ep; 14 | 15 | public EventOnUpdate(EntityPlayer ep){ 16 | this.ep = ep; 17 | } 18 | 19 | public void onEvent(){ 20 | if(!Resilience.getInstance().isEnabled()) return; 21 | try{ 22 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 23 | if(l instanceof ModListener){ 24 | ModListener mod = (ModListener) l; 25 | mod.onUpdate(this); 26 | } 27 | } 28 | }catch(Exception e){} 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventPostMotion.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.event.events.Event; 7 | import com.krispdev.resilience.event.listeners.Listener; 8 | import com.krispdev.resilience.event.listeners.ModListener; 9 | 10 | public class EventPostMotion implements Event{ 11 | 12 | private EntityPlayer player; 13 | 14 | public EventPostMotion(EntityPlayer player){ 15 | this.player = player; 16 | } 17 | 18 | public EntityPlayer getPlayer(){ 19 | return player; 20 | } 21 | 22 | @Override 23 | public void onEvent() { 24 | if(!Resilience.getInstance().isEnabled()) return; 25 | try{ 26 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 27 | if(l instanceof ModListener){ 28 | ModListener mod = (ModListener) l; 29 | mod.onPostMotion(this); 30 | } 31 | } 32 | }catch(Exception e){} 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/events/player/EventPreMotion.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.events.player; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.event.events.Cancellable; 7 | import com.krispdev.resilience.event.events.Event; 8 | import com.krispdev.resilience.event.listeners.Listener; 9 | import com.krispdev.resilience.event.listeners.ModListener; 10 | 11 | public class EventPreMotion extends Cancellable implements Event{ 12 | 13 | private EntityPlayer ep; 14 | 15 | public EventPreMotion(EntityPlayer ep){ 16 | this.ep = ep; 17 | } 18 | 19 | public void onEvent(){ 20 | if(!Resilience.getInstance().isEnabled()) return; 21 | try{ 22 | for(Listener l : Resilience.getInstance().getEventManager().eventListeners){ 23 | if(l instanceof ModListener){ 24 | ModListener mod = (ModListener) l; 25 | mod.onPreMotion(this); 26 | } 27 | } 28 | }catch(Exception e){} 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /com/krispdev/resilience/event/listeners/Listener.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.event.listeners; 2 | 3 | public interface Listener {} 4 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui/objects/buttons/DefaultButton.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui.objects.buttons; 2 | 3 | public class DefaultButton { 4 | 5 | private int x, y, x1, y1; 6 | 7 | public DefaultButton(int x, int y, int x1, int y1){ 8 | this.x = x; 9 | this.y = y; 10 | this.x1 = x1; 11 | this.y1 = y1; 12 | } 13 | 14 | public void draw(int i, int j){} 15 | 16 | public boolean onClick(int i, int j, int k){return false;} 17 | 18 | public void keyTyped(char c, int i){} 19 | 20 | public void mouseMovedOrUp(int i, int j, int k){} 21 | 22 | public int getX(){ 23 | return x; 24 | } 25 | 26 | public int getY(){ 27 | return y; 28 | } 29 | 30 | public int getX1(){ 31 | return x1; 32 | } 33 | 34 | public int getY1(){ 35 | return y1; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui/objects/interfaces/Clickable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui.objects.interfaces; 2 | 3 | public interface Clickable { 4 | 5 | boolean onClick(int x, int y, int btn); 6 | 7 | void onMouseButtonUp(int x, int y, int btn); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui/objects/interfaces/Dragable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui.objects.interfaces; 2 | 3 | public interface Dragable { 4 | 5 | void drag(int x, int y); 6 | 7 | void setDragX(int x); 8 | 9 | void setDragY(int y); 10 | 11 | int getDragX(); 12 | 13 | int getDragY(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui/objects/interfaces/Viewable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui.objects.interfaces; 2 | 3 | public interface Viewable { 4 | 5 | void draw(int x, int y); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui/objects/screens/ArmourStatusPanel.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui.objects.screens; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.utilities.Utils; 7 | 8 | public class ArmourStatusPanel extends DefaultPanel{ 9 | 10 | private int count = 4; 11 | 12 | public ArmourStatusPanel(String title, int x, int y, int x1, int y1, boolean visible) { 13 | super(title, x, y, x1, y1, visible); 14 | } 15 | 16 | @Override 17 | public void draw(int i, int j){ 18 | count = 0; 19 | if(isExtended()){ 20 | Utils.drawRect(getX(), getY() + 17, getX1(), getY() + 50, 0x99040404); 21 | for(ItemStack item : Resilience.getInstance().getInvoker().getArmourInventory()){ 22 | if(item!=null){ 23 | Utils.drawItemTag(getX()+count+21*4, getY()+17+8, item); 24 | } 25 | count-=25; 26 | } 27 | } 28 | super.draw(i, j); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/interfaces/Clickable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.interfaces; 2 | 3 | public interface Clickable { 4 | 5 | void mouseUp(float x, float y, int btn); 6 | void onAreaClicked(float x, float y, int btn); 7 | boolean onClick(float x, float y, int btn); 8 | boolean onComponentClick(float x, float y, int btn); 9 | boolean overArea(float x, float y); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/interfaces/Dragable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.interfaces; 2 | 3 | public interface Dragable { 4 | 5 | void drag(float x, float y); 6 | void updateDrag(float x, float y); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/interfaces/Holdable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.interfaces; 2 | 3 | import com.krispdev.resilience.gui2.objects.basic.Component; 4 | 5 | public interface Holdable { 6 | 7 | void addComponent(Component c); 8 | void removeComponent(Component c); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/interfaces/Visible.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.interfaces; 2 | 3 | public interface Visible { 4 | 5 | void draw(float x, float y); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/objects/basic/theme/themes/ResilienceTheme.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.objects.basic.theme.themes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.gui2.objects.basic.theme.Theme; 5 | import com.krispdev.resilience.gui2.objects.basic.theme.ThemeColour; 6 | import com.krispdev.resilience.gui2.objects.geometry.shapes.Rectangle; 7 | 8 | public class ResilienceTheme extends Theme{ 9 | 10 | public ResilienceTheme(){ 11 | super( 12 | "Resilience", 13 | new ThemeColour(0xbb020202), 14 | new ThemeColour(0xbb0072ec, 0xbb82c0ff), 15 | new ThemeColour(0xbb0072ec, 0xbb82c0ff), 16 | new ThemeColour(0x99040404), 17 | 0xffffffff, 18 | 0xffffffff, 19 | new Rectangle(0, 0, 110, 17), 20 | new Rectangle(83, 3, 94, 14), 21 | new Rectangle(96, 3, 107, 14), 22 | new Rectangle(0, 0, 110, 17), 23 | Resilience.getInstance().getPanelTitleFont() 24 | ); 25 | } 26 | 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/objects/basic/viewable/VisibleComponent.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.objects.basic.viewable; 2 | 3 | import com.krispdev.resilience.gui2.interfaces.Visible; 4 | import com.krispdev.resilience.gui2.objects.basic.Component; 5 | import com.krispdev.resilience.gui2.objects.basic.Container; 6 | import com.krispdev.resilience.gui2.objects.geometry.Shape; 7 | 8 | public class VisibleComponent extends Component implements Visible{ 9 | 10 | public VisibleComponent(Container container, Shape area) { 11 | super(container, area); 12 | } 13 | 14 | @Override 15 | public void draw(float x, float y) {} 16 | 17 | @Override 18 | public boolean onComponentClick(float x, float y, int btn) { 19 | return false; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /com/krispdev/resilience/gui2/objects/geometry/Shape.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.gui2.objects.geometry; 2 | 3 | public interface Shape { 4 | 5 | boolean overArea(float x, float y); 6 | void setX(float x); 7 | void setY(float y); 8 | void scale(float sX, float sY); 9 | void translate(float x, float y); 10 | Shape getNewScale(float sX, float sY); 11 | Shape getNewTranslate(float x, float y); 12 | float getX(); 13 | float getY(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /com/krispdev/resilience/hooks/HookGuiNewChat.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MinecraftModdedClients/Resilience-Client-Source/4a3b2bd906f17b99be9e5eceaf9d6fcfc1470c01/com/krispdev/resilience/hooks/HookGuiNewChat.java -------------------------------------------------------------------------------- /com/krispdev/resilience/interfaces/Bindable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.interfaces; 2 | 3 | public interface Bindable { 4 | 5 | void onKeyDown(int keyCode); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /com/krispdev/resilience/interfaces/Toggleable.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.interfaces; 2 | 3 | public interface Toggleable { 4 | 5 | void onEnable(); 6 | void onDisable(); 7 | void onToggle(); 8 | void toggle(); 9 | void setEnabled(boolean flag); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /com/krispdev/resilience/irc/MainIRCManager.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.irc; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | 5 | public class MainIRCManager extends Thread{ 6 | 7 | private String server = "irc.freenode.net"; 8 | public MainIRCBot bot; 9 | public String username; 10 | 11 | public MainIRCManager(String username){ 12 | this.username = username; 13 | bot = new MainIRCBot(username); 14 | } 15 | 16 | @Override 17 | public void run() { 18 | try{ 19 | bot.setVerbose(true); 20 | bot.connect(server); 21 | bot.joinChannel(Resilience.getInstance().getValues().ircChannel); 22 | }catch(Exception e){ 23 | e.printStackTrace(); 24 | bot.disconnect(); 25 | } 26 | } 27 | 28 | public MainIRCBot getBot(){ 29 | return bot; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/categories/ModuleCategory.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.categories; 2 | 3 | public enum ModuleCategory { 4 | PLAYER, 5 | MOVEMENT, 6 | WORLD, 7 | COMBAT, 8 | RENDER, 9 | MISC, 10 | GUI, 11 | NONE, 12 | COMBAT_EXTENSION 13 | } 14 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/categories/NoCheatMode.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.categories; 2 | 3 | public enum NoCheatMode { 4 | COMPATIBLE, 5 | SEMICOMPATIBLE, 6 | INCOMPATIBLE, 7 | VANILLAONLY 8 | } 9 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/ModuleAutoBlock.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAutoBlock extends DefaultModule{ 9 | 10 | public ModuleAutoBlock(){ 11 | super("AutoBlock", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT); 13 | this.setDescription("Automatically blocks with your sword in KillAura"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().autoBlockEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().autoBlockEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/ModuleNoHurtcam.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNoHurtcam extends DefaultModule{ 9 | 10 | public ModuleNoHurtcam(){ 11 | super("NoHurtcam", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT); 13 | this.setDescription("Prevents the hurtcam when you get hit"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().noHurtcamEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().noHurtcamEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModuleAnimals.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAnimals extends DefaultModule{ 9 | 10 | public ModuleAnimals(){ 11 | super("Target Animals", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Do you want combat mods to target animals?"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().animals.setState(true); 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().animals.setState(false); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModuleInvisibles.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleInvisibles extends DefaultModule{ 9 | 10 | public ModuleInvisibles(){ 11 | super("Target Invisibles", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Do you want combat mods to target invisible players?"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().invisibles.setState(true); 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().invisibles.setState(false); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModuleMobs.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleMobs extends DefaultModule{ 9 | 10 | public ModuleMobs(){ 11 | super("Target Mobs", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Do you want combat mods to attack mobs?"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().mobs.setState(true); 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().mobs.setState(false); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModulePlayers.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModulePlayers extends DefaultModule{ 9 | 10 | public ModulePlayers(){ 11 | super("Target Players", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Do you want combat mods to target players?"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().players.setState(true); 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().players.setState(false); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModulePropBlocks.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModulePropBlocks extends DefaultModule{ 9 | 10 | public ModulePropBlocks(){ 11 | super("Target PropBlocks", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Do you want combat mods to target Prophunt blocks?"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().propBlocks.setState(true); 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().propBlocks.setState(false); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/combat/modes/ModuleSafeMode.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.combat.modes; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleSafeMode extends DefaultModule{ 9 | 10 | public ModuleSafeMode(){ 11 | super("Safe Mode", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.COMBAT_EXTENSION); 13 | this.setDescription("Makes KillAura only attack people in "); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().safeMode.setState(true); 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().safeMode.setState(false); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/gui/ModuleGui.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.gui; 2 | 3 | import org.lwjgl.input.Keyboard; 4 | 5 | import com.krispdev.resilience.Resilience; 6 | import com.krispdev.resilience.module.categories.ModuleCategory; 7 | import com.krispdev.resilience.module.categories.NoCheatMode; 8 | import com.krispdev.resilience.module.modules.DefaultModule; 9 | 10 | public class ModuleGui extends DefaultModule{ 11 | 12 | public ModuleGui(){ 13 | super("Gui", Keyboard.KEY_RSHIFT, NoCheatMode.COMPATIBLE); 14 | this.setCategory(ModuleCategory.GUI); 15 | this.setDescription("The user interface for the client"); 16 | } 17 | 18 | @Override 19 | public void onEnable() { 20 | if(Resilience.getInstance().getWrapper().getWorld() == null || Resilience.getInstance().getWrapper().getPlayer() == null){ 21 | return; 22 | } 23 | invoker.displayScreen(Resilience.getInstance().getClickGui()); 24 | } 25 | 26 | @Override 27 | public void onDisable() {} 28 | 29 | } 30 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/gui/ModuleStealStoreButtons.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.gui; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleStealStoreButtons extends DefaultModule{ 9 | 10 | public ModuleStealStoreButtons(){ 11 | super("Steal Store Buttons", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.GUI); 13 | this.setDescription("An option for the steal/store buttons above chests"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().stealStoreButtonsEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().stealStoreButtonsEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/misc/ModuleAutoChestSteal.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.misc; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAutoChestSteal extends DefaultModule { 9 | 10 | public ModuleAutoChestSteal(){ 11 | super("Auto Chest Steal", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.MISC); 13 | this.setDescription("Automatically steals when you open a chest"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().autoChestStealEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().autoChestStealEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/misc/ModuleEnabledMods.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.misc; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleEnabledMods extends DefaultModule{ 9 | 10 | public ModuleEnabledMods(){ 11 | super("Enabled Mods", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.MISC); 13 | this.setDescription("Shows all enabled mods in the left hand side of the screen"); 14 | this.setVisible(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getValues().enabledModsEnabled = true; 20 | } 21 | 22 | @Override 23 | public void onDisable() { 24 | Resilience.getInstance().getValues().enabledModsEnabled = false; 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/misc/ModuleNiceChat.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.misc; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNiceChat extends DefaultModule{ 9 | 10 | public ModuleNiceChat(){ 11 | super("NiceChat", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.MISC); 13 | this.setDescription("Changes the chat font to Arial"); 14 | } 15 | 16 | @Override 17 | public void onEnable(){ 18 | Resilience.getInstance().getValues().niceChatEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable(){ 23 | Resilience.getInstance().getValues().niceChatEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/movement/ModuleHighJump.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.movement; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleHighJump extends DefaultModule{ 9 | 10 | public ModuleHighJump(){ 11 | super("HighJump", 0, NoCheatMode.INCOMPATIBLE); 12 | this.setCategory(ModuleCategory.MOVEMENT); 13 | this.setDescription("Allows higher jumping"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().highJumpEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().highJumpEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/movement/ModuleJesus.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.movement; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleJesus extends DefaultModule{ 9 | 10 | public ModuleJesus(){ 11 | super("Jesus", 0, NoCheatMode.INCOMPATIBLE); 12 | this.setCategory(ModuleCategory.MOVEMENT); 13 | this.setDescription("Allows walking on water"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().jesusEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().jesusEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/movement/ModuleNoSlowdown.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.movement; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNoSlowdown extends DefaultModule{ 9 | 10 | public ModuleNoSlowdown(){ 11 | super("NoSlowdown", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.MOVEMENT); 13 | this.setDescription("Prevents slowdown from soulsand and water"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().noSlowdownEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().noSlowdownEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/movement/ModuleSafeWalk.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.movement; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleSafeWalk extends DefaultModule{ 9 | 10 | public ModuleSafeWalk(){ 11 | super("SafeWalk", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.MOVEMENT); 13 | this.setDescription("Prevents you from falling off cliffs"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().safeWalkEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().safeWalkEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/player/ModuleAntiBlindness.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAntiBlindness extends DefaultModule{ 9 | 10 | public ModuleAntiBlindness(){ 11 | super("Anti Blindess", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.PLAYER); 13 | this.setDescription("Prevents the blindness potion effect"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().antiBlindessEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().antiBlindessEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/player/ModuleAntiNausea.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAntiNausea extends DefaultModule{ 9 | 10 | public ModuleAntiNausea(){ 11 | super("Anti Nausea", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.PLAYER); 13 | this.setDescription("Prevens the nausea potion effect"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().antiNauseaEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().antiNauseaEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/player/ModuleAutoRespawn.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleAutoRespawn extends DefaultModule{ 9 | 10 | public ModuleAutoRespawn(){ 11 | super("Auto Respawn", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.PLAYER); 13 | this.setDescription("Automatically respawns you when you die"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().autoRespawnEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().autoRespawnEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/player/ModuleNameProtect.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.player; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNameProtect extends DefaultModule{ 9 | 10 | public ModuleNameProtect(){ 11 | super("NameProtect", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.PLAYER); 13 | this.setDescription("Protects your name"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().nameProtectEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().nameProtectEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/render/ModuleNames.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.render; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNames extends DefaultModule{ 9 | 10 | public ModuleNames(){ 11 | super("Names", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.RENDER); 13 | this.setDescription("Shows larger (better?) nametags"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().namesEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().namesEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/render/ModuleNoFireEffect.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.render; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleNoFireEffect extends DefaultModule{ 9 | 10 | public ModuleNoFireEffect(){ 11 | super("NoFireEffect", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.RENDER); 13 | this.setDescription("Stops the fire effect"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().noFireEffectEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().noFireEffectEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/render/ModulePotionEffects.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.render; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModulePotionEffects extends DefaultModule{ 9 | 10 | public ModulePotionEffects(){ 11 | super("PotionEffects", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.RENDER); 13 | this.setDescription("Shows all your potion effects"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().potionEffectsEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().potionEffectsEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/world/ModuleCaveFinder.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.world; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleCaveFinder extends DefaultModule{ 9 | 10 | public ModuleCaveFinder(){ 11 | super("CaveFinder", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.WORLD); 13 | this.setDescription("Shows where caves are"); 14 | this.setSave(false); 15 | } 16 | 17 | @Override 18 | public void onEnable() { 19 | Resilience.getInstance().getInvoker().loadRenderers(); 20 | Resilience.getInstance().getValues().caveFinderEnabled = true; 21 | } 22 | 23 | @Override 24 | public void onDisable() { 25 | Resilience.getInstance().getInvoker().loadRenderers(); 26 | Resilience.getInstance().getValues().caveFinderEnabled = false; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/world/ModuleFastBreak.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.world; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleFastBreak extends DefaultModule{ 9 | 10 | public ModuleFastBreak(){ 11 | super("FastBreak", 0, NoCheatMode.INCOMPATIBLE); 12 | this.setCategory(ModuleCategory.WORLD); 13 | this.setDescription("Allows you to breaks blocks at a fast speed"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().fastBreakEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().fastBreakEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/module/modules/world/ModuleWireFrame.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.module.modules.world; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.module.categories.ModuleCategory; 5 | import com.krispdev.resilience.module.categories.NoCheatMode; 6 | import com.krispdev.resilience.module.modules.DefaultModule; 7 | 8 | public class ModuleWireFrame extends DefaultModule{ 9 | 10 | public ModuleWireFrame(){ 11 | super("WireFrame", 0, NoCheatMode.COMPATIBLE); 12 | this.setCategory(ModuleCategory.WORLD); 13 | this.setDescription("Makes the world render wire-blocks"); 14 | } 15 | 16 | @Override 17 | public void onEnable() { 18 | Resilience.getInstance().getValues().wireFrameEnabled = true; 19 | } 20 | 21 | @Override 22 | public void onDisable() { 23 | Resilience.getInstance().getValues().wireFrameEnabled = false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /com/krispdev/resilience/online/irc/extern/BotManager.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.online.irc.extern; 2 | 3 | import com.krispdev.resilience.Resilience; 4 | import com.krispdev.resilience.online.gui.GuiGroupChat; 5 | 6 | public class BotManager extends Thread{ 7 | 8 | private String server = Resilience.getInstance().getValues().ircChatServer; 9 | public PublicBot bot; 10 | public String username; 11 | 12 | public BotManager(String username){ 13 | this.username = username; 14 | bot = new PublicBot(username); 15 | } 16 | 17 | @Override 18 | public void run() { 19 | try{ 20 | bot.setVerbose(true); 21 | bot.connect(server); 22 | bot.joinChannel(Resilience.getInstance().getValues().userChannel); 23 | }catch(Exception e){ 24 | e.printStackTrace(); 25 | bot.disconnect(); 26 | } 27 | } 28 | 29 | public PublicBot getBot(){ 30 | return bot; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /com/krispdev/resilience/relations/Enemy.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.relations; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class Enemy { 6 | 7 | public static ArrayList enemyList = new ArrayList(); 8 | 9 | private String name; 10 | 11 | public Enemy(String name){ 12 | this.name = name; 13 | } 14 | 15 | public String getName(){ 16 | return this.name; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /com/krispdev/resilience/relations/EnemyManager.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.relations; 2 | 3 | import net.minecraft.util.StringUtils; 4 | 5 | public class EnemyManager { 6 | 7 | public static boolean isEnemy(String username){ 8 | for(Enemy friend : Enemy.enemyList){ 9 | if(friend.getName().trim().equalsIgnoreCase(StringUtils.stripControlCodes(username.trim()))){ 10 | return true; 11 | } 12 | } 13 | return false; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /com/krispdev/resilience/relations/Friend.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.relations; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class Friend{ 6 | 7 | public static ArrayList friendList = new ArrayList(); 8 | 9 | private String name; 10 | private String alias; 11 | 12 | public Friend(String name, String alias){ 13 | this.name = name; 14 | this.alias = alias; 15 | } 16 | 17 | public String getName(){ 18 | return this.name; 19 | } 20 | 21 | public String getAlias(){ 22 | return this.alias; 23 | } 24 | 25 | public void setAlias(String alias){ 26 | this.alias = alias; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /com/krispdev/resilience/relations/FriendManager.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.relations; 2 | 3 | import net.minecraft.util.StringUtils; 4 | 5 | public class FriendManager { 6 | 7 | public static boolean isFriend(String username){ 8 | for(Friend friend : Friend.friendList){ 9 | if(friend.getName().trim().equalsIgnoreCase(StringUtils.stripControlCodes(username.trim()))){ 10 | return true; 11 | } 12 | } 13 | return false; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /com/krispdev/resilience/utilities/Timer.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.utilities; 2 | 3 | public class Timer { 4 | 5 | private long prevTime; 6 | 7 | public Timer(){ 8 | prevTime = 0; 9 | } 10 | 11 | public boolean hasTimePassed(long milSec){ 12 | return (float)(getTime() - prevTime) >= milSec; 13 | } 14 | 15 | public void reset(){ 16 | prevTime = getTime(); 17 | } 18 | 19 | public long getTime(){ 20 | return System.nanoTime() / 1000000; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /com/krispdev/resilience/utilities/XrayBlock.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.utilities; 2 | 3 | public class XrayBlock { 4 | 5 | private int id; 6 | 7 | public XrayBlock(int id){ 8 | this.id = id; 9 | } 10 | 11 | public int getId(){ 12 | return id; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /com/krispdev/resilience/utilities/value/Value.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.utilities.value; 2 | 3 | public class Value { 4 | 5 | private String name; 6 | 7 | public Value(String name){ 8 | this.name = name; 9 | } 10 | 11 | public String getName(){ 12 | return name; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /com/krispdev/resilience/utilities/value/values/BoolValue.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.utilities.value.values; 2 | 3 | import com.krispdev.resilience.event.events.player.EventValueChange; 4 | import com.krispdev.resilience.utilities.value.Value; 5 | 6 | public class BoolValue extends Value{ 7 | 8 | private boolean state; 9 | 10 | public BoolValue(String name, boolean state){ 11 | super(name); 12 | this.state = state; 13 | } 14 | 15 | public boolean getState(){ 16 | return state; 17 | } 18 | 19 | public void setState(boolean state){ 20 | final EventValueChange eventChange = new EventValueChange(this); 21 | eventChange.onEvent(); 22 | 23 | if(!eventChange.isCancelled()){ 24 | this.state = state; 25 | }else{ 26 | eventChange.setCancelled(false); 27 | } 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /com/krispdev/resilience/utilities/value/values/StringValue.java: -------------------------------------------------------------------------------- 1 | package com.krispdev.resilience.utilities.value.values; 2 | 3 | import com.krispdev.resilience.event.events.player.EventValueChange; 4 | import com.krispdev.resilience.utilities.value.Value; 5 | 6 | public class StringValue extends Value{ 7 | 8 | private String value; 9 | 10 | public StringValue(String name, String value) { 11 | super(name); 12 | this.value = value; 13 | } 14 | 15 | public String getValue(){ 16 | return value; 17 | } 18 | 19 | public void setValue(String value){ 20 | final EventValueChange eventChange = new EventValueChange(this); 21 | eventChange.onEvent(); 22 | 23 | if(!eventChange.isCancelled()){ 24 | this.value = value; 25 | }else{ 26 | eventChange.setCancelled(false); 27 | } 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockButtonStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.init.Blocks; 4 | import net.minecraft.util.IIcon; 5 | 6 | public class BlockButtonStone extends BlockButton 7 | { 8 | private static final String __OBFID = "CL_00000319"; 9 | 10 | protected BlockButtonStone() 11 | { 12 | super(false); 13 | } 14 | 15 | /** 16 | * Gets the block's texture. Args: side, meta 17 | */ 18 | public IIcon getIcon(int p_149691_1_, int p_149691_2_) 19 | { 20 | return Blocks.stone.getBlockTextureFromSide(1); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockButtonWood.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.init.Blocks; 4 | import net.minecraft.util.IIcon; 5 | 6 | public class BlockButtonWood extends BlockButton 7 | { 8 | private static final String __OBFID = "CL_00000336"; 9 | 10 | protected BlockButtonWood() 11 | { 12 | super(true); 13 | } 14 | 15 | /** 16 | * Gets the block's texture. Args: side, meta 17 | */ 18 | public IIcon getIcon(int p_149691_1_, int p_149691_2_) 19 | { 20 | return Blocks.planks.getBlockTextureFromSide(1); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockClay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | import net.minecraft.init.Items; 7 | import net.minecraft.item.Item; 8 | 9 | public class BlockClay extends Block 10 | { 11 | private static final String __OBFID = "CL_00000215"; 12 | 13 | public BlockClay() 14 | { 15 | super(Material.field_151571_B); 16 | this.setCreativeTab(CreativeTabs.tabBlock); 17 | } 18 | 19 | public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) 20 | { 21 | return Items.clay_ball; 22 | } 23 | 24 | /** 25 | * Returns the quantity of items to drop on block destruction. 26 | */ 27 | public int quantityDropped(Random p_149745_1_) 28 | { 29 | return 4; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockCompressed.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.MapColor; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | 7 | public class BlockCompressed extends Block 8 | { 9 | private final MapColor field_150202_a; 10 | private static final String __OBFID = "CL_00000268"; 11 | 12 | public BlockCompressed(MapColor p_i45414_1_) 13 | { 14 | super(Material.iron); 15 | this.field_150202_a = p_i45414_1_; 16 | this.setCreativeTab(CreativeTabs.tabBlock); 17 | } 18 | 19 | public MapColor getMapColor(int p_149728_1_) 20 | { 21 | return this.field_150202_a; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockCompressedPowered.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.MapColor; 4 | import net.minecraft.creativetab.CreativeTabs; 5 | import net.minecraft.world.IBlockAccess; 6 | 7 | public class BlockCompressedPowered extends BlockCompressed 8 | { 9 | private static final String __OBFID = "CL_00000287"; 10 | 11 | public BlockCompressedPowered(MapColor p_i45416_1_) 12 | { 13 | super(p_i45416_1_); 14 | this.setCreativeTab(CreativeTabs.tabRedstone); 15 | } 16 | 17 | /** 18 | * Can this block provide power. Only wire currently seems to have this change based on its state. 19 | */ 20 | public boolean canProvidePower() 21 | { 22 | return true; 23 | } 24 | 25 | public int isProvidingWeakPower(IBlockAccess p_149709_1_, int p_149709_2_, int p_149709_3_, int p_149709_4_, int p_149709_5_) 26 | { 27 | return 15; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockDirectional.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.Material; 4 | 5 | public abstract class BlockDirectional extends Block 6 | { 7 | private static final String __OBFID = "CL_00000227"; 8 | 9 | protected BlockDirectional(Material p_i45401_1_) 10 | { 11 | super(p_i45401_1_); 12 | } 13 | 14 | public static int func_149895_l(int p_149895_0_) 15 | { 16 | return p_149895_0_ & 3; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockGravel.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.init.Items; 5 | import net.minecraft.item.Item; 6 | 7 | public class BlockGravel extends BlockFalling 8 | { 9 | private static final String __OBFID = "CL_00000252"; 10 | 11 | public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) 12 | { 13 | if (p_149650_3_ > 3) 14 | { 15 | p_149650_3_ = 3; 16 | } 17 | 18 | return p_149650_2_.nextInt(10 - p_149650_3_ * 3) == 0 ? Items.flint : Item.getItemFromBlock(this); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockHardenedClay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.MapColor; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | 7 | public class BlockHardenedClay extends Block 8 | { 9 | private static final String __OBFID = "CL_00000255"; 10 | 11 | public BlockHardenedClay() 12 | { 13 | super(Material.rock); 14 | this.setCreativeTab(CreativeTabs.tabBlock); 15 | } 16 | 17 | public MapColor getMapColor(int p_149728_1_) 18 | { 19 | return MapColor.field_151676_q; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockHay.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.Material; 4 | import net.minecraft.client.renderer.texture.IIconRegister; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | import net.minecraft.util.IIcon; 7 | 8 | public class BlockHay extends BlockRotatedPillar 9 | { 10 | private static final String __OBFID = "CL_00000256"; 11 | 12 | public BlockHay() 13 | { 14 | super(Material.grass); 15 | this.setCreativeTab(CreativeTabs.tabBlock); 16 | } 17 | 18 | protected IIcon func_150163_b(int p_150163_1_) 19 | { 20 | return this.blockIcon; 21 | } 22 | 23 | public void registerBlockIcons(IIconRegister p_149651_1_) 24 | { 25 | this.field_150164_N = p_149651_1_.registerIcon(this.getTextureName() + "_top"); 26 | this.blockIcon = p_149651_1_.registerIcon(this.getTextureName() + "_side"); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockLeavesBase.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.Material; 4 | import net.minecraft.world.IBlockAccess; 5 | 6 | public class BlockLeavesBase extends Block 7 | { 8 | protected boolean field_150121_P; 9 | private static final String __OBFID = "CL_00000326"; 10 | 11 | protected BlockLeavesBase(Material p_i45433_1_, boolean p_i45433_2_) 12 | { 13 | super(p_i45433_1_); 14 | this.field_150121_P = p_i45433_2_; 15 | } 16 | 17 | public boolean isOpaqueCube() 18 | { 19 | return false; 20 | } 21 | 22 | public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) 23 | { 24 | Block var6 = p_149646_1_.getBlock(p_149646_2_, p_149646_3_, p_149646_4_); 25 | return !this.field_150121_P && var6 == this ? false : super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockNetherrack.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.MapColor; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | 7 | public class BlockNetherrack extends Block 8 | { 9 | private static final String __OBFID = "CL_00000275"; 10 | 11 | public BlockNetherrack() 12 | { 13 | super(Material.rock); 14 | this.setCreativeTab(CreativeTabs.tabBlock); 15 | } 16 | 17 | public MapColor getMapColor(int p_149728_1_) 18 | { 19 | return MapColor.field_151655_K; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockObsidian.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.material.MapColor; 5 | import net.minecraft.init.Blocks; 6 | import net.minecraft.item.Item; 7 | 8 | public class BlockObsidian extends BlockStone 9 | { 10 | private static final String __OBFID = "CL_00000279"; 11 | 12 | /** 13 | * Returns the quantity of items to drop on block destruction. 14 | */ 15 | public int quantityDropped(Random p_149745_1_) 16 | { 17 | return 1; 18 | } 19 | 20 | public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) 21 | { 22 | return Item.getItemFromBlock(Blocks.obsidian); 23 | } 24 | 25 | public MapColor getMapColor(int p_149728_1_) 26 | { 27 | return MapColor.field_151654_J; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockPackedIce.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | 7 | public class BlockPackedIce extends Block 8 | { 9 | private static final String __OBFID = "CL_00000283"; 10 | 11 | public BlockPackedIce() 12 | { 13 | super(Material.field_151598_x); 14 | this.slipperiness = 0.98F; 15 | this.setCreativeTab(CreativeTabs.tabBlock); 16 | } 17 | 18 | /** 19 | * Returns the quantity of items to drop on block destruction. 20 | */ 21 | public int quantityDropped(Random p_149745_1_) 22 | { 23 | return 0; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockSponge.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.block.material.Material; 4 | import net.minecraft.creativetab.CreativeTabs; 5 | 6 | public class BlockSponge extends Block 7 | { 8 | private static final String __OBFID = "CL_00000311"; 9 | 10 | protected BlockSponge() 11 | { 12 | super(Material.sponge); 13 | this.setCreativeTab(CreativeTabs.tabBlock); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/block/BlockStone.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.material.Material; 5 | import net.minecraft.creativetab.CreativeTabs; 6 | import net.minecraft.init.Blocks; 7 | import net.minecraft.item.Item; 8 | 9 | public class BlockStone extends Block 10 | { 11 | private static final String __OBFID = "CL_00000317"; 12 | 13 | public BlockStone() 14 | { 15 | super(Material.rock); 16 | this.setCreativeTab(CreativeTabs.tabBlock); 17 | } 18 | 19 | public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) 20 | { 21 | return Item.getItemFromBlock(Blocks.cobblestone); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/block/IGrowable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import java.util.Random; 4 | import net.minecraft.world.World; 5 | 6 | public interface IGrowable 7 | { 8 | boolean func_149851_a(World var1, int var2, int var3, int var4, boolean var5); 9 | 10 | boolean func_149852_a(World var1, Random var2, int var3, int var4, int var5); 11 | 12 | void func_149853_b(World var1, Random var2, int var3, int var4, int var5); 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/block/ITileEntityProvider.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block; 2 | 3 | import net.minecraft.tileentity.TileEntity; 4 | import net.minecraft.world.World; 5 | 6 | public interface ITileEntityProvider 7 | { 8 | /** 9 | * Returns a new instance of a block's tile entity class. Called on placing the block. 10 | */ 11 | TileEntity createNewTileEntity(World var1, int var2); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/block/material/MaterialLiquid.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block.material; 2 | 3 | public class MaterialLiquid extends Material 4 | { 5 | private static final String __OBFID = "CL_00000541"; 6 | 7 | public MaterialLiquid(MapColor par1MapColor) 8 | { 9 | super(par1MapColor); 10 | this.setReplaceable(); 11 | this.setNoPushMobility(); 12 | } 13 | 14 | /** 15 | * Returns if blocks of these materials are liquids. 16 | */ 17 | public boolean isLiquid() 18 | { 19 | return true; 20 | } 21 | 22 | /** 23 | * Returns if this material is considered solid or not 24 | */ 25 | public boolean blocksMovement() 26 | { 27 | return false; 28 | } 29 | 30 | public boolean isSolid() 31 | { 32 | return false; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/block/material/MaterialLogic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block.material; 2 | 3 | public class MaterialLogic extends Material 4 | { 5 | private static final String __OBFID = "CL_00000539"; 6 | 7 | public MaterialLogic(MapColor par1MapColor) 8 | { 9 | super(par1MapColor); 10 | this.setAdventureModeExempt(); 11 | } 12 | 13 | public boolean isSolid() 14 | { 15 | return false; 16 | } 17 | 18 | /** 19 | * Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true 20 | */ 21 | public boolean getCanBlockGrass() 22 | { 23 | return false; 24 | } 25 | 26 | /** 27 | * Returns if this material is considered solid or not 28 | */ 29 | public boolean blocksMovement() 30 | { 31 | return false; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /net/minecraft/block/material/MaterialPortal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block.material; 2 | 3 | public class MaterialPortal extends Material 4 | { 5 | private static final String __OBFID = "CL_00000545"; 6 | 7 | public MaterialPortal(MapColor par1MapColor) 8 | { 9 | super(par1MapColor); 10 | } 11 | 12 | public boolean isSolid() 13 | { 14 | return false; 15 | } 16 | 17 | /** 18 | * Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true 19 | */ 20 | public boolean getCanBlockGrass() 21 | { 22 | return false; 23 | } 24 | 25 | /** 26 | * Returns if this material is considered solid or not 27 | */ 28 | public boolean blocksMovement() 29 | { 30 | return false; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /net/minecraft/block/material/MaterialTransparent.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.block.material; 2 | 3 | public class MaterialTransparent extends Material 4 | { 5 | private static final String __OBFID = "CL_00000540"; 6 | 7 | public MaterialTransparent(MapColor par1MapColor) 8 | { 9 | super(par1MapColor); 10 | this.setReplaceable(); 11 | } 12 | 13 | public boolean isSolid() 14 | { 15 | return false; 16 | } 17 | 18 | /** 19 | * Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true 20 | */ 21 | public boolean getCanBlockGrass() 22 | { 23 | return false; 24 | } 25 | 26 | /** 27 | * Returns if this material is considered solid or not 28 | */ 29 | public boolean blocksMovement() 30 | { 31 | return false; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /net/minecraft/client/AnvilConverterException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client; 2 | 3 | public class AnvilConverterException extends Exception 4 | { 5 | private static final String __OBFID = "CL_00000599"; 6 | 7 | public AnvilConverterException(String par1Str) 8 | { 9 | super(par1Str); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/client/ClientBrandRetriever.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client; 2 | 3 | public class ClientBrandRetriever 4 | { 5 | private static final String __OBFID = "CL_00001460"; 6 | 7 | public static String getClientModName() 8 | { 9 | return "vanilla"; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/client/audio/ISoundEventAccessor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.audio; 2 | 3 | public interface ISoundEventAccessor 4 | { 5 | int func_148721_a(); 6 | 7 | Object func_148720_g(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/client/audio/ITickableSound.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.audio; 2 | 3 | import net.minecraft.server.gui.IUpdatePlayerListBox; 4 | 5 | public interface ITickableSound extends ISound, IUpdatePlayerListBox 6 | { 7 | boolean func_147667_k(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/client/audio/MovingSound.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.audio; 2 | 3 | import net.minecraft.util.ResourceLocation; 4 | 5 | public abstract class MovingSound extends PositionedSound implements ITickableSound 6 | { 7 | protected boolean field_147668_j = false; 8 | private static final String __OBFID = "CL_00001117"; 9 | 10 | protected MovingSound(ResourceLocation p_i45104_1_) 11 | { 12 | super(p_i45104_1_); 13 | } 14 | 15 | public boolean func_147667_k() 16 | { 17 | return this.field_147668_j; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/client/audio/SoundEventAccessor.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.audio; 2 | 3 | public class SoundEventAccessor implements ISoundEventAccessor 4 | { 5 | private final SoundPoolEntry field_148739_a; 6 | private final int field_148738_b; 7 | private static final String __OBFID = "CL_00001153"; 8 | 9 | SoundEventAccessor(SoundPoolEntry p_i45123_1_, int p_i45123_2_) 10 | { 11 | this.field_148739_a = p_i45123_1_; 12 | this.field_148738_b = p_i45123_2_; 13 | } 14 | 15 | public int func_148721_a() 16 | { 17 | return this.field_148738_b; 18 | } 19 | 20 | public SoundPoolEntry func_148720_g() 21 | { 22 | return new SoundPoolEntry(this.field_148739_a); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/client/audio/SoundRegistry.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.audio; 2 | 3 | import com.google.common.collect.Maps; 4 | import java.util.Map; 5 | import net.minecraft.util.RegistrySimple; 6 | 7 | public class SoundRegistry extends RegistrySimple 8 | { 9 | private Map field_148764_a; 10 | private static final String __OBFID = "CL_00001151"; 11 | 12 | /** 13 | * Creates the Map we will use to map keys to their registered values. 14 | */ 15 | protected Map createUnderlyingMap() 16 | { 17 | this.field_148764_a = Maps.newHashMap(); 18 | return this.field_148764_a; 19 | } 20 | 21 | public void func_148762_a(SoundEventAccessorComposite p_148762_1_) 22 | { 23 | this.putObject(p_148762_1_.func_148729_c(), p_148762_1_); 24 | } 25 | 26 | public void func_148763_c() 27 | { 28 | this.field_148764_a.clear(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/client/gui/GuiPlayerInfo.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.gui; 2 | 3 | public class GuiPlayerInfo 4 | { 5 | /** The string value of the object */ 6 | public final String name; 7 | 8 | /** Player name in lowercase. */ 9 | private final String nameinLowerCase; 10 | 11 | /** Player response time to server in milliseconds */ 12 | public int responseTime; 13 | private static final String __OBFID = "CL_00000888"; 14 | 15 | public GuiPlayerInfo(String par1Str) 16 | { 17 | this.name = par1Str; 18 | this.nameinLowerCase = par1Str.toLowerCase(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/client/gui/GuiResourcePackAvailable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.gui; 2 | 3 | import java.util.List; 4 | import net.minecraft.client.Minecraft; 5 | import net.minecraft.client.resources.I18n; 6 | 7 | public class GuiResourcePackAvailable extends GuiResourcePackList 8 | { 9 | private static final String __OBFID = "CL_00000824"; 10 | 11 | public GuiResourcePackAvailable(Minecraft p_i45054_1_, int p_i45054_2_, int p_i45054_3_, List p_i45054_4_) 12 | { 13 | super(p_i45054_1_, p_i45054_2_, p_i45054_3_, p_i45054_4_); 14 | } 15 | 16 | protected String func_148202_k() 17 | { 18 | return I18n.format("resourcePack.available.title", new Object[0]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/client/gui/GuiResourcePackSelected.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.gui; 2 | 3 | import java.util.List; 4 | import net.minecraft.client.Minecraft; 5 | import net.minecraft.client.resources.I18n; 6 | 7 | public class GuiResourcePackSelected extends GuiResourcePackList 8 | { 9 | private static final String __OBFID = "CL_00000827"; 10 | 11 | public GuiResourcePackSelected(Minecraft p_i45056_1_, int p_i45056_2_, int p_i45056_3_, List p_i45056_4_) 12 | { 13 | super(p_i45056_1_, p_i45056_2_, p_i45056_3_, p_i45056_4_); 14 | } 15 | 16 | protected String func_148202_k() 17 | { 18 | return I18n.format("resourcePack.selected.title", new Object[0]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/client/gui/IProgressMeter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.gui; 2 | 3 | public interface IProgressMeter 4 | { 5 | String[] field_146510_b_ = new String[] {"oooooo", "Oooooo", "oOoooo", "ooOooo", "oooOoo", "ooooOo", "oooooO"}; 6 | 7 | void func_146509_g(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/client/gui/mco/ScreenWithCallback.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.gui.mco; 2 | 3 | import net.minecraft.client.gui.GuiScreen; 4 | 5 | public abstract class ScreenWithCallback extends GuiScreen 6 | { 7 | private static final String __OBFID = "CL_00000812"; 8 | 9 | abstract void func_146735_a(Object var1); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/client/mco/ExceptionMcoHttp.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.mco; 2 | 3 | public class ExceptionMcoHttp extends RuntimeException 4 | { 5 | private static final String __OBFID = "CL_00001176"; 6 | 7 | public ExceptionMcoHttp(String par1Str, Exception par2Exception) 8 | { 9 | super(par1Str, par2Exception); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/client/mco/ExceptionMcoService.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.mco; 2 | 3 | public class ExceptionMcoService extends Exception 4 | { 5 | public final int field_148831_a; 6 | public final String field_148829_b; 7 | public final int field_148830_c; 8 | private static final String __OBFID = "CL_00001177"; 9 | 10 | public ExceptionMcoService(int par1, String par2Str, int par3) 11 | { 12 | super(par2Str); 13 | this.field_148831_a = par1; 14 | this.field_148829_b = par2Str; 15 | this.field_148830_c = par3; 16 | } 17 | 18 | public String toString() 19 | { 20 | return this.field_148830_c != -1 ? "Realms ( ErrorCode: " + this.field_148830_c + " )" : "Realms: " + this.field_148829_b; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/client/mco/ExceptionRetryCall.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.mco; 2 | 3 | public class ExceptionRetryCall extends ExceptionMcoService 4 | { 5 | public final int field_148832_d; 6 | private static final String __OBFID = "CL_00001178"; 7 | 8 | public ExceptionRetryCall(int par1) 9 | { 10 | super(503, "Retry operation", -1); 11 | this.field_148832_d = par1; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/client/mco/McoClientConfig.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.mco; 2 | 3 | import java.net.Proxy; 4 | 5 | public class McoClientConfig 6 | { 7 | private static Proxy field_148686_a; 8 | private static final String __OBFID = "CL_00001157"; 9 | 10 | public static Proxy func_148685_a() 11 | { 12 | return field_148686_a; 13 | } 14 | 15 | public static void func_148684_a(Proxy p_148684_0_) 16 | { 17 | if (field_148686_a == null) 18 | { 19 | field_148686_a = p_148684_0_; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/client/mco/PendingInvite.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.mco; 2 | 3 | import com.google.gson.JsonObject; 4 | import net.minecraft.util.ValueObject; 5 | 6 | public class PendingInvite extends ValueObject 7 | { 8 | public String field_148776_a; 9 | public String field_148774_b; 10 | public String field_148775_c; 11 | private static final String __OBFID = "CL_00001170"; 12 | 13 | public static PendingInvite func_148773_a(JsonObject p_148773_0_) 14 | { 15 | PendingInvite var1 = new PendingInvite(); 16 | 17 | try 18 | { 19 | var1.field_148776_a = p_148773_0_.get("invitationId").getAsString(); 20 | var1.field_148774_b = p_148773_0_.get("worldName").getAsString(); 21 | var1.field_148775_c = p_148773_0_.get("worldOwnerName").getAsString(); 22 | } 23 | catch (Exception var3) 24 | { 25 | ; 26 | } 27 | 28 | return var1; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/client/model/ModelPig.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.model; 2 | 3 | public class ModelPig extends ModelQuadruped 4 | { 5 | private static final String __OBFID = "CL_00000849"; 6 | 7 | public ModelPig() 8 | { 9 | this(0.0F); 10 | } 11 | 12 | public ModelPig(float par1) 13 | { 14 | super(6, par1); 15 | this.head.setTextureOffset(16, 16).addBox(-2.0F, 0.0F, -9.0F, 4, 3, 1, par1); 16 | this.field_78145_g = 4.0F; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/client/model/ModelSign.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.model; 2 | 3 | public class ModelSign extends ModelBase 4 | { 5 | /** The board on a sign that has the writing on it. */ 6 | public ModelRenderer signBoard = new ModelRenderer(this, 0, 0); 7 | 8 | /** The stick a sign stands on. */ 9 | public ModelRenderer signStick; 10 | private static final String __OBFID = "CL_00000854"; 11 | 12 | public ModelSign() 13 | { 14 | this.signBoard.addBox(-12.0F, -14.0F, -1.0F, 24, 12, 2, 0.0F); 15 | this.signStick = new ModelRenderer(this, 0, 14); 16 | this.signStick.addBox(-1.0F, -2.0F, -1.0F, 2, 14, 2, 0.0F); 17 | } 18 | 19 | /** 20 | * Renders the sign model through TileEntitySignRenderer 21 | */ 22 | public void renderSign() 23 | { 24 | this.signBoard.render(0.0625F); 25 | this.signStick.render(0.0625F); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/client/model/TextureOffset.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.model; 2 | 3 | public class TextureOffset 4 | { 5 | /** The x coordinate offset of the texture */ 6 | public final int textureOffsetX; 7 | 8 | /** The y coordinate offset of the texture */ 9 | public final int textureOffsetY; 10 | private static final String __OBFID = "CL_00000875"; 11 | 12 | public TextureOffset(int par1, int par2) 13 | { 14 | this.textureOffsetX = par1; 15 | this.textureOffsetY = par2; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/client/particle/EntityBlockDustFX.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.particle; 2 | 3 | import net.minecraft.block.Block; 4 | import net.minecraft.world.World; 5 | 6 | public class EntityBlockDustFX extends EntityDiggingFX 7 | { 8 | private static final String __OBFID = "CL_00000931"; 9 | 10 | public EntityBlockDustFX(World p_i45072_1_, double p_i45072_2_, double p_i45072_4_, double p_i45072_6_, double p_i45072_8_, double p_i45072_10_, double p_i45072_12_, Block p_i45072_14_, int p_i45072_15_) 11 | { 12 | super(p_i45072_1_, p_i45072_2_, p_i45072_4_, p_i45072_6_, p_i45072_8_, p_i45072_10_, p_i45072_12_, p_i45072_14_, p_i45072_15_); 13 | this.motionX = p_i45072_8_; 14 | this.motionY = p_i45072_10_; 15 | this.motionZ = p_i45072_12_; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /net/minecraft/client/particle/EntitySplashFX.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.particle; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public class EntitySplashFX extends EntityRainFX 6 | { 7 | private static final String __OBFID = "CL_00000927"; 8 | 9 | public EntitySplashFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12) 10 | { 11 | super(par1World, par2, par4, par6); 12 | this.particleGravity = 0.04F; 13 | this.nextTextureIndexX(); 14 | 15 | if (par10 == 0.0D && (par8 != 0.0D || par12 != 0.0D)) 16 | { 17 | this.motionX = par8; 18 | this.motionY = par10 + 0.1D; 19 | this.motionZ = par12; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/IImageBuffer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer; 2 | 3 | import java.awt.image.BufferedImage; 4 | 5 | public interface IImageBuffer 6 | { 7 | BufferedImage parseUserSkin(BufferedImage var1); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/OpenGlCapsChecker.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer; 2 | 3 | import org.lwjgl.opengl.GLContext; 4 | 5 | public class OpenGlCapsChecker 6 | { 7 | private static final String __OBFID = "CL_00000649"; 8 | 9 | /** 10 | * Checks if we support OpenGL occlusion. 11 | */ 12 | public static boolean checkARBOcclusion() 13 | { 14 | return GLContext.getCapabilities().GL_ARB_occlusion_query; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/StitcherException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer; 2 | 3 | import net.minecraft.client.renderer.texture.Stitcher; 4 | 5 | public class StitcherException extends RuntimeException 6 | { 7 | private final Stitcher.Holder field_98149_a; 8 | private static final String __OBFID = "CL_00001057"; 9 | 10 | public StitcherException(Stitcher.Holder par1StitchHolder, String par2Str) 11 | { 12 | super(par2Str); 13 | this.field_98149_a = par1StitchHolder; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/culling/ICamera.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.culling; 2 | 3 | import net.minecraft.util.AxisAlignedBB; 4 | 5 | public interface ICamera 6 | { 7 | /** 8 | * Returns true if the bounding box is inside all 6 clipping planes, otherwise returns false. 9 | */ 10 | boolean isBoundingBoxInFrustum(AxisAlignedBB var1); 11 | 12 | boolean isBoundingBoxInFrustumFully(AxisAlignedBB var1); 13 | 14 | void setPosition(double var1, double var3, double var5); 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/texture/AbstractTexture.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.texture; 2 | 3 | public abstract class AbstractTexture implements ITextureObject 4 | { 5 | protected int glTextureId = -1; 6 | private static final String __OBFID = "CL_00001047"; 7 | 8 | public int getGlTextureId() 9 | { 10 | if (this.glTextureId == -1) 11 | { 12 | this.glTextureId = TextureUtil.glGenTextures(); 13 | } 14 | 15 | return this.glTextureId; 16 | } 17 | 18 | public void func_147631_c() 19 | { 20 | if (this.glTextureId != -1) 21 | { 22 | TextureUtil.deleteTexture(this.glTextureId); 23 | this.glTextureId = -1; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/texture/IIconRegister.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.texture; 2 | 3 | import net.minecraft.util.IIcon; 4 | 5 | public interface IIconRegister 6 | { 7 | IIcon registerIcon(String var1); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/texture/ITextureObject.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.texture; 2 | 3 | import java.io.IOException; 4 | import net.minecraft.client.resources.IResourceManager; 5 | 6 | public interface ITextureObject 7 | { 8 | void loadTexture(IResourceManager var1) throws IOException; 9 | 10 | int getGlTextureId(); 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/texture/ITickable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.texture; 2 | 3 | public interface ITickable 4 | { 5 | void tick(); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/client/renderer/texture/ITickableTextureObject.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.renderer.texture; 2 | 3 | public interface ITickableTextureObject extends ITextureObject, ITickable 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/FoliageColorReloadListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.io.IOException; 4 | import net.minecraft.client.renderer.texture.TextureUtil; 5 | import net.minecraft.util.ResourceLocation; 6 | import net.minecraft.world.ColorizerFoliage; 7 | 8 | public class FoliageColorReloadListener implements IResourceManagerReloadListener 9 | { 10 | private static final ResourceLocation field_130079_a = new ResourceLocation("textures/colormap/foliage.png"); 11 | private static final String __OBFID = "CL_00001077"; 12 | 13 | public void onResourceManagerReload(IResourceManager par1ResourceManager) 14 | { 15 | try 16 | { 17 | ColorizerFoliage.setFoliageBiomeColorizer(TextureUtil.readImageData(par1ResourceManager, field_130079_a)); 18 | } 19 | catch (IOException var3) 20 | { 21 | ; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/GrassColorReloadListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.io.IOException; 4 | import net.minecraft.client.renderer.texture.TextureUtil; 5 | import net.minecraft.util.ResourceLocation; 6 | import net.minecraft.world.ColorizerGrass; 7 | 8 | public class GrassColorReloadListener implements IResourceManagerReloadListener 9 | { 10 | private static final ResourceLocation field_130078_a = new ResourceLocation("textures/colormap/grass.png"); 11 | private static final String __OBFID = "CL_00001078"; 12 | 13 | public void onResourceManagerReload(IResourceManager par1ResourceManager) 14 | { 15 | try 16 | { 17 | ColorizerGrass.setGrassBiomeColorizer(TextureUtil.readImageData(par1ResourceManager, field_130078_a)); 18 | } 19 | catch (IOException var3) 20 | { 21 | ; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/I18n.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | public class I18n 4 | { 5 | private static Locale i18nLocale; 6 | private static final String __OBFID = "CL_00001094"; 7 | 8 | static void setLocale(Locale par0Locale) 9 | { 10 | i18nLocale = par0Locale; 11 | } 12 | 13 | /** 14 | * format(a, b) is equivalent to String.format(translate(a), b). Args: translationKey, params... 15 | */ 16 | public static String format(String par0Str, Object ... par1ArrayOfObj) 17 | { 18 | return i18nLocale.formatMessage(par0Str, par1ArrayOfObj); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/IReloadableResourceManager.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.util.List; 4 | 5 | public interface IReloadableResourceManager extends IResourceManager 6 | { 7 | void reloadResources(List var1); 8 | 9 | void registerReloadListener(IResourceManagerReloadListener var1); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/IResource.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.io.InputStream; 4 | import net.minecraft.client.resources.data.IMetadataSection; 5 | 6 | public interface IResource 7 | { 8 | InputStream getInputStream(); 9 | 10 | boolean hasMetadata(); 11 | 12 | IMetadataSection getMetadata(String var1); 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/IResourceManager.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.io.IOException; 4 | import java.util.List; 5 | import java.util.Set; 6 | import net.minecraft.util.ResourceLocation; 7 | 8 | public interface IResourceManager 9 | { 10 | Set getResourceDomains(); 11 | 12 | IResource getResource(ResourceLocation var1) throws IOException; 13 | 14 | List getAllResources(ResourceLocation var1) throws IOException; 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/IResourceManagerReloadListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | public interface IResourceManagerReloadListener 4 | { 5 | void onResourceManagerReload(IResourceManager var1); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/IResourcePack.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.awt.image.BufferedImage; 4 | import java.io.IOException; 5 | import java.io.InputStream; 6 | import java.util.Set; 7 | import net.minecraft.client.resources.data.IMetadataSection; 8 | import net.minecraft.client.resources.data.IMetadataSerializer; 9 | import net.minecraft.util.ResourceLocation; 10 | 11 | public interface IResourcePack 12 | { 13 | InputStream getInputStream(ResourceLocation var1) throws IOException; 14 | 15 | boolean resourceExists(ResourceLocation var1); 16 | 17 | Set getResourceDomains(); 18 | 19 | IMetadataSection getPackMetadata(IMetadataSerializer var1, String var2) throws IOException; 20 | 21 | BufferedImage getPackImage() throws IOException; 22 | 23 | String getPackName(); 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/ResourcePackFileNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources; 2 | 3 | import java.io.File; 4 | import java.io.FileNotFoundException; 5 | 6 | public class ResourcePackFileNotFoundException extends FileNotFoundException 7 | { 8 | private static final String __OBFID = "CL_00001086"; 9 | 10 | public ResourcePackFileNotFoundException(File par1File, String par2Str) 11 | { 12 | super(String.format("\'%s\' in ResourcePack \'%s\'", new Object[] {par2Str, par1File})); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/AnimationFrame.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | public class AnimationFrame 4 | { 5 | private final int frameIndex; 6 | private final int frameTime; 7 | private static final String __OBFID = "CL_00001104"; 8 | 9 | public AnimationFrame(int par1) 10 | { 11 | this(par1, -1); 12 | } 13 | 14 | public AnimationFrame(int par1, int par2) 15 | { 16 | this.frameIndex = par1; 17 | this.frameTime = par2; 18 | } 19 | 20 | public boolean hasNoTime() 21 | { 22 | return this.frameTime == -1; 23 | } 24 | 25 | public int getFrameTime() 26 | { 27 | return this.frameTime; 28 | } 29 | 30 | public int getFrameIndex() 31 | { 32 | return this.frameIndex; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/BaseMetadataSectionSerializer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | public abstract class BaseMetadataSectionSerializer implements IMetadataSectionSerializer 4 | { 5 | private static final String __OBFID = "CL_00001098"; 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/FontMetadataSection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | public class FontMetadataSection implements IMetadataSection 4 | { 5 | private final float[] charWidths; 6 | private final float[] charLefts; 7 | private final float[] charSpacings; 8 | private static final String __OBFID = "CL_00001108"; 9 | 10 | public FontMetadataSection(float[] par1ArrayOfFloat, float[] par2ArrayOfFloat, float[] par3ArrayOfFloat) 11 | { 12 | this.charWidths = par1ArrayOfFloat; 13 | this.charLefts = par2ArrayOfFloat; 14 | this.charSpacings = par3ArrayOfFloat; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/IMetadataSection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | public interface IMetadataSection 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/IMetadataSectionSerializer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | import com.google.gson.JsonDeserializer; 4 | 5 | public interface IMetadataSectionSerializer extends JsonDeserializer 6 | { 7 | /** 8 | * The name of this section type as it appears in JSON. 9 | */ 10 | String getSectionName(); 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/LanguageMetadataSection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | import java.util.Collection; 4 | 5 | public class LanguageMetadataSection implements IMetadataSection 6 | { 7 | private final Collection languages; 8 | private static final String __OBFID = "CL_00001110"; 9 | 10 | public LanguageMetadataSection(Collection par1Collection) 11 | { 12 | this.languages = par1Collection; 13 | } 14 | 15 | public Collection getLanguages() 16 | { 17 | return this.languages; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/PackMetadataSection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | public class PackMetadataSection implements IMetadataSection 4 | { 5 | private final String packDescription; 6 | private final int packFormat; 7 | private static final String __OBFID = "CL_00001112"; 8 | 9 | public PackMetadataSection(String par1Str, int par2) 10 | { 11 | this.packDescription = par1Str; 12 | this.packFormat = par2; 13 | } 14 | 15 | public String getPackDescription() 16 | { 17 | return this.packDescription; 18 | } 19 | 20 | public int getPackFormat() 21 | { 22 | return this.packFormat; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/client/resources/data/TextureMetadataSection.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.resources.data; 2 | 3 | import java.util.Collections; 4 | import java.util.List; 5 | 6 | public class TextureMetadataSection implements IMetadataSection 7 | { 8 | private final boolean textureBlur; 9 | private final boolean textureClamp; 10 | private final List field_148536_c; 11 | private static final String __OBFID = "CL_00001114"; 12 | 13 | public TextureMetadataSection(boolean p_i45102_1_, boolean p_i45102_2_, List p_i45102_3_) 14 | { 15 | this.textureBlur = p_i45102_1_; 16 | this.textureClamp = p_i45102_2_; 17 | this.field_148536_c = p_i45102_3_; 18 | } 19 | 20 | public boolean getTextureBlur() 21 | { 22 | return this.textureBlur; 23 | } 24 | 25 | public boolean getTextureClamp() 26 | { 27 | return this.textureClamp; 28 | } 29 | 30 | public List func_148535_c() 31 | { 32 | return Collections.unmodifiableList(this.field_148536_c); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/client/util/RenderDistanceSorter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.client.util; 2 | 3 | import com.google.common.collect.ComparisonChain; 4 | import java.util.Comparator; 5 | import net.minecraft.client.renderer.RenderList; 6 | 7 | public class RenderDistanceSorter implements Comparator 8 | { 9 | private static final String __OBFID = "CL_00000945"; 10 | 11 | public int compare(RenderList p_147714_1_, RenderList p_147714_2_) 12 | { 13 | int var3 = p_147714_2_.renderChunkX * p_147714_2_.renderChunkX + p_147714_2_.renderChunkY * p_147714_2_.renderChunkY + p_147714_2_.renderChunkZ * p_147714_2_.renderChunkZ; 14 | int var4 = p_147714_1_.renderChunkX * p_147714_1_.renderChunkX + p_147714_1_.renderChunkY * p_147714_1_.renderChunkY + p_147714_1_.renderChunkZ * p_147714_1_.renderChunkZ; 15 | return ComparisonChain.start().compare(var3, var4).result(); 16 | } 17 | 18 | public int compare(Object par1Obj, Object par2Obj) 19 | { 20 | return this.compare((RenderList)par1Obj, (RenderList)par2Obj); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/command/CommandException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class CommandException extends RuntimeException 4 | { 5 | private Object[] errorObjects; 6 | private static final String __OBFID = "CL_00001187"; 7 | 8 | public CommandException(String par1Str, Object ... par2ArrayOfObj) 9 | { 10 | super(par1Str); 11 | this.errorObjects = par2ArrayOfObj; 12 | } 13 | 14 | public Object[] getErrorOjbects() 15 | { 16 | return this.errorObjects; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/command/CommandNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class CommandNotFoundException extends CommandException 4 | { 5 | private static final String __OBFID = "CL_00001191"; 6 | 7 | public CommandNotFoundException() 8 | { 9 | this("commands.generic.notFound", new Object[0]); 10 | } 11 | 12 | public CommandNotFoundException(String par1Str, Object ... par2ArrayOfObj) 13 | { 14 | super(par1Str, par2ArrayOfObj); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/command/IAdminCommand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public interface IAdminCommand 4 | { 5 | /** 6 | * Sends a message to the admins of the server from a given CommandSender with the given resource string and given 7 | * extra srings. If the int par2 is even or zero, the original sender is also notified. 8 | */ 9 | void notifyAdmins(ICommandSender var1, int var2, String var3, Object ... var4); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/command/ICommand.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | import java.util.List; 4 | 5 | public interface ICommand extends Comparable 6 | { 7 | String getCommandName(); 8 | 9 | String getCommandUsage(ICommandSender var1); 10 | 11 | List getCommandAliases(); 12 | 13 | void processCommand(ICommandSender var1, String[] var2); 14 | 15 | /** 16 | * Returns true if the given command sender is allowed to use this command. 17 | */ 18 | boolean canCommandSenderUseCommand(ICommandSender var1); 19 | 20 | /** 21 | * Adds the strings available in this command to the given list of tab completion options. 22 | */ 23 | List addTabCompletionOptions(ICommandSender var1, String[] var2); 24 | 25 | /** 26 | * Return whether the specified command parameter index is a username parameter. 27 | */ 28 | boolean isUsernameIndex(String[] var1, int var2); 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/command/ICommandManager.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface ICommandManager 7 | { 8 | int executeCommand(ICommandSender var1, String var2); 9 | 10 | /** 11 | * Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use. 12 | */ 13 | List getPossibleCommands(ICommandSender var1, String var2); 14 | 15 | /** 16 | * returns all commands that the commandSender can use 17 | */ 18 | List getPossibleCommands(ICommandSender var1); 19 | 20 | /** 21 | * returns a map of string to commads. All commands are returned, not just ones which someone has permission to use. 22 | */ 23 | Map getCommands(); 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/command/NumberInvalidException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class NumberInvalidException extends CommandException 4 | { 5 | private static final String __OBFID = "CL_00001188"; 6 | 7 | public NumberInvalidException() 8 | { 9 | this("commands.generic.num.invalid", new Object[0]); 10 | } 11 | 12 | public NumberInvalidException(String par1Str, Object ... par2ArrayOfObj) 13 | { 14 | super(par1Str, par2ArrayOfObj); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/command/PlayerNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class PlayerNotFoundException extends CommandException 4 | { 5 | private static final String __OBFID = "CL_00001190"; 6 | 7 | public PlayerNotFoundException() 8 | { 9 | this("commands.generic.player.notFound", new Object[0]); 10 | } 11 | 12 | public PlayerNotFoundException(String par1Str, Object ... par2ArrayOfObj) 13 | { 14 | super(par1Str, par2ArrayOfObj); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/command/SyntaxErrorException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class SyntaxErrorException extends CommandException 4 | { 5 | private static final String __OBFID = "CL_00001189"; 6 | 7 | public SyntaxErrorException() 8 | { 9 | this("commands.generic.snytax", new Object[0]); 10 | } 11 | 12 | public SyntaxErrorException(String par1Str, Object ... par2ArrayOfObj) 13 | { 14 | super(par1Str, par2ArrayOfObj); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/command/WrongUsageException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command; 2 | 3 | public class WrongUsageException extends SyntaxErrorException 4 | { 5 | private static final String __OBFID = "CL_00001192"; 6 | 7 | public WrongUsageException(String par1Str, Object ... par2ArrayOfObj) 8 | { 9 | super(par1Str, par2ArrayOfObj); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/command/server/CommandStop.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.command.server; 2 | 3 | import net.minecraft.command.CommandBase; 4 | import net.minecraft.command.ICommandSender; 5 | import net.minecraft.server.MinecraftServer; 6 | 7 | public class CommandStop extends CommandBase 8 | { 9 | private static final String __OBFID = "CL_00001132"; 10 | 11 | public String getCommandName() 12 | { 13 | return "stop"; 14 | } 15 | 16 | public String getCommandUsage(ICommandSender par1ICommandSender) 17 | { 18 | return "commands.stop.usage"; 19 | } 20 | 21 | public void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr) 22 | { 23 | notifyAdmins(par1ICommandSender, "commands.stop.start", new Object[0]); 24 | MinecraftServer.getServer().initiateShutdown(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/IBehaviorDispenseItem.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface IBehaviorDispenseItem 6 | { 7 | IBehaviorDispenseItem itemDispenseBehaviorProvider = new IBehaviorDispenseItem() 8 | { 9 | private static final String __OBFID = "CL_00001200"; 10 | public ItemStack dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack) 11 | { 12 | return par2ItemStack; 13 | } 14 | }; 15 | 16 | /** 17 | * Dispenses the specified ItemStack from a dispenser. 18 | */ 19 | ItemStack dispense(IBlockSource var1, ItemStack var2); 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/IBlockSource.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | import net.minecraft.tileentity.TileEntity; 4 | 5 | public interface IBlockSource extends ILocatableSource 6 | { 7 | double getX(); 8 | 9 | double getY(); 10 | 11 | double getZ(); 12 | 13 | int getXInt(); 14 | 15 | int getYInt(); 16 | 17 | int getZInt(); 18 | 19 | int getBlockMetadata(); 20 | 21 | TileEntity getBlockTileEntity(); 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/ILocatableSource.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | public interface ILocatableSource extends ILocation 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/ILocation.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public interface ILocation extends IPosition 6 | { 7 | World getWorld(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/IPosition.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | public interface IPosition 4 | { 5 | double getX(); 6 | 7 | double getY(); 8 | 9 | double getZ(); 10 | } 11 | -------------------------------------------------------------------------------- /net/minecraft/dispenser/PositionImpl.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.dispenser; 2 | 3 | public class PositionImpl implements IPosition 4 | { 5 | protected final double x; 6 | protected final double y; 7 | protected final double z; 8 | private static final String __OBFID = "CL_00001208"; 9 | 10 | public PositionImpl(double par1, double par3, double par5) 11 | { 12 | this.x = par1; 13 | this.y = par3; 14 | this.z = par5; 15 | } 16 | 17 | public double getX() 18 | { 19 | return this.x; 20 | } 21 | 22 | public double getY() 23 | { 24 | return this.y; 25 | } 26 | 27 | public double getZ() 28 | { 29 | return this.z; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentArrowFire.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentArrowFire extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000099"; 6 | 7 | public EnchantmentArrowFire(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.bow); 10 | this.setName("arrowFire"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 20; 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return 50; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 1; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentArrowInfinite.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentArrowInfinite extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000100"; 6 | 7 | public EnchantmentArrowInfinite(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.bow); 10 | this.setName("arrowInfinite"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 20; 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return 50; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 1; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | import net.minecraft.util.WeightedRandom; 4 | 5 | public class EnchantmentData extends WeightedRandom.Item 6 | { 7 | /** Enchantment object associated with this EnchantmentData */ 8 | public final Enchantment enchantmentobj; 9 | 10 | /** Enchantment level associated with this EnchantmentData */ 11 | public final int enchantmentLevel; 12 | private static final String __OBFID = "CL_00000115"; 13 | 14 | public EnchantmentData(Enchantment par1Enchantment, int par2) 15 | { 16 | super(par1Enchantment.getWeight()); 17 | this.enchantmentobj = par1Enchantment; 18 | this.enchantmentLevel = par2; 19 | } 20 | 21 | public EnchantmentData(int par1, int par2) 22 | { 23 | this(Enchantment.enchantmentsList[par1], par2); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentFireAspect.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentFireAspect extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000116"; 6 | 7 | protected EnchantmentFireAspect(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.weapon); 10 | this.setName("fire"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 10 + 20 * (par1 - 1); 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return super.getMinEnchantability(par1) + 50; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 2; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentKnockback.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentKnockback extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000118"; 6 | 7 | protected EnchantmentKnockback(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.weapon); 10 | this.setName("knockback"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 5 + 20 * (par1 - 1); 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return super.getMinEnchantability(par1) + 50; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 2; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentOxygen.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentOxygen extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000120"; 6 | 7 | public EnchantmentOxygen(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.armor_head); 10 | this.setName("oxygen"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 10 * par1; 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return this.getMinEnchantability(par1) + 30; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 3; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/enchantment/EnchantmentWaterWorker.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.enchantment; 2 | 3 | public class EnchantmentWaterWorker extends Enchantment 4 | { 5 | private static final String __OBFID = "CL_00000124"; 6 | 7 | public EnchantmentWaterWorker(int par1, int par2) 8 | { 9 | super(par1, par2, EnumEnchantmentType.armor_head); 10 | this.setName("waterWorker"); 11 | } 12 | 13 | /** 14 | * Returns the minimal value of enchantability needed on the enchantment level passed. 15 | */ 16 | public int getMinEnchantability(int par1) 17 | { 18 | return 1; 19 | } 20 | 21 | /** 22 | * Returns the maximum value of enchantability nedded on the enchantment level passed. 23 | */ 24 | public int getMaxEnchantability(int par1) 25 | { 26 | return this.getMinEnchantability(par1) + 40; 27 | } 28 | 29 | /** 30 | * Returns the maximum level that the enchantment can have. 31 | */ 32 | public int getMaxLevel() 33 | { 34 | return 1; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /net/minecraft/entity/EnumCreatureAttribute.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | public enum EnumCreatureAttribute 4 | { 5 | UNDEFINED, 6 | UNDEAD, 7 | ARTHROPOD; 8 | private static final String __OBFID = "CL_00001553"; 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/entity/IEntityLivingData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | public interface IEntityLivingData 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/entity/IEntityMultiPart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | import net.minecraft.entity.boss.EntityDragonPart; 4 | import net.minecraft.util.DamageSource; 5 | import net.minecraft.world.World; 6 | 7 | public interface IEntityMultiPart 8 | { 9 | World func_82194_d(); 10 | 11 | boolean attackEntityFromPart(EntityDragonPart var1, DamageSource var2, float var3); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/entity/IEntityOwnable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | public interface IEntityOwnable 4 | { 5 | String getOwnerName(); 6 | 7 | Entity getOwner(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/entity/IMerchant.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.item.ItemStack; 5 | import net.minecraft.village.MerchantRecipe; 6 | import net.minecraft.village.MerchantRecipeList; 7 | 8 | public interface IMerchant 9 | { 10 | void setCustomer(EntityPlayer var1); 11 | 12 | EntityPlayer getCustomer(); 13 | 14 | MerchantRecipeList getRecipes(EntityPlayer var1); 15 | 16 | void setRecipes(MerchantRecipeList var1); 17 | 18 | void useRecipe(MerchantRecipe var1); 19 | 20 | void func_110297_a_(ItemStack var1); 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/entity/INpc.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | import net.minecraft.entity.passive.IAnimals; 4 | 5 | public interface INpc extends IAnimals 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /net/minecraft/entity/IProjectile.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | public interface IProjectile 4 | { 5 | /** 6 | * Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction. 7 | */ 8 | void setThrowableHeading(double var1, double var3, double var5, float var7, float var8); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/entity/IRangedAttackMob.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity; 2 | 3 | public interface IRangedAttackMob 4 | { 5 | /** 6 | * Attack the specified entity using a ranged attack. 7 | */ 8 | void attackEntityWithRangedAttack(EntityLivingBase var1, float var2); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityAILookAtTradePlayer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.passive.EntityVillager; 4 | import net.minecraft.entity.player.EntityPlayer; 5 | 6 | public class EntityAILookAtTradePlayer extends EntityAIWatchClosest 7 | { 8 | private final EntityVillager theMerchant; 9 | private static final String __OBFID = "CL_00001593"; 10 | 11 | public EntityAILookAtTradePlayer(EntityVillager par1EntityVillager) 12 | { 13 | super(par1EntityVillager, EntityPlayer.class, 8.0F); 14 | this.theMerchant = par1EntityVillager; 15 | } 16 | 17 | /** 18 | * Returns whether the EntityAIBase should begin execution. 19 | */ 20 | public boolean shouldExecute() 21 | { 22 | if (this.theMerchant.isTrading()) 23 | { 24 | this.closestEntity = this.theMerchant.getCustomer(); 25 | return true; 26 | } 27 | else 28 | { 29 | return false; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityAIRestrictSun.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.EntityCreature; 4 | 5 | public class EntityAIRestrictSun extends EntityAIBase 6 | { 7 | private EntityCreature theEntity; 8 | private static final String __OBFID = "CL_00001611"; 9 | 10 | public EntityAIRestrictSun(EntityCreature par1EntityCreature) 11 | { 12 | this.theEntity = par1EntityCreature; 13 | } 14 | 15 | /** 16 | * Returns whether the EntityAIBase should begin execution. 17 | */ 18 | public boolean shouldExecute() 19 | { 20 | return this.theEntity.worldObj.isDaytime(); 21 | } 22 | 23 | /** 24 | * Execute a one shot task or start executing a continuous task 25 | */ 26 | public void startExecuting() 27 | { 28 | this.theEntity.getNavigator().setAvoidSun(true); 29 | } 30 | 31 | /** 32 | * Resets the task 33 | */ 34 | public void resetTask() 35 | { 36 | this.theEntity.getNavigator().setAvoidSun(false); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityAISwimming.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | 5 | public class EntityAISwimming extends EntityAIBase 6 | { 7 | private EntityLiving theEntity; 8 | private static final String __OBFID = "CL_00001584"; 9 | 10 | public EntityAISwimming(EntityLiving par1EntityLiving) 11 | { 12 | this.theEntity = par1EntityLiving; 13 | this.setMutexBits(4); 14 | par1EntityLiving.getNavigator().setCanSwim(true); 15 | } 16 | 17 | /** 18 | * Returns whether the EntityAIBase should begin execution. 19 | */ 20 | public boolean shouldExecute() 21 | { 22 | return this.theEntity.isInWater() || this.theEntity.handleLavaMovement(); 23 | } 24 | 25 | /** 26 | * Updates the task 27 | */ 28 | public void updateTask() 29 | { 30 | if (this.theEntity.getRNG().nextFloat() < 0.8F) 31 | { 32 | this.theEntity.getJumpHelper().setJumping(); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityAITargetNonTamed.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.passive.EntityTameable; 4 | 5 | public class EntityAITargetNonTamed extends EntityAINearestAttackableTarget 6 | { 7 | private EntityTameable theTameable; 8 | private static final String __OBFID = "CL_00001623"; 9 | 10 | public EntityAITargetNonTamed(EntityTameable par1EntityTameable, Class par2Class, int par3, boolean par4) 11 | { 12 | super(par1EntityTameable, par2Class, par3, par4); 13 | this.theTameable = par1EntityTameable; 14 | } 15 | 16 | /** 17 | * Returns whether the EntityAIBase should begin execution. 18 | */ 19 | public boolean shouldExecute() 20 | { 21 | return !this.theTameable.isTamed() && super.shouldExecute(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityAIWatchClosest2.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | 5 | public class EntityAIWatchClosest2 extends EntityAIWatchClosest 6 | { 7 | private static final String __OBFID = "CL_00001590"; 8 | 9 | public EntityAIWatchClosest2(EntityLiving par1EntityLiving, Class par2Class, float par3, float par4) 10 | { 11 | super(par1EntityLiving, par2Class, par3, par4); 12 | this.setMutexBits(3); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/EntityJumpHelper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | 5 | public class EntityJumpHelper 6 | { 7 | private EntityLiving entity; 8 | private boolean isJumping; 9 | private static final String __OBFID = "CL_00001571"; 10 | 11 | public EntityJumpHelper(EntityLiving par1EntityLiving) 12 | { 13 | this.entity = par1EntityLiving; 14 | } 15 | 16 | public void setJumping() 17 | { 18 | this.isJumping = true; 19 | } 20 | 21 | /** 22 | * Called to actually make the entity jump if isJumping is true. 23 | */ 24 | public void doJump() 25 | { 26 | this.entity.setJumping(this.isJumping); 27 | this.isJumping = false; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/attributes/IAttribute.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai.attributes; 2 | 3 | public interface IAttribute 4 | { 5 | String getAttributeUnlocalizedName(); 6 | 7 | double clampValue(double var1); 8 | 9 | double getDefaultValue(); 10 | 11 | boolean getShouldWatch(); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/entity/ai/attributes/IAttributeInstance.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.ai.attributes; 2 | 3 | import java.util.Collection; 4 | import java.util.UUID; 5 | 6 | public interface IAttributeInstance 7 | { 8 | /** 9 | * Get the Attribute this is an instance of 10 | */ 11 | IAttribute getAttribute(); 12 | 13 | double getBaseValue(); 14 | 15 | void setBaseValue(double var1); 16 | 17 | Collection func_111122_c(); 18 | 19 | /** 20 | * Returns attribute modifier, if any, by the given UUID 21 | */ 22 | AttributeModifier getModifier(UUID var1); 23 | 24 | void applyModifier(AttributeModifier var1); 25 | 26 | void removeModifier(AttributeModifier var1); 27 | 28 | void removeAllModifiers(); 29 | 30 | double getAttributeValue(); 31 | } 32 | -------------------------------------------------------------------------------- /net/minecraft/entity/boss/BossStatus.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.boss; 2 | 3 | public final class BossStatus 4 | { 5 | public static float healthScale; 6 | public static int statusBarTime; 7 | public static String bossName; 8 | public static boolean hasColorModifier; 9 | private static final String __OBFID = "CL_00000941"; 10 | 11 | public static void setBossStatus(IBossDisplayData par0IBossDisplayData, boolean par1) 12 | { 13 | healthScale = par0IBossDisplayData.getHealth() / par0IBossDisplayData.getMaxHealth(); 14 | statusBarTime = 100; 15 | bossName = par0IBossDisplayData.func_145748_c_().getFormattedText(); 16 | hasColorModifier = par1; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/entity/boss/IBossDisplayData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.boss; 2 | 3 | import net.minecraft.util.IChatComponent; 4 | 5 | public interface IBossDisplayData 6 | { 7 | float getMaxHealth(); 8 | 9 | float getHealth(); 10 | 11 | IChatComponent func_145748_c_(); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/entity/effect/EntityWeatherEffect.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.effect; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.world.World; 5 | 6 | public abstract class EntityWeatherEffect extends Entity 7 | { 8 | private static final String __OBFID = "CL_00001665"; 9 | 10 | public EntityWeatherEffect(World par1World) 11 | { 12 | super(par1World); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/entity/monster/IMob.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.monster; 2 | 3 | import net.minecraft.command.IEntitySelector; 4 | import net.minecraft.entity.Entity; 5 | import net.minecraft.entity.passive.IAnimals; 6 | 7 | public interface IMob extends IAnimals 8 | { 9 | /** Entity selector for IMob types. */ 10 | IEntitySelector mobSelector = new IEntitySelector() 11 | { 12 | private static final String __OBFID = "CL_00001688"; 13 | public boolean isEntityApplicable(Entity par1Entity) 14 | { 15 | return par1Entity instanceof IMob; 16 | } 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/entity/passive/EntityAmbientCreature.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.passive; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | import net.minecraft.entity.player.EntityPlayer; 5 | import net.minecraft.world.World; 6 | 7 | public abstract class EntityAmbientCreature extends EntityLiving implements IAnimals 8 | { 9 | private static final String __OBFID = "CL_00001636"; 10 | 11 | public EntityAmbientCreature(World par1World) 12 | { 13 | super(par1World); 14 | } 15 | 16 | public boolean allowLeashing() 17 | { 18 | return false; 19 | } 20 | 21 | /** 22 | * Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig. 23 | */ 24 | protected boolean interact(EntityPlayer par1EntityPlayer) 25 | { 26 | return false; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/entity/passive/IAnimals.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.entity.passive; 2 | 3 | public interface IAnimals 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/inventory/AnimalChest.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.inventory; 2 | 3 | public class AnimalChest extends InventoryBasic 4 | { 5 | private static final String __OBFID = "CL_00001731"; 6 | 7 | public AnimalChest(String par1Str, int par2) 8 | { 9 | super(par1Str, false, par2); 10 | } 11 | 12 | public AnimalChest(String par1Str, boolean par2, int par3) 13 | { 14 | super(par1Str, par2, par3); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/inventory/ICrafting.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.inventory; 2 | 3 | import java.util.List; 4 | import net.minecraft.item.ItemStack; 5 | 6 | public interface ICrafting 7 | { 8 | void sendContainerAndContentsToPlayer(Container var1, List var2); 9 | 10 | /** 11 | * Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual 12 | * contents of that slot. Args: Container, slot number, slot contents 13 | */ 14 | void sendSlotContents(Container var1, int var2, ItemStack var3); 15 | 16 | /** 17 | * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress, 18 | * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new 19 | * value. Both are truncated to shorts in non-local SMP. 20 | */ 21 | void sendProgressBarUpdate(Container var1, int var2, int var3); 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/inventory/IInvBasic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.inventory; 2 | 3 | public interface IInvBasic 4 | { 5 | /** 6 | * Called by InventoryBasic.onInventoryChanged() on a array that is never filled. 7 | */ 8 | void onInventoryChanged(InventoryBasic var1); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/inventory/ISidedInventory.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.inventory; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface ISidedInventory extends IInventory 6 | { 7 | /** 8 | * Returns an array containing the indices of the slots that can be accessed by automation on the given side of this 9 | * block. 10 | */ 11 | int[] getAccessibleSlotsFromSide(int var1); 12 | 13 | /** 14 | * Returns true if automation can insert the given item in the given slot from the given side. Args: Slot, item, 15 | * side 16 | */ 17 | boolean canInsertItem(int var1, ItemStack var2, int var3); 18 | 19 | /** 20 | * Returns true if automation can extract the given item in the given slot from the given side. Args: Slot, item, 21 | * side 22 | */ 23 | boolean canExtractItem(int var1, ItemStack var2, int var3); 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/item/EnumAction.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | public enum EnumAction 4 | { 5 | none, 6 | eat, 7 | drink, 8 | block, 9 | bow; 10 | private static final String __OBFID = "CL_00000073"; 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/item/EnumRarity.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.util.EnumChatFormatting; 4 | 5 | public enum EnumRarity 6 | { 7 | common(EnumChatFormatting.WHITE, "Common"), 8 | uncommon(EnumChatFormatting.YELLOW, "Uncommon"), 9 | rare(EnumChatFormatting.AQUA, "Rare"), 10 | epic(EnumChatFormatting.LIGHT_PURPLE, "Epic"); 11 | 12 | /** 13 | * A decimal representation of the hex color codes of a the color assigned to this rarity type. (13 becomes d as in 14 | * \247d which is light purple) 15 | */ 16 | public final EnumChatFormatting rarityColor; 17 | 18 | /** Rarity name. */ 19 | public final String rarityName; 20 | private static final String __OBFID = "CL_00000056"; 21 | 22 | private EnumRarity(EnumChatFormatting p_i45349_3_, String p_i45349_4_) 23 | { 24 | this.rarityColor = p_i45349_3_; 25 | this.rarityName = p_i45349_4_; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemAnvilBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.block.Block; 4 | import net.minecraft.block.BlockAnvil; 5 | 6 | public class ItemAnvilBlock extends ItemMultiTexture 7 | { 8 | private static final String __OBFID = "CL_00001764"; 9 | 10 | public ItemAnvilBlock(Block par1Block) 11 | { 12 | super(par1Block, par1Block, BlockAnvil.field_149834_a); 13 | } 14 | 15 | /** 16 | * Returns the metadata of the block which this Item (ItemBlock) can place 17 | */ 18 | public int getMetadata(int par1) 19 | { 20 | return par1 << 2; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemAxe.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import com.google.common.collect.Sets; 4 | import java.util.Set; 5 | import net.minecraft.block.Block; 6 | import net.minecraft.block.material.Material; 7 | import net.minecraft.init.Blocks; 8 | 9 | public class ItemAxe extends ItemTool 10 | { 11 | private static final Set field_150917_c = Sets.newHashSet(new Block[] {Blocks.planks, Blocks.bookshelf, Blocks.log, Blocks.log2, Blocks.chest, Blocks.pumpkin, Blocks.lit_pumpkin}); 12 | private static final String __OBFID = "CL_00001770"; 13 | 14 | protected ItemAxe(Item.ToolMaterial p_i45327_1_) 15 | { 16 | super(3.0F, p_i45327_1_, field_150917_c); 17 | } 18 | 19 | public float func_150893_a(ItemStack p_150893_1_, Block p_150893_2_) 20 | { 21 | return p_150893_2_.getMaterial() != Material.wood && p_150893_2_.getMaterial() != Material.plants && p_150893_2_.getMaterial() != Material.vine ? super.func_150893_a(p_150893_1_, p_150893_2_) : this.efficiencyOnProperMaterial; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemBlockWithMetadata.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.block.Block; 4 | import net.minecraft.util.IIcon; 5 | 6 | public class ItemBlockWithMetadata extends ItemBlock 7 | { 8 | private Block field_150950_b; 9 | private static final String __OBFID = "CL_00001769"; 10 | 11 | public ItemBlockWithMetadata(Block p_i45326_1_, Block p_i45326_2_) 12 | { 13 | super(p_i45326_1_); 14 | this.field_150950_b = p_i45326_2_; 15 | this.setMaxDamage(0); 16 | this.setHasSubtypes(true); 17 | } 18 | 19 | /** 20 | * Gets an icon index based on an item's damage value 21 | */ 22 | public IIcon getIconFromDamage(int par1) 23 | { 24 | return this.field_150950_b.getIcon(2, par1); 25 | } 26 | 27 | /** 28 | * Returns the metadata of the block which this Item (ItemBlock) can place 29 | */ 30 | public int getMetadata(int par1) 31 | { 32 | return par1; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemBook.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | public class ItemBook extends Item 4 | { 5 | private static final String __OBFID = "CL_00001775"; 6 | 7 | /** 8 | * Checks isDamagable and if it cannot be stacked 9 | */ 10 | public boolean isItemTool(ItemStack par1ItemStack) 11 | { 12 | return par1ItemStack.stackSize == 1; 13 | } 14 | 15 | /** 16 | * Return the enchantability factor of the item, most of the time is based on material. 17 | */ 18 | public int getItemEnchantability() 19 | { 20 | return 1; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemMapBase.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.network.Packet; 5 | import net.minecraft.world.World; 6 | 7 | public class ItemMapBase extends Item 8 | { 9 | private static final String __OBFID = "CL_00000004"; 10 | 11 | /** 12 | * false for all Items except sub-classes of ItemMapBase 13 | */ 14 | public boolean isMap() 15 | { 16 | return true; 17 | } 18 | 19 | public Packet func_150911_c(ItemStack p_150911_1_, World p_150911_2_, EntityPlayer p_150911_3_) 20 | { 21 | return null; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemPiston.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.block.Block; 4 | 5 | public class ItemPiston extends ItemBlock 6 | { 7 | private static final String __OBFID = "CL_00000054"; 8 | 9 | public ItemPiston(Block p_i45348_1_) 10 | { 11 | super(p_i45348_1_); 12 | } 13 | 14 | /** 15 | * Returns the metadata of the block which this Item (ItemBlock) can place 16 | */ 17 | public int getMetadata(int par1) 18 | { 19 | return 7; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemSimpleFoiled.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | public class ItemSimpleFoiled extends Item 4 | { 5 | private static final String __OBFID = "CL_00000065"; 6 | 7 | public boolean hasEffect(ItemStack par1ItemStack) 8 | { 9 | return true; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemSoup.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.init.Items; 5 | import net.minecraft.world.World; 6 | 7 | public class ItemSoup extends ItemFood 8 | { 9 | private static final String __OBFID = "CL_00001778"; 10 | 11 | public ItemSoup(int p_i45330_1_) 12 | { 13 | super(p_i45330_1_, false); 14 | this.setMaxStackSize(1); 15 | } 16 | 17 | public ItemStack onEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) 18 | { 19 | super.onEaten(par1ItemStack, par2World, par3EntityPlayer); 20 | return new ItemStack(Items.bowl); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/item/ItemSpade.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item; 2 | 3 | import com.google.common.collect.Sets; 4 | import java.util.Set; 5 | import net.minecraft.block.Block; 6 | import net.minecraft.init.Blocks; 7 | 8 | public class ItemSpade extends ItemTool 9 | { 10 | private static final Set field_150916_c = Sets.newHashSet(new Block[] {Blocks.grass, Blocks.dirt, Blocks.sand, Blocks.gravel, Blocks.snow_layer, Blocks.snow, Blocks.clay, Blocks.farmland, Blocks.soul_sand, Blocks.mycelium}); 11 | private static final String __OBFID = "CL_00000063"; 12 | 13 | public ItemSpade(Item.ToolMaterial p_i45353_1_) 14 | { 15 | super(1.0F, p_i45353_1_, field_150916_c); 16 | } 17 | 18 | public boolean func_150897_b(Block p_150897_1_) 19 | { 20 | return p_150897_1_ == Blocks.snow_layer ? true : p_150897_1_ == Blocks.snow; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/item/crafting/IRecipe.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.item.crafting; 2 | 3 | import net.minecraft.inventory.InventoryCrafting; 4 | import net.minecraft.item.ItemStack; 5 | import net.minecraft.world.World; 6 | 7 | public interface IRecipe 8 | { 9 | /** 10 | * Used to check if a recipe matches current crafting inventory 11 | */ 12 | boolean matches(InventoryCrafting var1, World var2); 13 | 14 | /** 15 | * Returns an Item that is the result of this recipe 16 | */ 17 | ItemStack getCraftingResult(InventoryCrafting var1); 18 | 19 | /** 20 | * Returns the size of the recipe area 21 | */ 22 | int getRecipeSize(); 23 | 24 | ItemStack getRecipeOutput(); 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/nbt/NBTException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.nbt; 2 | 3 | public class NBTException extends Exception 4 | { 5 | private static final String __OBFID = "CL_00001231"; 6 | 7 | public NBTException(String p_i45136_1_) 8 | { 9 | super(p_i45136_1_); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/nbt/NBTTagEnd.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.nbt; 2 | 3 | import java.io.DataInput; 4 | import java.io.DataOutput; 5 | import java.io.IOException; 6 | 7 | public class NBTTagEnd extends NBTBase 8 | { 9 | private static final String __OBFID = "CL_00001219"; 10 | 11 | /** 12 | * Read the actual data contents of the tag, implemented in NBT extension classes 13 | */ 14 | void load(DataInput par1DataInput, int par2) throws IOException {} 15 | 16 | /** 17 | * Write the actual data contents of the tag, implemented in NBT extension classes 18 | */ 19 | void write(DataOutput par1DataOutput) throws IOException {} 20 | 21 | /** 22 | * Gets the type byte for the tag. 23 | */ 24 | public byte getId() 25 | { 26 | return (byte)0; 27 | } 28 | 29 | public String toString() 30 | { 31 | return "END"; 32 | } 33 | 34 | /** 35 | * Creates a clone of the tag. 36 | */ 37 | public NBTBase copy() 38 | { 39 | return new NBTTagEnd(); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /net/minecraft/network/INetHandler.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network; 2 | 3 | import net.minecraft.util.IChatComponent; 4 | 5 | public interface INetHandler 6 | { 7 | /** 8 | * Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination 9 | */ 10 | void onDisconnect(IChatComponent var1); 11 | 12 | /** 13 | * Allows validation of the connection state transition. Parameters: from, to (connection state). Typically throws 14 | * IllegalStateException or UnsupportedOperationException if validation fails 15 | */ 16 | void onConnectionStateTransition(EnumConnectionState var1, EnumConnectionState var2); 17 | 18 | /** 19 | * For scheduled network tasks. Used in NetHandlerPlayServer to send keep-alive packets and in NetHandlerLoginServer 20 | * for a login-timeout 21 | */ 22 | void onNetworkTick(); 23 | } 24 | -------------------------------------------------------------------------------- /net/minecraft/network/handshake/INetHandlerHandshakeServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network.handshake; 2 | 3 | import net.minecraft.network.INetHandler; 4 | import net.minecraft.network.handshake.client.C00Handshake; 5 | 6 | public interface INetHandlerHandshakeServer extends INetHandler 7 | { 8 | /** 9 | * There are two recognized intentions for initiating a handshake: logging in and acquiring server status. The 10 | * NetworkManager's protocol will be reconfigured according to the specified intention, although a login-intention 11 | * must pass a versioncheck or receive a disconnect otherwise 12 | */ 13 | void processHandshake(C00Handshake var1); 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/network/login/INetHandlerLoginClient.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network.login; 2 | 3 | import net.minecraft.network.INetHandler; 4 | import net.minecraft.network.login.server.S00PacketDisconnect; 5 | import net.minecraft.network.login.server.S01PacketEncryptionRequest; 6 | import net.minecraft.network.login.server.S02PacketLoginSuccess; 7 | 8 | public interface INetHandlerLoginClient extends INetHandler 9 | { 10 | void handleEncryptionRequest(S01PacketEncryptionRequest var1); 11 | 12 | void handleLoginSuccess(S02PacketLoginSuccess var1); 13 | 14 | void handleDisconnect(S00PacketDisconnect var1); 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/network/login/INetHandlerLoginServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network.login; 2 | 3 | import net.minecraft.network.INetHandler; 4 | import net.minecraft.network.login.client.C00PacketLoginStart; 5 | import net.minecraft.network.login.client.C01PacketEncryptionResponse; 6 | 7 | public interface INetHandlerLoginServer extends INetHandler 8 | { 9 | void processLoginStart(C00PacketLoginStart var1); 10 | 11 | void processEncryptionResponse(C01PacketEncryptionResponse var1); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/network/status/INetHandlerStatusClient.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network.status; 2 | 3 | import net.minecraft.network.INetHandler; 4 | import net.minecraft.network.status.server.S00PacketServerInfo; 5 | import net.minecraft.network.status.server.S01PacketPong; 6 | 7 | public interface INetHandlerStatusClient extends INetHandler 8 | { 9 | void handleServerInfo(S00PacketServerInfo var1); 10 | 11 | void handlePong(S01PacketPong var1); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/network/status/INetHandlerStatusServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.network.status; 2 | 3 | import net.minecraft.network.INetHandler; 4 | import net.minecraft.network.status.client.C00PacketServerQuery; 5 | import net.minecraft.network.status.client.C01PacketPing; 6 | 7 | public interface INetHandlerStatusServer extends INetHandler 8 | { 9 | void processPing(C01PacketPing var1); 10 | 11 | void processServerQuery(C00PacketServerQuery var1); 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/potion/PotionAttackDamage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.potion; 2 | 3 | import net.minecraft.entity.ai.attributes.AttributeModifier; 4 | 5 | public class PotionAttackDamage extends Potion 6 | { 7 | private static final String __OBFID = "CL_00001525"; 8 | 9 | protected PotionAttackDamage(int par1, boolean par2, int par3) 10 | { 11 | super(par1, par2, par3); 12 | } 13 | 14 | public double func_111183_a(int par1, AttributeModifier par2AttributeModifier) 15 | { 16 | return this.id == Potion.weakness.id ? (double)(-0.5F * (float)(par1 + 1)) : 1.3D * (double)(par1 + 1); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /net/minecraft/potion/PotionHealth.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.potion; 2 | 3 | public class PotionHealth extends Potion 4 | { 5 | private static final String __OBFID = "CL_00001527"; 6 | 7 | public PotionHealth(int par1, boolean par2, int par3) 8 | { 9 | super(par1, par2, par3); 10 | } 11 | 12 | /** 13 | * Returns true if the potion has an instant effect instead of a continuous one (eg Harming) 14 | */ 15 | public boolean isInstant() 16 | { 17 | return true; 18 | } 19 | 20 | /** 21 | * checks if Potion effect is ready to be applied this tick. 22 | */ 23 | public boolean isReady(int par1, int par2) 24 | { 25 | return par1 >= 1; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/potion/PotionHealthBoost.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.potion; 2 | 3 | import net.minecraft.entity.EntityLivingBase; 4 | import net.minecraft.entity.ai.attributes.BaseAttributeMap; 5 | 6 | public class PotionHealthBoost extends Potion 7 | { 8 | private static final String __OBFID = "CL_00001526"; 9 | 10 | public PotionHealthBoost(int par1, boolean par2, int par3) 11 | { 12 | super(par1, par2, par3); 13 | } 14 | 15 | public void removeAttributesModifiersFromEntity(EntityLivingBase par1EntityLivingBase, BaseAttributeMap par2BaseAttributeMap, int par3) 16 | { 17 | super.removeAttributesModifiersFromEntity(par1EntityLivingBase, par2BaseAttributeMap, par3); 18 | 19 | if (par1EntityLivingBase.getHealth() > par1EntityLivingBase.getMaxHealth()) 20 | { 21 | par1EntityLivingBase.setHealth(par1EntityLivingBase.getMaxHealth()); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/profiler/IPlayerUsage.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.profiler; 2 | 3 | public interface IPlayerUsage 4 | { 5 | void addServerStatsToSnooper(PlayerUsageSnooper var1); 6 | 7 | void addServerTypeToSnooper(PlayerUsageSnooper var1); 8 | 9 | /** 10 | * Returns whether snooping is enabled or not. 11 | */ 12 | boolean isSnooperEnabled(); 13 | } 14 | -------------------------------------------------------------------------------- /net/minecraft/scoreboard/IScoreObjectiveCriteria.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.scoreboard; 2 | 3 | import java.util.HashMap; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public interface IScoreObjectiveCriteria 8 | { 9 | Map field_96643_a = new HashMap(); 10 | IScoreObjectiveCriteria field_96641_b = new ScoreDummyCriteria("dummy"); 11 | IScoreObjectiveCriteria deathCount = new ScoreDummyCriteria("deathCount"); 12 | IScoreObjectiveCriteria playerKillCount = new ScoreDummyCriteria("playerKillCount"); 13 | IScoreObjectiveCriteria totalKillCount = new ScoreDummyCriteria("totalKillCount"); 14 | IScoreObjectiveCriteria health = new ScoreHealthCriteria("health"); 15 | 16 | String func_96636_a(); 17 | 18 | int func_96635_a(List var1); 19 | 20 | boolean isReadOnly(); 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/scoreboard/ScoreDummyCriteria.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.scoreboard; 2 | 3 | import java.util.List; 4 | 5 | public class ScoreDummyCriteria implements IScoreObjectiveCriteria 6 | { 7 | private final String field_96644_g; 8 | private static final String __OBFID = "CL_00000622"; 9 | 10 | public ScoreDummyCriteria(String par1Str) 11 | { 12 | this.field_96644_g = par1Str; 13 | IScoreObjectiveCriteria.field_96643_a.put(par1Str, this); 14 | } 15 | 16 | public String func_96636_a() 17 | { 18 | return this.field_96644_g; 19 | } 20 | 21 | public int func_96635_a(List par1List) 22 | { 23 | return 0; 24 | } 25 | 26 | public boolean isReadOnly() 27 | { 28 | return false; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/scoreboard/Team.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.scoreboard; 2 | 3 | public abstract class Team 4 | { 5 | private static final String __OBFID = "CL_00000621"; 6 | 7 | /** 8 | * Same as == 9 | */ 10 | public boolean isSameTeam(Team par1Team) 11 | { 12 | return par1Team == null ? false : this == par1Team; 13 | } 14 | 15 | /** 16 | * Retrieve the name by which this team is registered in the scoreboard 17 | */ 18 | public abstract String getRegisteredName(); 19 | 20 | public abstract String func_142053_d(String var1); 21 | 22 | public abstract boolean func_98297_h(); 23 | 24 | public abstract boolean getAllowFriendlyFire(); 25 | } 26 | -------------------------------------------------------------------------------- /net/minecraft/server/gui/IUpdatePlayerListBox.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.server.gui; 2 | 3 | public interface IUpdatePlayerListBox 4 | { 5 | /** 6 | * Updates the JList with a new model. 7 | */ 8 | void update(); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/server/integrated/IntegratedSer#: -------------------------------------------------------------------------------- 1 | *************** 2 | *** 138,144 **** 3 | return true; 4 | } 5 | 6 | - protected void func_71217_p() { 7 | boolean var1 = this.field_71348_o; 8 | this.field_71348_o = Minecraft.func_71410_x().func_147114_u() != null && Minecraft.func_71410_x().func_147113_T(); 9 | if(!var1 && this.field_71348_o) { 10 | --- 138,144 ---- 11 | return true; 12 | } 13 | 14 | + public void func_71217_p() { 15 | boolean var1 = this.field_71348_o; 16 | this.field_71348_o = Minecraft.func_71410_x().func_147114_u() != null && Minecraft.func_71410_x().func_147113_T(); 17 | if(!var1 && this.field_71348_o) { 18 | -------------------------------------------------------------------------------- /net/minecraft/src/CustomAnimationFrame.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | public class CustomAnimationFrame 4 | { 5 | public int index = 0; 6 | public int duration = 0; 7 | public int counter = 0; 8 | 9 | public CustomAnimationFrame(int index, int duration) 10 | { 11 | this.index = index; 12 | this.duration = duration; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/src/IWrUpdateControl.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | public interface IWrUpdateControl 4 | { 5 | void pause(); 6 | 7 | void resume(); 8 | } 9 | -------------------------------------------------------------------------------- /net/minecraft/src/IWrUpdateListener.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | public interface IWrUpdateListener 4 | { 5 | void updating(IWrUpdateControl var1); 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/src/IWrUpdater.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | import java.util.List; 4 | import net.minecraft.client.renderer.RenderGlobal; 5 | import net.minecraft.client.renderer.WorldRenderer; 6 | import net.minecraft.entity.EntityLivingBase; 7 | import net.minecraft.world.World; 8 | 9 | public interface IWrUpdater 10 | { 11 | void initialize(); 12 | 13 | WorldRenderer makeWorldRenderer(World var1, List var2, int var3, int var4, int var5, int var6); 14 | 15 | void preRender(RenderGlobal var1, EntityLivingBase var2); 16 | 17 | void postRender(); 18 | 19 | boolean updateRenderers(RenderGlobal var1, EntityLivingBase var2, boolean var3); 20 | 21 | void resumeBackgroundUpdates(); 22 | 23 | void pauseBackgroundUpdates(); 24 | 25 | void finishCurrentUpdate(); 26 | 27 | void clearAllUpdates(); 28 | 29 | void terminate(); 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/src/VertexData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | public class VertexData 4 | { 5 | public double x; 6 | public double y; 7 | public double z; 8 | public double u; 9 | public double v; 10 | public int color; 11 | public int brightness; 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/src/WrUpdateControl.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | import net.minecraft.client.multiplayer.WorldClient; 4 | import net.minecraft.util.AxisAlignedBB; 5 | 6 | public class WrUpdateControl implements IWrUpdateControl 7 | { 8 | private boolean hasForge; 9 | private int renderPass; 10 | 11 | public WrUpdateControl() 12 | { 13 | this.hasForge = Reflector.ForgeHooksClient.exists(); 14 | this.renderPass = 0; 15 | } 16 | 17 | public void resume() {} 18 | 19 | public void pause() 20 | { 21 | AxisAlignedBB.getAABBPool().cleanPool(); 22 | WorldClient theWorld = Config.getMinecraft().theWorld; 23 | 24 | if (theWorld != null) 25 | { 26 | theWorld.getWorldVec3Pool().clear(); 27 | } 28 | } 29 | 30 | public void setRenderPass(int renderPass) 31 | { 32 | this.renderPass = renderPass; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /net/minecraft/src/WrUpdateState.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.src; 2 | 3 | import java.util.HashSet; 4 | import net.minecraft.client.renderer.RenderBlocks; 5 | import net.minecraft.world.ChunkCache; 6 | 7 | public class WrUpdateState 8 | { 9 | public ChunkCache chunkcache = null; 10 | public RenderBlocks renderblocks = null; 11 | public HashSet setOldEntityRenders = null; 12 | int viewEntityPosX = 0; 13 | int viewEntityPosY = 0; 14 | int viewEntityPosZ = 0; 15 | public int renderPass = 0; 16 | public int y = 0; 17 | public boolean flag = false; 18 | public boolean hasRenderedBlocks = false; 19 | public boolean hasGlList = false; 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/stats/IStatStringFormat.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.stats; 2 | 3 | public interface IStatStringFormat 4 | { 5 | /** 6 | * Formats the strings based on 'IStatStringFormat' interface. 7 | */ 8 | String formatString(String var1); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/stats/IStatType.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.stats; 2 | 3 | public interface IStatType 4 | { 5 | /** 6 | * Formats a given stat for human consumption. 7 | */ 8 | String format(int var1); 9 | } 10 | -------------------------------------------------------------------------------- /net/minecraft/stats/ObjectiveStat.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.stats; 2 | 3 | import net.minecraft.scoreboard.ScoreDummyCriteria; 4 | 5 | public class ObjectiveStat extends ScoreDummyCriteria 6 | { 7 | private final StatBase field_151459_g; 8 | private static final String __OBFID = "CL_00000625"; 9 | 10 | public ObjectiveStat(StatBase p_i45483_1_) 11 | { 12 | super(p_i45483_1_.statId); 13 | this.field_151459_g = p_i45483_1_; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /net/minecraft/stats/StatBasic.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.stats; 2 | 3 | import net.minecraft.util.IChatComponent; 4 | 5 | public class StatBasic extends StatBase 6 | { 7 | private static final String __OBFID = "CL_00001469"; 8 | 9 | public StatBasic(String p_i45303_1_, IChatComponent p_i45303_2_, IStatType p_i45303_3_) 10 | { 11 | super(p_i45303_1_, p_i45303_2_, p_i45303_3_); 12 | } 13 | 14 | public StatBasic(String p_i45304_1_, IChatComponent p_i45304_2_) 15 | { 16 | super(p_i45304_1_, p_i45304_2_); 17 | } 18 | 19 | /** 20 | * Register the stat into StatList. 21 | */ 22 | public StatBase registerStat() 23 | { 24 | super.registerStat(); 25 | StatList.generalStats.add(this); 26 | return this; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /net/minecraft/stats/StatCrafting.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.stats; 2 | 3 | import net.minecraft.item.Item; 4 | import net.minecraft.util.IChatComponent; 5 | 6 | public class StatCrafting extends StatBase 7 | { 8 | private final Item field_150960_a; 9 | private static final String __OBFID = "CL_00001470"; 10 | 11 | public StatCrafting(String p_i45305_1_, IChatComponent p_i45305_2_, Item p_i45305_3_) 12 | { 13 | super(p_i45305_1_, p_i45305_2_); 14 | this.field_150960_a = p_i45305_3_; 15 | } 16 | 17 | public Item func_150959_a() 18 | { 19 | return this.field_150960_a; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/tileentity/IHopper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.tileentity; 2 | 3 | import net.minecraft.inventory.IInventory; 4 | import net.minecraft.world.World; 5 | 6 | public interface IHopper extends IInventory 7 | { 8 | /** 9 | * Returns the worldObj for this tileEntity. 10 | */ 11 | World getWorldObj(); 12 | 13 | /** 14 | * Gets the world X position for this hopper entity. 15 | */ 16 | double getXPos(); 17 | 18 | /** 19 | * Gets the world Y position for this hopper entity. 20 | */ 21 | double getYPos(); 22 | 23 | /** 24 | * Gets the world Z position for this hopper entity. 25 | */ 26 | double getZPos(); 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/tileentity/TileEntityComparator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.tileentity; 2 | 3 | import net.minecraft.nbt.NBTTagCompound; 4 | 5 | public class TileEntityComparator extends TileEntity 6 | { 7 | private int field_145997_a; 8 | private static final String __OBFID = "CL_00000349"; 9 | 10 | public void writeToNBT(NBTTagCompound p_145841_1_) 11 | { 12 | super.writeToNBT(p_145841_1_); 13 | p_145841_1_.setInteger("OutputSignal", this.field_145997_a); 14 | } 15 | 16 | public void readFromNBT(NBTTagCompound p_145839_1_) 17 | { 18 | super.readFromNBT(p_145839_1_); 19 | this.field_145997_a = p_145839_1_.getInteger("OutputSignal"); 20 | } 21 | 22 | public int func_145996_a() 23 | { 24 | return this.field_145997_a; 25 | } 26 | 27 | public void func_145995_a(int p_145995_1_) 28 | { 29 | this.field_145997_a = p_145995_1_; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /net/minecraft/tileentity/TileEntityDaylightDetector.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.tileentity; 2 | 3 | import net.minecraft.block.BlockDaylightDetector; 4 | 5 | public class TileEntityDaylightDetector extends TileEntity 6 | { 7 | private static final String __OBFID = "CL_00000350"; 8 | 9 | public void updateEntity() 10 | { 11 | if (this.worldObj != null && !this.worldObj.isClient && this.worldObj.getTotalWorldTime() % 20L == 0L) 12 | { 13 | this.blockType = this.getBlockType(); 14 | 15 | if (this.blockType instanceof BlockDaylightDetector) 16 | { 17 | ((BlockDaylightDetector)this.blockType).func_149957_e(this.worldObj, this.field_145851_c, this.field_145848_d, this.field_145849_e); 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/tileentity/TileEntityDropper.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.tileentity; 2 | 3 | public class TileEntityDropper extends TileEntityDispenser 4 | { 5 | private static final String __OBFID = "CL_00000353"; 6 | 7 | /** 8 | * Returns the name of the inventory 9 | */ 10 | public String getInventoryName() 11 | { 12 | return this.isInventoryNameLocalized() ? this.field_146020_a : "container.dropper"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/tileentity/TileEntityEndPortal.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.tileentity; 2 | 3 | public class TileEntityEndPortal extends TileEntity 4 | { 5 | private static final String __OBFID = "CL_00000365"; 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/util/ChatComponentTranslationFormatException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class ChatComponentTranslationFormatException extends IllegalArgumentException 4 | { 5 | private static final String __OBFID = "CL_00001271"; 6 | 7 | public ChatComponentTranslationFormatException(ChatComponentTranslation p_i45161_1_, String p_i45161_2_) 8 | { 9 | super(String.format("Error parsing: %s: %s", new Object[] {p_i45161_1_, p_i45161_2_})); 10 | } 11 | 12 | public ChatComponentTranslationFormatException(ChatComponentTranslation p_i45162_1_, int p_i45162_2_) 13 | { 14 | super(String.format("Invalid index %d requested for %s", new Object[] {Integer.valueOf(p_i45162_2_), p_i45162_1_})); 15 | } 16 | 17 | public ChatComponentTranslationFormatException(ChatComponentTranslation p_i45163_1_, Throwable p_i45163_2_) 18 | { 19 | super(String.format("Error while parsing: %s", new Object[] {p_i45163_1_}), p_i45163_2_); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/util/Facing.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class Facing 4 | { 5 | /** 6 | * Converts a side to the opposite side. This is the same as XOR'ing it with 1. 7 | */ 8 | public static final int[] oppositeSide = new int[] {1, 0, 3, 2, 5, 4}; 9 | 10 | /** 11 | * gives the offset required for this axis to get the block at that side. 12 | */ 13 | public static final int[] offsetsXForSide = new int[] {0, 0, 0, 0, -1, 1}; 14 | 15 | /** 16 | * gives the offset required for this axis to get the block at that side. 17 | */ 18 | public static final int[] offsetsYForSide = new int[] { -1, 1, 0, 0, 0, 0}; 19 | 20 | /** 21 | * gives the offset required for this axis to get the block at that side. 22 | */ 23 | public static final int[] offsetsZForSide = new int[] {0, 0, -1, 1, 0, 0}; 24 | public static final String[] facings = new String[] {"DOWN", "UP", "NORTH", "SOUTH", "WEST", "EAST"}; 25 | private static final String __OBFID = "CL_00001532"; 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/util/IJsonSerializable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | import com.google.gson.JsonElement; 4 | 5 | public interface IJsonSerializable 6 | { 7 | /** 8 | * Gets the JsonElement that can be serialized. 9 | */ 10 | JsonElement getSerializableElement(); 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/util/IObjectIntIterable.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public interface IObjectIntIterable extends Iterable 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /net/minecraft/util/IProgressUpdate.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public interface IProgressUpdate 4 | { 5 | /** 6 | * "Saving level", or the loading,or downloading equivelent 7 | */ 8 | void displayProgressMessage(String var1); 9 | 10 | /** 11 | * this string, followed by "working..." and then the "% complete" are the 3 lines shown. This resets progress to 0, 12 | * and the WorkingString to "working...". 13 | */ 14 | void resetProgressAndMessage(String var1); 15 | 16 | /** 17 | * This is called with "Working..." by resetProgressAndMessage 18 | */ 19 | void resetProgresAndWorkingMessage(String var1); 20 | 21 | /** 22 | * Updates the progress bar on the loading screen to the specified amount. Args: loadProgress 23 | */ 24 | void setLoadingProgress(int var1); 25 | 26 | void func_146586_a(); 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/util/IRegistry.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public interface IRegistry 4 | { 5 | Object getObject(Object var1); 6 | 7 | /** 8 | * Register an object on this registry. 9 | */ 10 | void putObject(Object var1, Object var2); 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/util/MinecraftError.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class MinecraftError extends Error 4 | { 5 | private static final String __OBFID = "CL_00000657"; 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/util/MouseFilter.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class MouseFilter 4 | { 5 | private float field_76336_a; 6 | private float field_76334_b; 7 | private float field_76335_c; 8 | private static final String __OBFID = "CL_00001500"; 9 | 10 | /** 11 | * Smooths mouse input 12 | */ 13 | public float smooth(float par1, float par2) 14 | { 15 | this.field_76336_a += par1; 16 | par1 = (this.field_76336_a - this.field_76334_b) * par2; 17 | this.field_76335_c += (par1 - this.field_76335_c) * 0.5F; 18 | 19 | if (par1 > 0.0F && par1 > this.field_76335_c || par1 < 0.0F && par1 < this.field_76335_c) 20 | { 21 | par1 = this.field_76335_c; 22 | } 23 | 24 | this.field_76334_b += par1; 25 | return par1; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/util/MovementInput.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class MovementInput 4 | { 5 | /** 6 | * The speed at which the player is strafing. Postive numbers to the left and negative to the right. 7 | */ 8 | public float moveStrafe; 9 | 10 | /** 11 | * The speed at which the player is moving forward. Negative numbers will move backwards. 12 | */ 13 | public float moveForward; 14 | public boolean jump; 15 | public boolean sneak; 16 | private static final String __OBFID = "CL_00000936"; 17 | 18 | public void updatePlayerMoveState() {} 19 | } 20 | -------------------------------------------------------------------------------- /net/minecraft/util/RegistryDefaulted.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class RegistryDefaulted extends RegistrySimple 4 | { 5 | /** 6 | * Default object for this registry, returned when an object is not found. 7 | */ 8 | private final Object defaultObject; 9 | private static final String __OBFID = "CL_00001198"; 10 | 11 | public RegistryDefaulted(Object par1Obj) 12 | { 13 | this.defaultObject = par1Obj; 14 | } 15 | 16 | public Object getObject(Object par1Obj) 17 | { 18 | Object var2 = super.getObject(par1Obj); 19 | return var2 == null ? this.defaultObject : var2; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/util/ReportedException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | import net.minecraft.crash.CrashReport; 4 | 5 | public class ReportedException extends RuntimeException 6 | { 7 | /** Instance of CrashReport. */ 8 | private final CrashReport theReportedExceptionCrashReport; 9 | private static final String __OBFID = "CL_00001579"; 10 | 11 | public ReportedException(CrashReport par1CrashReport) 12 | { 13 | this.theReportedExceptionCrashReport = par1CrashReport; 14 | } 15 | 16 | /** 17 | * Gets the CrashReport wrapped by this exception. 18 | */ 19 | public CrashReport getCrashReport() 20 | { 21 | return this.theReportedExceptionCrashReport; 22 | } 23 | 24 | public Throwable getCause() 25 | { 26 | return this.theReportedExceptionCrashReport.getCrashCause(); 27 | } 28 | 29 | public String getMessage() 30 | { 31 | return this.theReportedExceptionCrashReport.getDescription(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /net/minecraft/util/Tuple.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.util; 2 | 3 | public class Tuple 4 | { 5 | /** First Object in the Tuple */ 6 | private Object first; 7 | 8 | /** Second Object in the Tuple */ 9 | private Object second; 10 | private static final String __OBFID = "CL_00001502"; 11 | 12 | public Tuple(Object par1Obj, Object par2Obj) 13 | { 14 | this.first = par1Obj; 15 | this.second = par2Obj; 16 | } 17 | 18 | /** 19 | * Get the first Object in the Tuple 20 | */ 21 | public Object getFirst() 22 | { 23 | return this.first; 24 | } 25 | 26 | /** 27 | * Get the second Object in the Tuple 28 | */ 29 | public Object getSecond() 30 | { 31 | return this.second; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /net/minecraft/world/ColorizerGrass.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world; 2 | 3 | public class ColorizerGrass 4 | { 5 | /** Color buffer for grass */ 6 | private static int[] grassBuffer = new int[65536]; 7 | private static final String __OBFID = "CL_00000138"; 8 | 9 | public static void setGrassBiomeColorizer(int[] par0ArrayOfInteger) 10 | { 11 | grassBuffer = par0ArrayOfInteger; 12 | } 13 | 14 | /** 15 | * Gets grass color from temperature and humidity. Args: temperature, humidity 16 | */ 17 | public static int getGrassColor(double par0, double par2) 18 | { 19 | par2 *= par0; 20 | int var4 = (int)((1.0D - par0) * 255.0D); 21 | int var5 = (int)((1.0D - par2) * 255.0D); 22 | return grassBuffer[var5 << 8 | var4]; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/world/EnumSkyBlock.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world; 2 | 3 | public enum EnumSkyBlock 4 | { 5 | Sky(15), 6 | Block(0); 7 | public final int defaultLightValue; 8 | private static final String __OBFID = "CL_00000151"; 9 | 10 | private EnumSkyBlock(int par3) 11 | { 12 | this.defaultLightValue = par3; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/world/MinecraftException.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world; 2 | 3 | public class MinecraftException extends Exception 4 | { 5 | private static final String __OBFID = "CL_00000145"; 6 | 7 | public MinecraftException(String par1Str) 8 | { 9 | super(par1Str); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /net/minecraft/world/WorldProviderSurface.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world; 2 | 3 | public class WorldProviderSurface extends WorldProvider 4 | { 5 | private static final String __OBFID = "CL_00000388"; 6 | 7 | /** 8 | * Returns the dimension's name, e.g. "The End", "Nether", or "Overworld". 9 | */ 10 | public String getDimensionName() 11 | { 12 | return "Overworld"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /net/minecraft/world/WorldServerMulti.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world; 2 | 3 | import net.minecraft.profiler.Profiler; 4 | import net.minecraft.server.MinecraftServer; 5 | import net.minecraft.world.storage.DerivedWorldInfo; 6 | import net.minecraft.world.storage.ISaveHandler; 7 | 8 | public class WorldServerMulti extends WorldServer 9 | { 10 | private static final String __OBFID = "CL_00001430"; 11 | 12 | public WorldServerMulti(MinecraftServer p_i45283_1_, ISaveHandler p_i45283_2_, String p_i45283_3_, int p_i45283_4_, WorldSettings p_i45283_5_, WorldServer p_i45283_6_, Profiler p_i45283_7_) 13 | { 14 | super(p_i45283_1_, p_i45283_2_, p_i45283_3_, p_i45283_4_, p_i45283_5_, p_i45283_7_); 15 | this.mapStorage = p_i45283_6_.mapStorage; 16 | this.worldScoreboard = p_i45283_6_.getScoreboard(); 17 | this.worldInfo = new DerivedWorldInfo(p_i45283_6_.getWorldInfo()); 18 | } 19 | 20 | /** 21 | * Saves the chunks to disk. 22 | */ 23 | public void saveLevel() throws MinecraftException {} 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenBeach.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import net.minecraft.init.Blocks; 4 | 5 | public class BiomeGenBeach extends BiomeGenBase 6 | { 7 | private static final String __OBFID = "CL_00000157"; 8 | 9 | public BiomeGenBeach(int par1) 10 | { 11 | super(par1); 12 | this.spawnableCreatureList.clear(); 13 | this.topBlock = Blocks.sand; 14 | this.fillerBlock = Blocks.sand; 15 | this.theBiomeDecorator.treesPerChunk = -999; 16 | this.theBiomeDecorator.deadBushPerChunk = 0; 17 | this.theBiomeDecorator.reedsPerChunk = 0; 18 | this.theBiomeDecorator.cactiPerChunk = 0; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenEnd.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import net.minecraft.entity.monster.EntityEnderman; 4 | import net.minecraft.init.Blocks; 5 | 6 | public class BiomeGenEnd extends BiomeGenBase 7 | { 8 | private static final String __OBFID = "CL_00000187"; 9 | 10 | public BiomeGenEnd(int par1) 11 | { 12 | super(par1); 13 | this.spawnableMonsterList.clear(); 14 | this.spawnableCreatureList.clear(); 15 | this.spawnableWaterCreatureList.clear(); 16 | this.spawnableCaveCreatureList.clear(); 17 | this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 4, 4)); 18 | this.topBlock = Blocks.dirt; 19 | this.fillerBlock = Blocks.dirt; 20 | this.theBiomeDecorator = new BiomeEndDecorator(); 21 | } 22 | 23 | /** 24 | * takes temperature, returns color 25 | */ 26 | public int getSkyColorByTemp(float par1) 27 | { 28 | return 0; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenHell.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import net.minecraft.entity.monster.EntityGhast; 4 | import net.minecraft.entity.monster.EntityMagmaCube; 5 | import net.minecraft.entity.monster.EntityPigZombie; 6 | 7 | public class BiomeGenHell extends BiomeGenBase 8 | { 9 | private static final String __OBFID = "CL_00000173"; 10 | 11 | public BiomeGenHell(int par1) 12 | { 13 | super(par1); 14 | this.spawnableMonsterList.clear(); 15 | this.spawnableCreatureList.clear(); 16 | this.spawnableWaterCreatureList.clear(); 17 | this.spawnableCaveCreatureList.clear(); 18 | this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityGhast.class, 50, 4, 4)); 19 | this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); 20 | this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenMushroomIsland.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import net.minecraft.entity.passive.EntityMooshroom; 4 | import net.minecraft.init.Blocks; 5 | 6 | public class BiomeGenMushroomIsland extends BiomeGenBase 7 | { 8 | private static final String __OBFID = "CL_00000177"; 9 | 10 | public BiomeGenMushroomIsland(int par1) 11 | { 12 | super(par1); 13 | this.theBiomeDecorator.treesPerChunk = -100; 14 | this.theBiomeDecorator.flowersPerChunk = -100; 15 | this.theBiomeDecorator.grassPerChunk = -100; 16 | this.theBiomeDecorator.mushroomsPerChunk = 1; 17 | this.theBiomeDecorator.bigMushroomsPerChunk = 1; 18 | this.topBlock = Blocks.mycelium; 19 | this.spawnableMonsterList.clear(); 20 | this.spawnableCreatureList.clear(); 21 | this.spawnableWaterCreatureList.clear(); 22 | this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityMooshroom.class, 8, 4, 8)); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenOcean.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.Block; 5 | import net.minecraft.world.World; 6 | 7 | public class BiomeGenOcean extends BiomeGenBase 8 | { 9 | private static final String __OBFID = "CL_00000179"; 10 | 11 | public BiomeGenOcean(int par1) 12 | { 13 | super(par1); 14 | this.spawnableCreatureList.clear(); 15 | } 16 | 17 | public BiomeGenBase.TempCategory func_150561_m() 18 | { 19 | return BiomeGenBase.TempCategory.OCEAN; 20 | } 21 | 22 | public void func_150573_a(World p_150573_1_, Random p_150573_2_, Block[] p_150573_3_, byte[] p_150573_4_, int p_150573_5_, int p_150573_6_, double p_150573_7_) 23 | { 24 | super.func_150573_a(p_150573_1_, p_150573_2_, p_150573_3_, p_150573_4_, p_150573_5_, p_150573_6_, p_150573_7_); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenRiver.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | public class BiomeGenRiver extends BiomeGenBase 4 | { 5 | private static final String __OBFID = "CL_00000181"; 6 | 7 | public BiomeGenRiver(int par1) 8 | { 9 | super(par1); 10 | this.spawnableCreatureList.clear(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /net/minecraft/world/biome/BiomeGenStoneBeach.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.biome; 2 | 3 | import net.minecraft.init.Blocks; 4 | 5 | public class BiomeGenStoneBeach extends BiomeGenBase 6 | { 7 | private static final String __OBFID = "CL_00000184"; 8 | 9 | public BiomeGenStoneBeach(int p_i45384_1_) 10 | { 11 | super(p_i45384_1_); 12 | this.spawnableCreatureList.clear(); 13 | this.topBlock = Blocks.stone; 14 | this.fillerBlock = Blocks.stone; 15 | this.theBiomeDecorator.treesPerChunk = -999; 16 | this.theBiomeDecorator.deadBushPerChunk = 0; 17 | this.theBiomeDecorator.reedsPerChunk = 0; 18 | this.theBiomeDecorator.cactiPerChunk = 0; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/world/chunk/storage/NibbleArrayReader.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.chunk.storage; 2 | 3 | public class NibbleArrayReader 4 | { 5 | public final byte[] data; 6 | private final int depthBits; 7 | private final int depthBitsPlusFour; 8 | private static final String __OBFID = "CL_00000376"; 9 | 10 | public NibbleArrayReader(byte[] par1ArrayOfByte, int par2) 11 | { 12 | this.data = par1ArrayOfByte; 13 | this.depthBits = par2; 14 | this.depthBitsPlusFour = par2 + 4; 15 | } 16 | 17 | public int get(int par1, int par2, int par3) 18 | { 19 | int var4 = par1 << this.depthBitsPlusFour | par3 << this.depthBits | par2; 20 | int var5 = var4 >> 1; 21 | int var6 = var4 & 1; 22 | return var6 == 0 ? this.data[var5] & 15 : this.data[var5] >> 4 & 15; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/world/demo/DemoWorldServer.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.demo; 2 | 3 | import net.minecraft.profiler.Profiler; 4 | import net.minecraft.server.MinecraftServer; 5 | import net.minecraft.world.WorldServer; 6 | import net.minecraft.world.WorldSettings; 7 | import net.minecraft.world.WorldType; 8 | import net.minecraft.world.storage.ISaveHandler; 9 | 10 | public class DemoWorldServer extends WorldServer 11 | { 12 | private static final long demoWorldSeed = (long)"North Carolina".hashCode(); 13 | public static final WorldSettings demoWorldSettings = (new WorldSettings(demoWorldSeed, WorldSettings.GameType.SURVIVAL, true, false, WorldType.DEFAULT)).enableBonusChest(); 14 | private static final String __OBFID = "CL_00001428"; 15 | 16 | public DemoWorldServer(MinecraftServer p_i45282_1_, ISaveHandler p_i45282_2_, String p_i45282_3_, int p_i45282_4_, Profiler p_i45282_5_) 17 | { 18 | super(p_i45282_1_, p_i45282_2_, p_i45282_3_, p_i45282_4_, demoWorldSettings, p_i45282_5_); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/NoiseGenerator.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen; 2 | 3 | public abstract class NoiseGenerator 4 | { 5 | private static final String __OBFID = "CL_00000538"; 6 | } 7 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/feature/WorldGenAbstractTree.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen.feature; 2 | 3 | import java.util.Random; 4 | import net.minecraft.block.Block; 5 | import net.minecraft.block.material.Material; 6 | import net.minecraft.init.Blocks; 7 | import net.minecraft.world.World; 8 | 9 | public abstract class WorldGenAbstractTree extends WorldGenerator 10 | { 11 | private static final String __OBFID = "CL_00000399"; 12 | 13 | public WorldGenAbstractTree(boolean p_i45448_1_) 14 | { 15 | super(p_i45448_1_); 16 | } 17 | 18 | protected boolean func_150523_a(Block p_150523_1_) 19 | { 20 | return p_150523_1_.getMaterial() == Material.air || p_150523_1_.getMaterial() == Material.leaves || p_150523_1_ == Blocks.grass || p_150523_1_ == Blocks.dirt || p_150523_1_ == Blocks.log || p_150523_1_ == Blocks.log2 || p_150523_1_ == Blocks.sapling || p_150523_1_ == Blocks.vine; 21 | } 22 | 23 | public void func_150524_b(World p_150524_1_, Random p_150524_2_, int p_150524_3_, int p_150524_4_, int p_150524_5_) {} 24 | } 25 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/feature/WorldGenFire.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen.feature; 2 | 3 | import java.util.Random; 4 | import net.minecraft.init.Blocks; 5 | import net.minecraft.world.World; 6 | 7 | public class WorldGenFire extends WorldGenerator 8 | { 9 | private static final String __OBFID = "CL_00000412"; 10 | 11 | public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5) 12 | { 13 | for (int var6 = 0; var6 < 64; ++var6) 14 | { 15 | int var7 = par3 + par2Random.nextInt(8) - par2Random.nextInt(8); 16 | int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4); 17 | int var9 = par5 + par2Random.nextInt(8) - par2Random.nextInt(8); 18 | 19 | if (par1World.isAirBlock(var7, var8, var9) && par1World.getBlock(var7, var8 - 1, var9) == Blocks.netherrack) 20 | { 21 | par1World.setBlock(var7, var8, var9, Blocks.fire, 0, 2); 22 | } 23 | } 24 | 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/feature/WorldGenWaterlily.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen.feature; 2 | 3 | import java.util.Random; 4 | import net.minecraft.init.Blocks; 5 | import net.minecraft.world.World; 6 | 7 | public class WorldGenWaterlily extends WorldGenerator 8 | { 9 | private static final String __OBFID = "CL_00000189"; 10 | 11 | public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5) 12 | { 13 | for (int var6 = 0; var6 < 10; ++var6) 14 | { 15 | int var7 = par3 + par2Random.nextInt(8) - par2Random.nextInt(8); 16 | int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4); 17 | int var9 = par5 + par2Random.nextInt(8) - par2Random.nextInt(8); 18 | 19 | if (par1World.isAirBlock(var7, var8, var9) && Blocks.waterlily.canPlaceBlockAt(par1World, var7, var8, var9)) 20 | { 21 | par1World.setBlock(var7, var8, var9, Blocks.waterlily, 0, 2); 22 | } 23 | } 24 | 25 | return true; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/layer/GenLayerFuzzyZoom.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen.layer; 2 | 3 | public class GenLayerFuzzyZoom extends GenLayerZoom 4 | { 5 | private static final String __OBFID = "CL_00000556"; 6 | 7 | public GenLayerFuzzyZoom(long par1, GenLayer par3GenLayer) 8 | { 9 | super(par1, par3GenLayer); 10 | } 11 | 12 | protected int func_151617_b(int p_151617_1_, int p_151617_2_, int p_151617_3_, int p_151617_4_) 13 | { 14 | return this.func_151619_a(new int[] {p_151617_1_, p_151617_2_, p_151617_3_, p_151617_4_}); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /net/minecraft/world/gen/structure/StructureMineshaftStart.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.gen.structure; 2 | 3 | import java.util.Random; 4 | import net.minecraft.world.World; 5 | 6 | public class StructureMineshaftStart extends StructureStart 7 | { 8 | private static final String __OBFID = "CL_00000450"; 9 | 10 | public StructureMineshaftStart() {} 11 | 12 | public StructureMineshaftStart(World par1World, Random par2Random, int par3, int par4) 13 | { 14 | super(par3, par4); 15 | StructureMineshaftPieces.Room var5 = new StructureMineshaftPieces.Room(0, par2Random, (par3 << 4) + 2, (par4 << 4) + 2); 16 | this.components.add(var5); 17 | var5.buildComponent(var5, this.components, par2Random); 18 | this.updateBoundingBox(); 19 | this.markAvailableHeight(par1World, par2Random, 10); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /net/minecraft/world/storage/IPlayerFileData.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.storage; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.nbt.NBTTagCompound; 5 | 6 | public interface IPlayerFileData 7 | { 8 | /** 9 | * Writes the player data to disk from the specified PlayerEntityMP. 10 | */ 11 | void writePlayerData(EntityPlayer var1); 12 | 13 | /** 14 | * Reads the player data from disk into the specified PlayerEntityMP. 15 | */ 16 | NBTTagCompound readPlayerData(EntityPlayer var1); 17 | 18 | /** 19 | * Returns an array of usernames for which player.dat exists for. 20 | */ 21 | String[] getAvailablePlayerDat(); 22 | } 23 | -------------------------------------------------------------------------------- /net/minecraft/world/storage/IThreadedFileIO.java: -------------------------------------------------------------------------------- 1 | package net.minecraft.world.storage; 2 | 3 | public interface IThreadedFileIO 4 | { 5 | /** 6 | * Returns a boolean stating if the write was unsuccessful. 7 | */ 8 | boolean writeNextIO(); 9 | } 10 | --------------------------------------------------------------------------------