├── libs ├── en_us.jar ├── cmulex.jar ├── freetts.jar ├── mbrola.jar ├── cmu_us_kal.jar ├── freetts-jsapi10.jar ├── ComputerCraft1.75.jar ├── chatter-bot-api-1.3.3.jar └── appliedenergistics2-rv2-beta-8-dev.jar ├── DummyJar-PPP.jar ├── lua ├── barrel │ └── index.json ├── chatBox │ ├── index.json │ └── talk.lua ├── feeder │ ├── index.json │ └── feed.lua ├── speaker │ ├── index.json │ └── speak.lua ├── xp │ └── index.json ├── analyzers │ └── index.json ├── compass │ ├── index.json │ └── getDirection.lua ├── noteBlock │ ├── index.json │ └── sound.lua ├── antenna │ ├── index.json │ └── helmetList.lua ├── peripheralContainer │ ├── index.json │ └── container.lua ├── oreDictionary │ ├── index.json │ └── oreDictionary.lua ├── environmentScanner │ ├── index.json │ ├── biome.lua │ ├── temperature.lua │ └── weather.lua ├── playerSensor │ ├── index.json │ ├── onlinePlayers.lua │ ├── checkClick.lua │ └── nearbyPlayers.lua ├── index.json └── lua.iml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── src ├── main │ ├── resources │ │ ├── assets │ │ │ └── peripheralsplusplus │ │ │ │ ├── textures │ │ │ │ ├── blocks │ │ │ │ │ ├── playerSensor.png.mcmeta │ │ │ │ │ ├── timeSensor.png.mcmeta │ │ │ │ │ ├── tank.png │ │ │ │ │ ├── chatBox.png │ │ │ │ │ ├── meBridge.png │ │ │ │ │ ├── speaker.png │ │ │ │ │ ├── aiChatBox.png │ │ │ │ │ ├── noteBlock.png │ │ │ │ │ ├── rfCharger.png │ │ │ │ │ ├── teleporter.png │ │ │ │ │ ├── timeSensor.png │ │ │ │ │ ├── beeAnalyzer.png │ │ │ │ │ ├── enderNetModem.png │ │ │ │ │ ├── feederUpgrade.png │ │ │ │ │ ├── oreDictionary.png │ │ │ │ │ ├── playerSensor.png │ │ │ │ │ ├── signUpgrade.png │ │ │ │ │ ├── treeAnalyzer.png │ │ │ │ │ ├── gardenerUpgrade.png │ │ │ │ │ ├── playerInterface.png │ │ │ │ │ ├── resupplyStation.png │ │ │ │ │ ├── ridableUpgrade.png │ │ │ │ │ ├── teleporterFront.png │ │ │ │ │ ├── upgradeCompass.png │ │ │ │ │ ├── butterflyAnalyzer.png │ │ │ │ │ ├── chunkLoaderUpgrade.png │ │ │ │ │ ├── environmentScanner.png │ │ │ │ │ ├── interactiveSorter.png │ │ │ │ │ ├── teleporterT2Front.png │ │ │ │ │ ├── enderNetModem_server.png │ │ │ │ │ ├── peripheralContainer.png │ │ │ │ │ └── playerSensor(Static).png │ │ │ │ ├── gui │ │ │ │ │ ├── gui.png │ │ │ │ │ ├── guiAnalyzer.png │ │ │ │ │ ├── guiPermCard.png │ │ │ │ │ ├── guiRocket.png │ │ │ │ │ ├── turtleNEI.png │ │ │ │ │ ├── turtleNEI2.png │ │ │ │ │ ├── guiSatellite.png │ │ │ │ │ └── guiPlayerInterface.png │ │ │ │ ├── items │ │ │ │ │ ├── tank.png │ │ │ │ │ ├── rocket.png │ │ │ │ │ ├── nanoSwarm.png │ │ │ │ │ ├── satellite.png │ │ │ │ │ ├── smartHelmet.png │ │ │ │ │ ├── feederUpgrade.png │ │ │ │ │ ├── motionDetector.png │ │ │ │ │ ├── upgradeCompass.png │ │ │ │ │ ├── permissionsCard.png │ │ │ │ │ ├── resupplyUpgrade.png │ │ │ │ │ ├── chunkLoaderUpgrade.png │ │ │ │ │ └── upgradeBase(this is only for reference, no code actually uses this).png │ │ │ │ └── models │ │ │ │ │ ├── Antenna2.png │ │ │ │ │ ├── turtle.png │ │ │ │ │ ├── CCVillager.png │ │ │ │ │ ├── nanoBotSwarm.png │ │ │ │ │ ├── rocketModel.png │ │ │ │ │ ├── armor │ │ │ │ │ └── smartHelmet.png │ │ │ │ │ └── ridableTurtleModel.png │ │ │ │ └── sounds │ │ │ │ └── Rocket.ogg │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ └── mcmod.info │ └── java │ │ ├── com │ │ ├── gtranslate │ │ │ ├── parsing │ │ │ │ └── Parse.java │ │ │ ├── URLCONSTANTS.java │ │ │ └── text │ │ │ │ └── TextTranslate.java │ │ └── austinv11 │ │ │ └── peripheralsplusplus │ │ │ ├── utils │ │ │ ├── JSONIndex.java │ │ │ └── JSONFileList.java │ │ │ ├── hooks │ │ │ ├── ComputerCraftNotFoundException.java │ │ │ ├── package-info.java │ │ │ └── InvalidUpgradeIDException.java │ │ │ ├── items │ │ │ ├── ItemTank.java │ │ │ ├── ItemFeederUpgrade.java │ │ │ ├── ItemMotionDetector.java │ │ │ ├── ItemResupplyUpgrade.java │ │ │ ├── ItemChunkLoaderUpgrade.java │ │ │ └── ItemPPP.java │ │ │ ├── tiles │ │ │ ├── TileEntityTurtle.java │ │ │ ├── containers │ │ │ │ ├── ContainerResupplyStation.java │ │ │ │ └── ContainerEmpty.java │ │ │ └── TileEntityTeleporterT2.java │ │ │ ├── client │ │ │ └── gui │ │ │ │ └── GuiResupplyStation.java │ │ │ ├── asm │ │ │ └── PeripheralsPlusPlusAccessTransformer.java │ │ │ └── blocks │ │ │ ├── BlockPPP.java │ │ │ └── BlockNote.java │ │ └── cofh │ │ └── api │ │ ├── CoFHAPIProps.java │ │ ├── package-info.java │ │ ├── transport │ │ ├── IEnderAttuned.java │ │ └── package-info.java │ │ ├── tileentity │ │ ├── IPlacedTile.java │ │ ├── package-info.java │ │ ├── IRedstoneCache.java │ │ └── IAugmentable.java │ │ ├── core │ │ ├── package-info.java │ │ ├── IInitializer.java │ │ └── ICustomInventory.java │ │ ├── item │ │ ├── package-info.java │ │ └── IInventoryContainerItem.java │ │ ├── block │ │ └── package-info.java │ │ ├── energy │ │ ├── package-info.java │ │ └── IEnergyConnection.java │ │ ├── world │ │ ├── package-info.java │ │ └── IFeatureHandler.java │ │ ├── inventory │ │ ├── package-info.java │ │ └── IInventoryRetainer.java │ │ └── modhelpers │ │ └── package-info.java └── api │ ├── resources │ └── reference │ │ ├── appeng │ │ └── api │ │ │ ├── me │ │ │ ├── util │ │ │ │ ├── ICraftRequest.java │ │ │ │ ├── ICraftWatcher.java │ │ │ │ ├── IAssemblerCluster.java │ │ │ │ ├── InterfaceCraftingResponse.java │ │ │ │ └── ILocationPattern.java │ │ │ ├── tiles │ │ │ │ ├── ILocateable.java │ │ │ │ ├── IPriorityTile.java │ │ │ │ ├── IFulllyOptionalMETile.java │ │ │ │ ├── IMEPowerStorage.java │ │ │ │ ├── IStorageAware.java │ │ │ │ ├── IGridTeleport.java │ │ │ │ ├── IOptionalMETile.java │ │ │ │ ├── InterfaceCraftingPattern.java │ │ │ │ ├── ICellContainer.java │ │ │ │ ├── IAssemblerPatternProvider.java │ │ │ │ ├── ITileIOCable.java │ │ │ │ ├── IExtendedCellProvider.java │ │ │ │ ├── ICellProvider.java │ │ │ │ ├── IGridMachine.java │ │ │ │ ├── IMultiNetworkBlock.java │ │ │ │ ├── IPushable.java │ │ │ │ ├── IDirectionalMETile.java │ │ │ │ ├── IColoredMETile.java │ │ │ │ └── IAssemblerMB.java │ │ │ └── items │ │ │ │ ├── ILocationPatternItem.java │ │ │ │ ├── IAssemblerPatternItem.java │ │ │ │ ├── IMEPatternItem.java │ │ │ │ └── IStorageCell.java │ │ │ ├── ILocateableRegistry.java │ │ │ ├── IExternalStorageRegistry.java │ │ │ ├── ICellHandler.java │ │ │ ├── exceptions │ │ │ ├── AppEngException.java │ │ │ └── AppEngTileMissingException.java │ │ │ ├── IExternalStorageHandler.java │ │ │ ├── ICellRegistry.java │ │ │ ├── IAETagCompound.java │ │ │ ├── events │ │ │ ├── GridErrorEvent.java │ │ │ ├── GridTileLoadEvent.java │ │ │ ├── GridTileUnloadEvent.java │ │ │ ├── MultiBlockUpdateEvent.java │ │ │ ├── GridTileConnectivityEvent.java │ │ │ ├── LocateableEventAnnounce.java │ │ │ ├── GridPatternUpdateEvent.java │ │ │ └── GridStorageUpdateEvent.java │ │ │ ├── IAppEngGrinderRecipe.java │ │ │ └── IGrinderRecipeManager.java │ │ ├── forestry │ │ └── api │ │ │ ├── circuits │ │ │ ├── ICircuitLibrary.java │ │ │ ├── ICircuitLayout.java │ │ │ ├── ChipsetManager.java │ │ │ ├── ISolderManager.java │ │ │ ├── ICircuitBoard.java │ │ │ └── ICircuit.java │ │ │ ├── storage │ │ │ ├── EnumBackpackType.java │ │ │ └── IBackpackInterface.java │ │ │ ├── core │ │ │ ├── IToolScoop.java │ │ │ ├── INBTTagable.java │ │ │ ├── IStructureLogic.java │ │ │ ├── Tabs.java │ │ │ ├── ITextureManager.java │ │ │ ├── GlobalManager.java │ │ │ ├── ForestryAPI.java │ │ │ └── IIconProvider.java │ │ │ ├── world │ │ │ ├── WorldGenManager.java │ │ │ ├── ITreeGenData.java │ │ │ └── IWorldGenInterface.java │ │ │ ├── arboriculture │ │ │ ├── EnumGrowthConditions.java │ │ │ ├── IArboristTracker.java │ │ │ ├── ILeafTickHandler.java │ │ │ ├── IAlleleFruit.java │ │ │ ├── IAlleleGrowth.java │ │ │ ├── TreeManager.java │ │ │ ├── ITreekeepingMode.java │ │ │ ├── EnumGermlingType.java │ │ │ └── IAlleleLeafEffect.java │ │ │ ├── genetics │ │ │ ├── IAlleleFlowers.java │ │ │ ├── EnumTolerance.java │ │ │ ├── IAlleleFloat.java │ │ │ ├── IAlleleInteger.java │ │ │ ├── ILegacyHandler.java │ │ │ ├── IChromosome.java │ │ │ ├── IEffectData.java │ │ │ ├── IFruitFamily.java │ │ │ └── IGenome.java │ │ │ ├── food │ │ │ ├── BeverageManager.java │ │ │ ├── IIngredientManager.java │ │ │ ├── IBeverageEffect.java │ │ │ └── IInfuserManager.java │ │ │ ├── lepidopterology │ │ │ ├── ILepidopteristTracker.java │ │ │ ├── IButterflyMutation.java │ │ │ ├── IButterflyNursery.java │ │ │ ├── IAlleleButterflyEffect.java │ │ │ └── IEntityButterfly.java │ │ │ ├── recipes │ │ │ ├── IGenericCrate.java │ │ │ ├── IFabricatorManager.java │ │ │ ├── ICraftingProvider.java │ │ │ └── IVariableFermentable.java │ │ │ ├── apiculture │ │ │ ├── EnumBeeChromosome.java │ │ │ ├── EnumBeeType.java │ │ │ ├── FlowerManager.java │ │ │ ├── IBeekeepingLogic.java │ │ │ └── IBeeHousing.java │ │ │ └── farming │ │ │ ├── IFarmComponent.java │ │ │ ├── ICrop.java │ │ │ ├── IFarmInterface.java │ │ │ └── Farmables.java │ │ ├── buildcraft │ │ └── api │ │ │ ├── filler │ │ │ ├── FillerManager.java │ │ │ ├── IFillerRegistry.java │ │ │ └── IFillerPattern.java │ │ │ ├── transport │ │ │ ├── ISolidSideTile.java │ │ │ ├── IPipeTile.java │ │ │ ├── IPipeConnection.java │ │ │ └── IPassiveItemContribution.java │ │ │ ├── core │ │ │ ├── LaserKind.java │ │ │ └── BuildCraftAPI.java │ │ │ └── gates │ │ │ ├── IAction.java │ │ │ ├── IActionReceptor.java │ │ │ └── ITriggerParameter.java │ │ ├── codechicken │ │ ├── core │ │ │ └── Vector3.java │ │ └── wirelessredstone │ │ │ └── core │ │ │ ├── WirelessReceivingDevice.java │ │ │ └── WirelessTransmittingDevice.java │ │ ├── miscperipherals │ │ ├── tile │ │ │ ├── TileTeleporterT2.java │ │ │ ├── TileNote.java │ │ │ ├── TileChatBox.java │ │ │ ├── TileSpeaker.java │ │ │ ├── TileAccelerator.java │ │ │ ├── TileEnergyMeter.java │ │ │ ├── TileGateReader.java │ │ │ ├── TileChargeStationT4.java │ │ │ ├── TileChargeStationT2.java │ │ │ ├── TileSmSender.java │ │ │ ├── TileFireworks.java │ │ │ └── TileNuclearReaderT2.java │ │ ├── util │ │ │ ├── SlotStack.java │ │ │ └── ShapedRecipesExt.java │ │ ├── api │ │ │ ├── ISmEntity.java │ │ │ ├── ISmEntityFactory.java │ │ │ ├── IDataCart.java │ │ │ └── ISmItem.java │ │ ├── asm │ │ │ ├── OwnerInterface.java │ │ │ └── ImplementIfLoaded.java │ │ ├── core │ │ │ └── Module.java │ │ ├── inventory │ │ │ ├── SlotRO.java │ │ │ ├── SlotOutput.java │ │ │ ├── ContainerSingleSlot.java │ │ │ └── SlotControlled.java │ │ ├── speech │ │ │ ├── ISpeechProvider.java │ │ │ └── PriorityComparator.java │ │ ├── external │ │ │ ├── ExtTrackPriming.java │ │ │ └── ExtTrackLauncher.java │ │ └── block │ │ │ └── ItemBlockLanCable.java │ │ ├── mods │ │ ├── tinker │ │ │ └── tconstruct │ │ │ │ └── library │ │ │ │ └── util │ │ │ │ ├── IMasterLogic.java │ │ │ │ ├── IActiveLogic.java │ │ │ │ ├── IToolPart.java │ │ │ │ ├── IServantLogic.java │ │ │ │ ├── IPattern.java │ │ │ │ ├── IFacingLogic.java │ │ │ │ ├── PiercingEntityDamage.java │ │ │ │ └── TabTools.java │ │ └── railcraft │ │ │ └── api │ │ │ ├── signals │ │ │ ├── SignalTools.java │ │ │ ├── IControllerTile.java │ │ │ ├── ISignalPacketBuilder.java │ │ │ ├── IPairEffectRenderer.java │ │ │ └── IReceiverTile.java │ │ │ ├── tracks │ │ │ ├── ITrackTile.java │ │ │ ├── ITrackLockdown.java │ │ │ ├── ITrackReversable.java │ │ │ ├── ITrackBlocksMovement.java │ │ │ ├── ITrackItemIconProvider.java │ │ │ ├── ITrackEmitter.java │ │ │ └── ITrackSwitch.java │ │ │ ├── core │ │ │ ├── INetworkedObject.java │ │ │ ├── IOwnable.java │ │ │ └── ITextureLoader.java │ │ │ ├── crafting │ │ │ ├── ICokeOvenRecipe.java │ │ │ ├── IBlastFurnaceRecipe.java │ │ │ ├── IRockCrusherCraftingManager.java │ │ │ ├── ICokeOvenCraftingManager.java │ │ │ └── RailcraftCraftingManager.java │ │ │ └── carts │ │ │ ├── IPaintedCart.java │ │ │ ├── ICartContentsTextureProvider.java │ │ │ └── IRoutableCart.java │ │ ├── thaumcraft │ │ └── api │ │ │ ├── research │ │ │ └── ResearchPlayer.java │ │ │ ├── EnumNodeType.java │ │ │ └── IVisDiscounter.java │ │ ├── ic2 │ │ └── api │ │ │ ├── reactor │ │ │ └── IReactorChamber.java │ │ │ ├── network │ │ │ ├── INetworkTileEntityEventListener.java │ │ │ ├── INetworkUpdateListener.java │ │ │ ├── INetworkClientTileEntityEventListener.java │ │ │ ├── INetworkItemEventListener.java │ │ │ └── INetworkDataProvider.java │ │ │ ├── energy │ │ │ ├── tile │ │ │ │ ├── IEnergySource.java │ │ │ │ ├── IEnergyTile.java │ │ │ │ ├── IEnergyAcceptor.java │ │ │ │ └── IEnergyEmitter.java │ │ │ └── event │ │ │ │ └── EnergyTileEvent.java │ │ │ └── item │ │ │ └── IBoxable.java │ │ ├── thermalexpansion │ │ └── api │ │ │ ├── tileentity │ │ │ ├── IAccessControl.java │ │ │ └── IRedstoneControl.java │ │ │ └── crafting │ │ │ ├── IFurnaceRecipe.java │ │ │ ├── ICrucibleRecipe.java │ │ │ ├── ISawmillRecipe.java │ │ │ ├── IPulverizerRecipe.java │ │ │ ├── ITransposerRecipe.java │ │ │ └── ISmelterRecipe.java │ │ ├── gregtechmod │ │ └── api │ │ │ ├── IIgnoreRightclickOnMachine.java │ │ │ ├── IGregTechDeviceInformation.java │ │ │ ├── IMachineBlockUpdateable.java │ │ │ └── ICapsuleCellContainer.java │ │ ├── shedar │ │ └── mods │ │ │ └── ic2 │ │ │ └── nuclearcontrol │ │ │ └── api │ │ │ ├── IRemoteSensor.java │ │ │ └── ICardGui.java │ │ └── dan200 │ │ └── computer │ │ └── api │ │ └── IPeripheralHandler.java │ └── java │ ├── forestry │ └── api │ │ ├── circuits │ │ ├── ICircuitLibrary.java │ │ ├── package-info.java │ │ ├── ICircuitLayout.java │ │ ├── ChipsetManager.java │ │ └── ISolderManager.java │ │ ├── storage │ │ ├── EnumBackpackType.java │ │ └── package-info.java │ │ ├── package-info.java │ │ ├── mail │ │ ├── PostManager.java │ │ ├── package-info.java │ │ ├── IPostalState.java │ │ ├── IStamps.java │ │ ├── ILetterHandler.java │ │ └── EnumPostage.java │ │ ├── core │ │ ├── IToolScoop.java │ │ ├── package-info.java │ │ └── INBTTagable.java │ │ ├── food │ │ ├── package-info.java │ │ ├── BeverageManager.java │ │ ├── IIngredientManager.java │ │ └── IBeverageEffect.java │ │ ├── fuels │ │ └── package-info.java │ │ ├── world │ │ ├── WorldGenManager.java │ │ └── package-info.java │ │ ├── farming │ │ ├── package-info.java │ │ └── IFarmComponent.java │ │ ├── genetics │ │ ├── package-info.java │ │ ├── IAlleleFlowers.java │ │ ├── EnumTolerance.java │ │ ├── IAlleleArea.java │ │ ├── IAlleleFloat.java │ │ ├── IAlleleInteger.java │ │ ├── IAlleleBoolean.java │ │ ├── IAlleleTolerance.java │ │ ├── IAllelePlantType.java │ │ └── ILegacyHandler.java │ │ ├── recipes │ │ ├── package-info.java │ │ └── IGenericCrate.java │ │ ├── apiculture │ │ └── package-info.java │ │ ├── arboriculture │ │ ├── EnumGrowthConditions.java │ │ ├── package-info.java │ │ ├── IArboristTracker.java │ │ ├── ILeafTickHandler.java │ │ ├── IAlleleFruit.java │ │ └── IAlleleGrowth.java │ │ └── lepidopterology │ │ ├── package-info.java │ │ ├── EnumFlutterType.java │ │ └── ILepidopteristTracker.java │ └── dan200 │ └── computercraft │ └── api │ ├── lua │ ├── ILuaTask.java │ └── package-info.java │ ├── package-info.java │ ├── media │ └── package-info.java │ ├── turtle │ ├── package-info.java │ └── TurtleAnimation.java │ ├── filesystem │ └── package-info.java │ ├── permissions │ └── package-info.java │ ├── redstone │ └── package-info.java │ └── peripheral │ └── package-info.java ├── .gitignore └── .github ├── PULL_REQUEST_TEMPLATE.md └── ISSUE_TEMPLATE.md /libs/en_us.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/en_us.jar -------------------------------------------------------------------------------- /DummyJar-PPP.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/DummyJar-PPP.jar -------------------------------------------------------------------------------- /libs/cmulex.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/cmulex.jar -------------------------------------------------------------------------------- /libs/freetts.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/freetts.jar -------------------------------------------------------------------------------- /libs/mbrola.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/mbrola.jar -------------------------------------------------------------------------------- /lua/barrel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","barrel.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/chatBox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","talk.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/feeder/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","feed.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/speaker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","speak.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/xp/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","enchanting.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/cmu_us_kal.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/cmu_us_kal.jar -------------------------------------------------------------------------------- /lua/analyzers/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","analyze.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/compass/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","getDirection.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/freetts-jsapi10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/freetts-jsapi10.jar -------------------------------------------------------------------------------- /lua/noteBlock/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","note.lua", "sound.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/ComputerCraft1.75.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/ComputerCraft1.75.jar -------------------------------------------------------------------------------- /lua/antenna/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","helmetList.lua", "helmet.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/peripheralContainer/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","container.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/chatter-bot-api-1.3.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/chatter-bot-api-1.3.3.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/playerSensor.png.mcmeta: -------------------------------------------------------------------------------- 1 | { "animation": { 2 | "frametime":3 3 | }} 4 | -------------------------------------------------------------------------------- /lua/oreDictionary/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","oreDictionary.lua","oreDictionaryTurtle.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/environmentScanner/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","biome.lua","temperature.lua","weather.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /lua/playerSensor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.0", 3 | "files" : ["index.json","checkClick.lua","onlinePlayers.lua","nearbyPlayers.lua"] 4 | } 5 | -------------------------------------------------------------------------------- /libs/appliedenergistics2-rv2-beta-8-dev.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/libs/appliedenergistics2-rv2-beta-8-dev.jar -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/util/ICraftRequest.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.util; 2 | 3 | public interface ICraftRequest { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/timeSensor.png.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "animation": { 3 | "frametime": 3 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ICircuitLibrary.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | public interface ICircuitLibrary { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/storage/EnumBackpackType.java: -------------------------------------------------------------------------------- 1 | package forestry.api.storage; 2 | 3 | public enum EnumBackpackType { 4 | T1, T2 5 | } 6 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/ILocateable.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | public interface ILocateable 4 | { 5 | long getLocatableSerial(); 6 | } 7 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/IToolScoop.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | /** 4 | * Marks a tool as a scoop. 5 | */ 6 | public interface IToolScoop { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/sounds/Rocket.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/sounds/Rocket.ogg -------------------------------------------------------------------------------- /src/main/java/com/gtranslate/parsing/Parse.java: -------------------------------------------------------------------------------- 1 | package com.gtranslate.parsing; 2 | 3 | 4 | public interface Parse { 5 | 6 | void parse(); 7 | 8 | void appendURL(); 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/gui.png -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/filler/FillerManager.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.filler; 2 | 3 | public class FillerManager { 4 | 5 | public static IFillerRegistry registry; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/world/WorldGenManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.world; 2 | 3 | public class WorldGenManager { 4 | public static IWorldGenInterface worldgenInterface; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/tank.png -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/ILocateableRegistry.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | public interface ILocateableRegistry { 4 | 5 | public abstract Object findLocateableBySerial(long ser); 6 | 7 | } -------------------------------------------------------------------------------- /src/api/resources/reference/codechicken/core/Vector3.java: -------------------------------------------------------------------------------- 1 | package codechicken.core; 2 | 3 | public class Vector3 { 4 | public Vector3(double xCoord, double yCoord, double zCoord) { 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/tank.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/rocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/rocket.png -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IPriorityTile.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | public interface IPriorityTile 4 | { 5 | int getPriority(); 6 | void setPriority( int p ); 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/utils/JSONIndex.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.utils; 2 | 3 | public class JSONIndex { 4 | public String ver; 5 | public String[] dirs; 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/chatBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/chatBox.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/meBridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/meBridge.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/speaker.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/guiAnalyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/guiAnalyzer.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/guiPermCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/guiPermCard.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/guiRocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/guiRocket.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/turtleNEI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/turtleNEI.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/turtleNEI2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/turtleNEI2.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/nanoSwarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/nanoSwarm.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/satellite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/satellite.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/Antenna2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/Antenna2.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/turtle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/turtle.png -------------------------------------------------------------------------------- /lua/compass/getDirection.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by austinv11 3 | ]] 4 | p = peripheral.find("compass") --Wrapping the peripheral 5 | print("The turtle is currently facing: "..p.getFacing()) --Printing the direction 6 | -------------------------------------------------------------------------------- /lua/feeder/feed.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | tArgs = {...} 5 | amount = tArgs[1] 6 | p = peripheral.find("feeder") 7 | if p then 8 | for i = 1, amount do 9 | p.feed() 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/EnumGrowthConditions.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | public enum EnumGrowthConditions { 4 | HOSTILE, PALTRY, NORMAL, GOOD, EXCELLENT 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/aiChatBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/aiChatBox.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/noteBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/noteBlock.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/rfCharger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/rfCharger.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporter.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/timeSensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/timeSensor.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/guiSatellite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/guiSatellite.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/smartHelmet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/smartHelmet.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/CCVillager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/CCVillager.png -------------------------------------------------------------------------------- /lua/antenna/helmetList.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("antenna") 5 | if p then 6 | list = p.getPlayers() 7 | for i,k in pairs(list) do 8 | print("-"..k) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/utils/JSONFileList.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.utils; 2 | 3 | public class JSONFileList { 4 | public String ver; 5 | public String[] files; 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | FMLAT: "ppp_at.cfg" 3 | FMLCorePlugin: "com.austinv11.peripheralsplusplus.asm.PeripheralsPlusPlusTransformerPlugin" 4 | FMLCorePluginContainsFMLMod: true 5 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/beeAnalyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/beeAnalyzer.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/enderNetModem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/enderNetModem.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/feederUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/feederUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/oreDictionary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/oreDictionary.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/playerSensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/playerSensor.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/signUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/signUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/treeAnalyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/treeAnalyzer.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/feederUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/feederUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/motionDetector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/motionDetector.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/upgradeCompass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/upgradeCompass.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/nanoBotSwarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/nanoBotSwarm.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/rocketModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/rocketModel.png -------------------------------------------------------------------------------- /lua/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "ver" : "1.1", 3 | "dirs" : ["chatBox", "environmentScanner", "analyzers", "oreDictionary", "barrel", "compass", "feeder", "xp", "speaker", 4 | "noteBlock", "peripheralContainer", "antenna"] 5 | } 6 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/hooks/ComputerCraftNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.hooks; 2 | 3 | public class ComputerCraftNotFoundException extends Exception { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/gardenerUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/gardenerUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/playerInterface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/playerInterface.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/resupplyStation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/resupplyStation.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/ridableUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/ridableUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporterFront.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporterFront.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/upgradeCompass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/upgradeCompass.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/gui/guiPlayerInterface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/gui/guiPlayerInterface.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/permissionsCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/permissionsCard.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/resupplyUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/resupplyUpgrade.png -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/IExternalStorageRegistry.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | public interface IExternalStorageRegistry { 4 | 5 | void addExternalStorageInterface( IExternalStorageHandler ei ); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/items/ILocationPatternItem.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.items; 2 | 3 | /** 4 | * Like IAssemblerPatternItem, not really useful... 5 | */ 6 | public interface ILocationPatternItem { 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/util/ICraftWatcher.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.util; 2 | 3 | public interface ICraftWatcher { 4 | 5 | void markChainCrafted(); 6 | void markComplete( ICraftRequest cr ); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileTeleporterT2.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | public class TileTeleporterT2 extends TileTeleporter { 4 | public TileTeleporterT2() { 5 | super(8); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IMasterLogic.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | public interface IMasterLogic 4 | { 5 | public void notifyChange(int x, int y, int z); 6 | } 7 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/CoFHAPIProps.java: -------------------------------------------------------------------------------- 1 | package cofh.api; 2 | 3 | public class CoFHAPIProps { 4 | 5 | private CoFHAPIProps() { 6 | 7 | } 8 | 9 | public static final String VERSION = "1.7.10R1.0.1"; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/butterflyAnalyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/butterflyAnalyzer.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/chunkLoaderUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/chunkLoaderUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/environmentScanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/environmentScanner.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/interactiveSorter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/interactiveSorter.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporterT2Front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/teleporterT2Front.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/chunkLoaderUpgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/chunkLoaderUpgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/armor/smartHelmet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/armor/smartHelmet.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/models/ridableTurtleModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/models/ridableTurtleModel.png -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/items/IAssemblerPatternItem.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.items; 2 | 3 | /** 4 | * Like ILocationPatternItem, not really useful... 5 | */ 6 | public interface IAssemblerPatternItem 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/enderNetModem_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/enderNetModem_server.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/peripheralContainer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/peripheralContainer.png -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/blocks/playerSensor(Static).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/blocks/playerSensor(Static).png -------------------------------------------------------------------------------- /src/api/resources/reference/codechicken/wirelessredstone/core/WirelessReceivingDevice.java: -------------------------------------------------------------------------------- 1 | package codechicken.wirelessredstone.core; 2 | 3 | public interface WirelessReceivingDevice 4 | { 5 | void updateDevice(int freq, boolean on); 6 | } 7 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/IArboristTracker.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import forestry.api.genetics.IBreedingTracker; 4 | 5 | public interface IArboristTracker extends IBreedingTracker { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IActiveLogic.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | public interface IActiveLogic 4 | { 5 | public boolean getActive(); 6 | public void setActive(boolean flag); 7 | } -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IFulllyOptionalMETile.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | /** 4 | * Cables will disconnect if its not enabled. 5 | */ 6 | public interface IFulllyOptionalMETile extends IOptionalMETile { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ICircuitLayout.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | public interface ICircuitLayout { 4 | 5 | String getUID(); 6 | 7 | String getName(); 8 | 9 | String getUsage(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /lua/environmentScanner/biome.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("environmentScanner") --Wrapping of the peripheral 5 | biome = p.getBiome() --Checking the biome 6 | print("You are in a "..biome.." biome.") --Printing out the biome 7 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IMEPowerStorage.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | public interface IMEPowerStorage { 4 | 5 | boolean useMEEnergy( float use, String for_what ); 6 | // boolean useMEEnergy( float use ); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IStorageAware.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import appeng.api.IItemList; 4 | 5 | public interface IStorageAware { 6 | 7 | void onNetworkInventoryChange( IItemList iss ); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ChipsetManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | public class ChipsetManager { 4 | 5 | public static ISolderManager solderManager; 6 | public static ICircuitRegistry circuitRegistry; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IGridTeleport.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import net.minecraftforge.common.ForgeDirection; 4 | 5 | public interface IGridTeleport 6 | { 7 | IGridTileEntity findRemoteSide( ForgeDirection dir ); 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/transport/ISolidSideTile.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.transport; 2 | 3 | import net.minecraftforge.common.ForgeDirection; 4 | 5 | public interface ISolidSideTile { 6 | public boolean isSolidOnSide(ForgeDirection side); 7 | } 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IToolPart.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface IToolPart 6 | { 7 | public int getMaterialID(ItemStack stack); 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/items/IMEPatternItem.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.items; 2 | 3 | /** 4 | * Some basic actions you can perform on Patterns. 5 | */ 6 | public interface IMEPatternItem { 7 | boolean isEncoded(); 8 | String Type(); 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemTank.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | public class ItemTank extends ItemPPP { 4 | 5 | public ItemTank() { 6 | super(); 7 | this.setUnlocalizedName("tank"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IAlleleFlowers.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | 4 | public interface IAlleleFlowers extends IAllele { 5 | 6 | /** 7 | * @return FlowerProvider 8 | */ 9 | IFlowerProvider getProvider(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 02 15:54:47 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip 7 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ISolderManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface ISolderManager { 6 | 7 | void addRecipe(ICircuitLayout layout, ItemStack resource, ICircuit circuit); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileNote.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralNote; 4 | 5 | public class TileNote extends TilePeripheralWrapper { 6 | public TileNote() { 7 | super(PeripheralNote.class); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/EnumTolerance.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | public enum EnumTolerance { 4 | NONE, 5 | 6 | BOTH_1, BOTH_2, BOTH_3, BOTH_4, BOTH_5, 7 | 8 | UP_1, UP_2, UP_3, UP_4, UP_5, 9 | 10 | DOWN_1, DOWN_2, DOWN_3, DOWN_4, DOWN_5 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHLib", provides = "CoFHAPI") 6 | package cofh.api; 7 | 8 | import cpw.mods.fml.common.API; 9 | 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/INBTTagable.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import net.minecraft.nbt.NBTTagCompound; 4 | 5 | public interface INBTTagable { 6 | void readFromNBT(NBTTagCompound nbttagcompound); 7 | 8 | void writeToNBT(NBTTagCompound nbttagcompound); 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IAlleleFloat.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | /** 4 | * Simple interface to allow adding additional alleles containing float values. 5 | */ 6 | public interface IAlleleFloat extends IAllele { 7 | 8 | float getValue(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IAlleleInteger.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | /** 4 | * Simple interface to allow adding additional alleles containing integer values. 5 | */ 6 | public interface IAlleleInteger extends IAllele { 7 | 8 | int getValue(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemFeederUpgrade.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | public class ItemFeederUpgrade extends ItemPPP { 4 | 5 | public ItemFeederUpgrade() { 6 | super(); 7 | this.setUnlocalizedName("feederUpgrade"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileChatBox.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralChatBox; 4 | 5 | public class TileChatBox extends TilePeripheralWrapper { 6 | public TileChatBox() { 7 | super(PeripheralChatBox.class); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileSpeaker.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralSpeaker; 4 | 5 | public class TileSpeaker extends TilePeripheralWrapper { 6 | public TileSpeaker() { 7 | super(PeripheralSpeaker.class); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemMotionDetector.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | public class ItemMotionDetector extends ItemPPP { 4 | 5 | public ItemMotionDetector() { 6 | super(); 7 | this.setUnlocalizedName("motionDetector"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IOptionalMETile.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | /** 4 | * Cables will connect, but signal will not propagate. ( IFulllyOptionalMETile disconnects ) 5 | */ 6 | public interface IOptionalMETile { 7 | 8 | public boolean isEnabled(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/ILeafTickHandler.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public interface ILeafTickHandler { 6 | boolean onRandomLeafTick(ITree tree, World world, int biomeId, int x, int y, int z, boolean isDestroyed); 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/transport/IEnderAttuned.java: -------------------------------------------------------------------------------- 1 | package cofh.api.transport; 2 | 3 | interface IEnderAttuned { 4 | 5 | public String getChannelString(); 6 | 7 | public int getFrequency(); 8 | 9 | public boolean setFrequency(int frequency); 10 | 11 | public boolean clearFrequency(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemResupplyUpgrade.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | public class ItemResupplyUpgrade extends ItemPPP { 4 | 5 | public ItemResupplyUpgrade() { 6 | super(); 7 | this.setUnlocalizedName("resupplyUpgrade"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lua/playerSensor/onlinePlayers.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("playerSensor") --Wrapping the peripheral 5 | if p then 6 | data = p.getAllPlayers() --Getting all the players currently online 7 | for k,v in pairs(data) do 8 | print(tostring(k)..": "..tostring(v)) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/food/BeverageManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.food; 2 | 3 | public class BeverageManager { 4 | public static IBeverageEffect[] effectList = new IBeverageEffect[128]; 5 | 6 | public static IInfuserManager infuserManager; 7 | public static IIngredientManager ingredientManager; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/lepidopterology/ILepidopteristTracker.java: -------------------------------------------------------------------------------- 1 | package forestry.api.lepidopterology; 2 | 3 | import forestry.api.genetics.IBreedingTracker; 4 | 5 | public interface ILepidopteristTracker extends IBreedingTracker { 6 | 7 | void registerCatch(IButterfly butterfly); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/recipes/IGenericCrate.java: -------------------------------------------------------------------------------- 1 | package forestry.api.recipes; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface IGenericCrate { 6 | 7 | void setContained(ItemStack crate, ItemStack contained); 8 | 9 | ItemStack getContained(ItemStack crate); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemChunkLoaderUpgrade.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | public class ItemChunkLoaderUpgrade extends ItemPPP { 4 | 5 | public ItemChunkLoaderUpgrade() { 6 | super(); 7 | this.setUnlocalizedName("chunkLoaderUpgrade"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/assets/peripheralsplusplus/textures/items/upgradeBase(this is only for reference, no code actually uses this).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/austinv11/PeripheralsPlusPlus/HEAD/src/main/resources/assets/peripheralsplusplus/textures/items/upgradeBase(this is only for reference, no code actually uses this).png -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/InterfaceCraftingPattern.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import java.util.List; 4 | 5 | import net.minecraft.item.ItemStack; 6 | 7 | public class InterfaceCraftingPattern { 8 | 9 | public List Inputs; 10 | public ItemStack Output; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileAccelerator.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralAccelerator; 4 | 5 | public class TileAccelerator extends TilePeripheralWrapper { 6 | public TileAccelerator() { 7 | super(PeripheralAccelerator.class); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileEnergyMeter.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralEnergyMeter; 4 | 5 | public class TileEnergyMeter extends TilePeripheralWrapper { 6 | public TileEnergyMeter() { 7 | super(PeripheralEnergyMeter.class); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/ICellContainer.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import java.util.List; 4 | 5 | import appeng.api.me.util.IMEInventoryHandler; 6 | 7 | public interface ICellContainer { 8 | 9 | List getCellArray(); 10 | 11 | int getPriority(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/food/IIngredientManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.food; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface IIngredientManager { 6 | 7 | String getDescription(ItemStack itemstack); 8 | 9 | void addIngredient(ItemStack ingredient, String description); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/ILegacyHandler.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | /** 4 | * AlleleManager.alleleRegistry can be cast to this type. 5 | */ 6 | public interface ILegacyHandler { 7 | void registerLegacyMapping(int id, String uid); 8 | 9 | IAllele getFromLegacyMap(int id); 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/tileentity/IPlacedTile.java: -------------------------------------------------------------------------------- 1 | package cofh.api.tileentity; 2 | 3 | /** 4 | * Implement this interface on Tile Entities which need to know when they are placed into the world. 5 | * 6 | * @author Zeldo 7 | * 8 | */ 9 | public interface IPlacedTile { 10 | 11 | public void tilePlaced(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/util/IAssemblerCluster.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.util; 2 | 3 | import net.minecraft.tileentity.TileEntity; 4 | 5 | public interface IAssemblerCluster { 6 | 7 | public void cycleCpus(); 8 | void addCraft(); 9 | boolean canCraft(); 10 | TileEntity getAssembler(int i); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/thaumcraft/api/research/ResearchPlayer.java: -------------------------------------------------------------------------------- 1 | package thaumcraft.api.research; 2 | 3 | import java.util.HashMap; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public class ResearchPlayer { 8 | public Map> researchCompleted = new HashMap>(); 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/ICellHandler.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import appeng.api.me.util.IMEInventoryHandler; 5 | 6 | public interface ICellHandler { 7 | 8 | boolean isCell( ItemStack is ); 9 | 10 | IMEInventoryHandler getCellHandler( ItemStack is ); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/exceptions/AppEngException.java: -------------------------------------------------------------------------------- 1 | package appeng.api.exceptions; 2 | 3 | public class AppEngException extends Exception 4 | { 5 | 6 | private static final long serialVersionUID = -9051434206368465494L; 7 | 8 | public AppEngException(String t) 9 | { 10 | super(t); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/util/InterfaceCraftingResponse.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.util; 2 | 3 | import java.util.List; 4 | 5 | import net.minecraft.item.ItemStack; 6 | 7 | public class InterfaceCraftingResponse { 8 | 9 | public ItemStack Request; 10 | 11 | public List UsedMaterials; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/util/ILocationPattern.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.util; 2 | 3 | import appeng.api.WorldCoord; 4 | 5 | /** 6 | * Lets you Access Internal Location Pattern data. 7 | */ 8 | public interface ILocationPattern { 9 | WorldCoord getLocation(); 10 | 11 | void setLocation(int x, int y, int z); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/apiculture/EnumBeeChromosome.java: -------------------------------------------------------------------------------- 1 | package forestry.api.apiculture; 2 | 3 | public enum EnumBeeChromosome { 4 | SPECIES, SPEED, LIFESPAN, FERTILITY, TEMPERATURE_TOLERANCE, NOCTURNAL, @Deprecated 5 | HUMIDITY, HUMIDITY_TOLERANCE, TOLERANT_FLYER, CAVE_DWELLING, FLOWER_PROVIDER, FLOWERING, TERRITORY, EFFECT 6 | } 7 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/IAlleleFruit.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import forestry.api.genetics.IAllele; 4 | 5 | /** 6 | * Simple allele encapsulating an {@link IFruitProvider}. 7 | */ 8 | public interface IAlleleFruit extends IAllele { 9 | 10 | IFruitProvider getProvider(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/util/SlotStack.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.util; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public class SlotStack { 6 | public ItemStack stack; 7 | public int slot; 8 | 9 | public SlotStack(ItemStack stack, int slot) { 10 | this.stack = stack; 11 | this.slot = slot; 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/java/cofh/api/core/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|core") 6 | package cofh.api.core; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/item/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|item") 6 | package cofh.api.item; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/hooks/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Not all of these may be used, but this is an entrance point into core ComputerCraft code 3 | * Things can break at any ComputerCraft update. So all of this needs to be checked for each ComputerCraft update 4 | */ 5 | package com.austinv11.peripheralsplusplus.hooks; 6 | -------------------------------------------------------------------------------- /lua/peripheralContainer/container.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("peripheralContainer") 5 | if p then 6 | list = p.getContainedPeripherals() 7 | if list then 8 | print("The container holds "..#list.." peripheral(s):") 9 | for i,k in pairs(list) do 10 | print("-"..k) 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/IExternalStorageHandler.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import net.minecraft.tileentity.TileEntity; 4 | import appeng.api.me.util.IMEInventory; 5 | 6 | public interface IExternalStorageHandler { 7 | 8 | boolean canHandle( TileEntity te ); 9 | IMEInventory getInventory( TileEntity te ); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/IAlleleGrowth.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import forestry.api.genetics.IAllele; 4 | 5 | /** 6 | * Simple allele encapsulating an {@link IGrowthProvider}. 7 | */ 8 | public interface IAlleleGrowth extends IAllele { 9 | 10 | IGrowthProvider getProvider(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/reactor/IReactorChamber.java: -------------------------------------------------------------------------------- 1 | package ic2.api.reactor; 2 | 3 | /** 4 | * Interface implemented by the reactor chamber tile entity. 5 | */ 6 | public interface IReactorChamber { 7 | /** 8 | * Get the chamber's reactor. 9 | * 10 | * @return The reactor 11 | */ 12 | public IReactor getReactor(); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/block/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|block") 6 | package cofh.api.block; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/energy/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|energy") 6 | package cofh.api.energy; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/world/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|world") 6 | package cofh.api.world; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/food/IBeverageEffect.java: -------------------------------------------------------------------------------- 1 | package forestry.api.food; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.world.World; 5 | 6 | public interface IBeverageEffect { 7 | int getId(); 8 | 9 | void doEffect(World world, EntityPlayer player); 10 | 11 | String getDescription(); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/tileentity/IAccessControl.java: -------------------------------------------------------------------------------- 1 | 2 | package thermalexpansion.api.tileentity; 3 | 4 | public interface IAccessControl { 5 | 6 | public boolean isPublic(); 7 | 8 | public boolean isFriends(); 9 | 10 | public boolean isPrivate(); 11 | 12 | public boolean setAccessMode(byte mode); 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IAssemblerPatternProvider.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import appeng.api.me.util.IAssemblerPattern; 4 | 5 | /** 6 | * Both useless and incredibly useful, maybe... 7 | */ 8 | public interface IAssemblerPatternProvider 9 | { 10 | public IAssemblerPattern provideAssemblerPattern(); 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/signals/SignalTools.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.signals; 2 | 3 | /** 4 | * 5 | * @author CovertJaguar 6 | */ 7 | public abstract class SignalTools { 8 | 9 | public static IPairEffectRenderer effectManager; 10 | public static ISignalPacketBuilder packetBuilder; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/inventory/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|inventory") 6 | package cofh.api.inventory; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/transport/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|transport") 6 | package cofh.api.transport; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/modhelpers/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|modhelpers") 6 | package cofh.api.modhelpers; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/tileentity/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub 3 | * http://www.teamcofh.com 4 | */ 5 | @API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|tileentity") 6 | package cofh.api.tileentity; 7 | 8 | import cofh.api.CoFHAPIProps; 9 | import cpw.mods.fml.common.API; 10 | 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/farming/IFarmComponent.java: -------------------------------------------------------------------------------- 1 | package forestry.api.farming; 2 | 3 | import forestry.api.core.ITileStructure; 4 | 5 | public interface IFarmComponent extends ITileStructure { 6 | 7 | boolean hasFunction(); 8 | 9 | void registerListener(IFarmListener listener); 10 | 11 | void removeListener(IFarmListener listener); 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/inventory/IInventoryRetainer.java: -------------------------------------------------------------------------------- 1 | package cofh.api.inventory; 2 | 3 | /** 4 | * Marks a block which will retain its inventory when broken. 5 | * 6 | * @author King Lemming 7 | * 8 | */ 9 | public interface IInventoryRetainer { 10 | 11 | // There's nothing else to go here at the moment. Potentially a conditional at a later date. 12 | } 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## gradle 2 | /.gradle 3 | /build 4 | 5 | ## ForgeGradle 6 | /run 7 | 8 | ## eclipse 9 | /eclipse 10 | /.settings 11 | /.metadata 12 | /.classpath 13 | /.project 14 | /bin 15 | 16 | ## intellij 17 | /out 18 | /.idea 19 | /*.iml 20 | /*.ipr 21 | /*.iws 22 | /atlassian-ide-plugin.xml 23 | 24 | ## Misc 25 | /src/main/resources/doc 26 | /src/main/resources/reference -------------------------------------------------------------------------------- /lua/speaker/speak.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by austinv11 3 | ]] 4 | tArgs = {...} 5 | local LANGUAGE = "English"--Change this to change the voice 6 | local p = peripheral.find("speaker") 7 | for key,value in pairs(tArgs) do 8 | p.speak(value, 64, LANGUAGE)--Speaking 9 | local event, text, lang = os.pullEvent("speechComplete")--Waiting for the speech to complete 10 | end 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IServantLogic.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | public interface IServantLogic 4 | { 5 | public CoordTuple getMasterPosition (); 6 | public void notifyMasterOfChange(); 7 | public boolean verifyMaster(int x, int y, int z); 8 | public boolean setMaster(int x, int y, int z); 9 | } 10 | -------------------------------------------------------------------------------- /lua/playerSensor/checkClick.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("playerSensor") --Wrapping the peripheral 5 | if p then 6 | click,name = os.pullEvent("player") --Listening for when a player right clicks a player sensor 7 | if click then 8 | print(tostring(name).." just right-clicked the sensor.") 9 | else 10 | sleep(0.5) 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/ITileIOCable.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import net.minecraft.inventory.IInventory; 4 | 5 | public interface ITileIOCable { 6 | 7 | public enum Version { 8 | Basic, Precision, Fuzzy 9 | }; 10 | 11 | Version getVersion(); 12 | 13 | IInventory getConfiguration(); 14 | 15 | String getName(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/gregtechmod/api/IIgnoreRightclickOnMachine.java: -------------------------------------------------------------------------------- 1 | package gregtechmod.api; 2 | 3 | /** 4 | * You are allowed to include this File in your Download, as i will not change it. 5 | * This Interface is just needed to prevent the opening of GUIs when right clicking with an implementing Item 6 | */ 7 | public interface IIgnoreRightclickOnMachine { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/core/IInitializer.java: -------------------------------------------------------------------------------- 1 | package cofh.api.core; 2 | 3 | /** 4 | * Interface which can be put on just about anything to allow for iteration during initialization. 5 | * 6 | * @author King Lemming 7 | * 8 | */ 9 | public interface IInitializer { 10 | 11 | boolean preInit(); 12 | 13 | boolean initialize(); 14 | 15 | boolean postInit(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/ICellRegistry.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import appeng.api.me.util.IMEInventoryHandler; 5 | 6 | public interface ICellRegistry { 7 | 8 | void addCellHandler( ICellHandler h ); 9 | 10 | boolean isCellHandled( ItemStack is ); 11 | IMEInventoryHandler getHandlerForCell( ItemStack is ); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IExtendedCellProvider.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import appeng.api.me.util.IMEInventoryHandler; 4 | 5 | /** 6 | * Both useless and incredibly useful, maybe... 7 | */ 8 | public interface IExtendedCellProvider extends ICellProvider 9 | { 10 | 11 | public IMEInventoryHandler provideCell( String Filter ); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/tiles/TileEntityTurtle.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.tiles; 2 | 3 | import net.minecraft.tileentity.TileEntity; 4 | 5 | public class TileEntityTurtle extends TileEntity { 6 | 7 | public static final String publicName = "turtlePPP"; 8 | 9 | @Override 10 | public boolean canUpdate() { 11 | return false; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/hooks/InvalidUpgradeIDException.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.hooks; 2 | 3 | public class InvalidUpgradeIDException extends Exception { 4 | 5 | public InvalidUpgradeIDException(IPocketComputerUpgrade computerUpgrade) { 6 | super("Upgrade "+computerUpgrade+" attempted to register with id "+computerUpgrade.getUpgradeID()); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/TreeManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | public class TreeManager { 4 | public static int treeSpeciesCount = 0; 5 | 6 | /** 7 | * Get your own reference to this via AlleleManager.alleleRegistry.getSpeciesRoot("rootTrees") and save it somewhere. 8 | */ 9 | @Deprecated 10 | public static ITreeRoot treeInterface; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/ICellProvider.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import appeng.api.me.util.IMEInventoryHandler; 4 | 5 | /** 6 | * Both useless and incredibly useful, maybe... 7 | */ 8 | public interface ICellProvider 9 | { 10 | public int usePowerForAddition( int items, int multiplier ); 11 | 12 | public IMEInventoryHandler provideCell(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /lua/environmentScanner/temperature.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("environmentScanner") --Wrapping of the peripheral 5 | temp = p.getTemperature() --Checking temperature 6 | temp = string.lower(temp) --Changing the string to lower case because someone thought it would be funny to make it print out upper case 7 | print("This biome has a "..temp.." temperature.") --Printing out the temperature 8 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/IFurnaceRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | 11 | public interface IFurnaceRecipe { 12 | 13 | public ItemStack getInput(); 14 | 15 | public ItemStack getOutput(); 16 | 17 | public int getEnergy(); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IPattern.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | import mods.tinker.tconstruct.library.crafting.PatternBuilder.MaterialSet; 4 | import net.minecraft.item.ItemStack; 5 | 6 | public interface IPattern 7 | { 8 | public int getPatternCost (int metadata); 9 | public ItemStack getPatternOutput(ItemStack stack, MaterialSet set); 10 | } 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/gregtechmod/api/IGregTechDeviceInformation.java: -------------------------------------------------------------------------------- 1 | package gregtechmod.api; 2 | 3 | /** 4 | * You are allowed to include this File in your Download, as i will not change it. 5 | */ 6 | public interface IGregTechDeviceInformation { 7 | public String getMainInfo(); 8 | public String getSecondaryInfo(); 9 | public String getTertiaryInfo(); 10 | public boolean isGivingInformation(); 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/api/ISmEntity.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.api; 2 | 3 | /** 4 | * Smallnet entity handler. 5 | * 6 | * @author Richard 7 | */ 8 | public interface ISmEntity extends ISmNode { 9 | /** 10 | * Receive data. 11 | * 12 | * @param from Sender 13 | * @param payload Payload received 14 | */ 15 | public void receive(ISmSender from, String type, String payload); 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileGateReader.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralGateReader; 4 | 5 | public class TileGateReader extends TilePeripheralWrapper { 6 | public TileGateReader() { 7 | super(PeripheralGateReader.class, 9); 8 | } 9 | 10 | @Override 11 | public String getInventoryName() { 12 | return "Gate Reader"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/IAETagCompound.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import net.minecraft.nbt.NBTBase; 4 | 5 | /** 6 | * Don't cast this... either compare with it, or copy it. 7 | * 8 | * Don't Implement. 9 | */ 10 | public interface IAETagCompound { 11 | 12 | NBTBase copy(); 13 | 14 | @Override 15 | boolean equals( Object a ); // compare to other TagCompounds or IAETagCompounds 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/codechicken/wirelessredstone/core/WirelessTransmittingDevice.java: -------------------------------------------------------------------------------- 1 | package codechicken.wirelessredstone.core; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | import codechicken.core.Vector3; 5 | 6 | public interface WirelessTransmittingDevice 7 | { 8 | public Vector3 getPosition(); 9 | public int getDimension(); 10 | public int getFreq(); 11 | EntityLiving getAttachedEntity(); 12 | } 13 | -------------------------------------------------------------------------------- /lua/oreDictionary/oreDictionary.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("oreDictionary") --Wrapping the peripheral 5 | if p then 6 | oreDict,data = os.pullEvent("oreDict") --Waiting for a player to right click the ore dictionary with an item 7 | if oreDict then 8 | for k,v in pairs(data) do 9 | print(tostring(k)..": "..tostring(v)) 10 | end 11 | else 12 | sleep(0.5) 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/IStructureLogic.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | public interface IStructureLogic extends INBTTagable { 4 | 5 | /** 6 | * @return String unique to the type of structure controlled by this structure logic. 7 | */ 8 | String getTypeUID(); 9 | 10 | /** 11 | * Called by {@link ITileStructure}'s validateStructure(). 12 | */ 13 | void validateStructure(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/network/INetworkTileEntityEventListener.java: -------------------------------------------------------------------------------- 1 | package ic2.api.network; 2 | 3 | /** 4 | * Allows a tile entity to receive network events received from the server. 5 | */ 6 | public interface INetworkTileEntityEventListener { 7 | /** 8 | * Called when a network event is received. 9 | * 10 | * @param event Event ID 11 | */ 12 | void onNetworkEvent(int event); 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/network/INetworkUpdateListener.java: -------------------------------------------------------------------------------- 1 | package ic2.api.network; 2 | 3 | /** 4 | * Allows a tile entity to receive field sync updates received from the server. 5 | */ 6 | public interface INetworkUpdateListener { 7 | /** 8 | * Called when a field is synchronized. 9 | * 10 | * @param field field synchronized 11 | */ 12 | void onNetworkUpdate(String field); 13 | } 14 | 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/asm/OwnerInterface.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.asm; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.METHOD) 10 | public @interface OwnerInterface { 11 | public String value(); 12 | } 13 | -------------------------------------------------------------------------------- /lua/playerSensor/nearbyPlayers.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | tArgs = {...} --Arguements 5 | range = tArgs[1] 6 | p = peripheral.find("playerSensor") --Wrapping the peripheral 7 | if p then 8 | data = p.getNearbyPlayers(tonumber(range)) --Getting the distance to and players nearby 9 | for k,v in pairs(data) do 10 | for l,w in pairs(v) do 11 | print(tostring(l)..": "..tostring(w)) 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridErrorEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | 7 | public class GridErrorEvent extends WorldEvent { 8 | 9 | public WorldCoord coord; 10 | public GridErrorEvent(World world, WorldCoord wc ) { 11 | super(world); 12 | coord = wc; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/Tabs.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import net.minecraft.creativetab.CreativeTabs; 4 | 5 | /** 6 | * References to the specialised tabs added by Forestry to creative inventory. 7 | */ 8 | public class Tabs { 9 | 10 | public static CreativeTabs tabApiculture; 11 | public static CreativeTabs tabArboriculture; 12 | public static CreativeTabs tabLepidopterology; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/farming/ICrop.java: -------------------------------------------------------------------------------- 1 | package forestry.api.farming; 2 | 3 | import java.util.Collection; 4 | 5 | import net.minecraft.item.ItemStack; 6 | 7 | public interface ICrop { 8 | 9 | /** 10 | * Harvests this crop. Performs the necessary manipulations to set the crop into a "harvested" state. 11 | * 12 | * @return Products harvested. 13 | */ 14 | Collection harvest(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/lepidopterology/IButterflyMutation.java: -------------------------------------------------------------------------------- 1 | package forestry.api.lepidopterology; 2 | 3 | import forestry.api.genetics.IAllele; 4 | import forestry.api.genetics.IGenome; 5 | import forestry.api.genetics.IMutation; 6 | 7 | public interface IButterflyMutation extends IMutation { 8 | float getChance(IButterflyNursery housing, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1); 9 | } 10 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/asm/ImplementIfLoaded.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.asm; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ImplementIfLoaded { 11 | public String[] value(); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IGridMachine.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | /** 4 | * Allows you to drain energy via ME Cables, if you only care if the grid is powered you only need IGridTileEntity. 5 | */ 6 | public abstract interface IGridMachine extends IGridTileEntity 7 | { 8 | // how much power this entity drains to run constantly. 9 | public abstract float getPowerDrainPerTick(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IMultiNetworkBlock.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import net.minecraftforge.common.ForgeDirection; 4 | import appeng.api.me.util.IGridInterface; 5 | 6 | public interface IMultiNetworkBlock 7 | { 8 | 9 | void setGrid( IGridInterface gi, ForgeDirection dir ); 10 | IGridInterface getGrid( ForgeDirection dir ); 11 | 12 | boolean Propogates( ForgeDirection dir ); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IPushable.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * An IPushable should return what dosn't fit, so that the crafting request cannot complete, 7 | * stalling the action and saving your resources. 8 | */ 9 | public interface IPushable 10 | { 11 | ItemStack pushItem( ItemStack out ); 12 | boolean canPushItem(ItemStack out); 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/ITextureManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import net.minecraft.util.Icon; 4 | import cpw.mods.fml.relauncher.Side; 5 | import cpw.mods.fml.relauncher.SideOnly; 6 | 7 | @SideOnly(Side.CLIENT) 8 | public interface ITextureManager { 9 | 10 | void registerIconProvider(IIconProvider provider); 11 | 12 | Icon getIcon(short texUID); 13 | 14 | Icon getDefault(String ident); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/gregtechmod/api/IMachineBlockUpdateable.java: -------------------------------------------------------------------------------- 1 | package gregtechmod.api; 2 | 3 | /** 4 | * You are allowed to include this File in your Download, as i will not change it. 5 | * Simple Interface for Machines, which need my Machine Blocks for Multiblockstructures. 6 | */ 7 | public interface IMachineBlockUpdateable { 8 | /** 9 | * The Machine Update 10 | */ 11 | public void onMachineBlockUpdate(); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/IFacingLogic.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | import net.minecraft.entity.EntityLiving; 4 | import net.minecraftforge.common.ForgeDirection; 5 | 6 | public interface IFacingLogic 7 | { 8 | public byte getRenderDirection(); 9 | public ForgeDirection getForgeDirection(); 10 | public void setDirection(float yaw, float pitch, EntityLiving player); 11 | } -------------------------------------------------------------------------------- /src/main/java/cofh/api/tileentity/IRedstoneCache.java: -------------------------------------------------------------------------------- 1 | package cofh.api.tileentity; 2 | 3 | /** 4 | * Implement this interface on Tile Entities which cache their redstone status. 5 | * 6 | * Note that {@link IRedstoneControl} is an extension of this. 7 | * 8 | * @author King Lemming 9 | * 10 | */ 11 | public interface IRedstoneCache { 12 | 13 | void setPowered(boolean isPowered); 14 | 15 | boolean isPowered(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Prerequisites 2 | * [ ] I have read and understand the [contribution guidelines](CONTRIBUTING.md) 3 | * [ ] This pull request follows the code style of the project 4 | * [ ] I have tested this feature thoroughly 5 | 6 | **Issues Fixed:** [The issues fixed by this pull request] 7 | 8 | ### Changes Proposed in this Pull Request 9 | * [Change 1] 10 | * [Change 2] 11 | 12 | ... 13 | 14 | ### Additional Info 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/api/ISmEntityFactory.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.api; 2 | 3 | 4 | /** 5 | * Factory for {@link ISmEntity} objects. 6 | * 7 | * @author Richard 8 | */ 9 | public interface ISmEntityFactory { 10 | /** 11 | * Gets a ISmEntity out of the given entity. 12 | * 13 | * @param entity Entity 14 | * @return {@link ISmEntity} object 15 | */ 16 | public ISmEntity getEntity(T entity); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/gtranslate/URLCONSTANTS.java: -------------------------------------------------------------------------------- 1 | package com.gtranslate; 2 | 3 | 4 | public class URLCONSTANTS { 5 | 6 | public static final String GOOGLE_TRANSLATE_TEXT = "http://translate.google.com.br/translate_a/t?"; 7 | public static final String GOOGLE_TRANSLATE_AUDIO = "http://translate.google.com/translate_tts?"; 8 | public static final String GOOGLE_TRANSLATE_DETECT = "http://www.google.com/uds/GlangDetect?"; 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/circuits/ICircuitLibrary.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.circuits; 7 | 8 | public interface ICircuitLibrary { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/client/gui/GuiResupplyStation.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.client.gui; 2 | 3 | import net.minecraft.client.gui.inventory.GuiChest; 4 | import net.minecraft.inventory.IInventory; 5 | 6 | public class GuiResupplyStation extends GuiChest { 7 | 8 | public GuiResupplyStation(IInventory playerInventory, IInventory chestInventory) { 9 | super(playerInventory, chestInventory); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/storage/EnumBackpackType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.storage; 7 | 8 | public enum EnumBackpackType { 9 | APIARIST, T1, T2 10 | } 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IDirectionalMETile.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import net.minecraftforge.common.ForgeDirection; 4 | 5 | /** 6 | * Used to signify which directions a particular IGridTileEntity or IGridMachine can connect to/from, 7 | * you must implement both, if you wish to have this functionality. 8 | */ 9 | public interface IDirectionalMETile 10 | { 11 | boolean canConnect( ForgeDirection dir ); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackTile.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.tracks; 2 | 3 | /** 4 | * Don't use this, its an interface that allows other API code 5 | * access to internal functions of the code. 6 | * 7 | * @author CovertJaguar 8 | */ 9 | public interface ITrackTile 10 | { 11 | 12 | public ITrackInstance getTrackInstance(); 13 | 14 | public void sendUpdateToClient(); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/core/ICustomInventory.java: -------------------------------------------------------------------------------- 1 | package cofh.api.core; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Interface to allow a Container to interact with a secondary inventory. 7 | * 8 | * @author King Lemming 9 | * 10 | */ 11 | public interface ICustomInventory { 12 | 13 | ItemStack[] getInventorySlots(int inventoryIndex); 14 | 15 | int getSlotStackLimit(int slotIndex); 16 | 17 | void onSlotUpdate(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/energy/tile/IEnergySource.java: -------------------------------------------------------------------------------- 1 | package ic2.api.energy.tile; 2 | 3 | /** 4 | * Allows a tile entity (mostly a generator) to emit energy. 5 | */ 6 | public interface IEnergySource extends IEnergyEmitter { 7 | /** 8 | * Maximum energy output provided by the source. 9 | * If unsure, use Integer.MAX_VALUE. 10 | * 11 | * @return Maximum energy output 12 | */ 13 | int getMaxEnergyOutput(); 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/ICrucibleRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | import net.minecraftforge.liquids.LiquidStack; 11 | 12 | public interface ICrucibleRecipe { 13 | 14 | public ItemStack getInput(); 15 | 16 | public LiquidStack getOutput(); 17 | 18 | public int getEnergy(); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/asm/PeripheralsPlusPlusAccessTransformer.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.asm; 2 | 3 | import cpw.mods.fml.common.asm.transformers.AccessTransformer; 4 | 5 | import java.io.IOException; 6 | 7 | public class PeripheralsPlusPlusAccessTransformer extends AccessTransformer { 8 | 9 | public PeripheralsPlusPlusAccessTransformer() throws IOException { 10 | super("META-INF/ppp_at.cfg"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="Forestry", provides="ForestryAPI|core") 7 | package forestry.api; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/core/LaserKind.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2011 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.core; 11 | 12 | public enum LaserKind { 13 | Red, Blue, Stripes 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/lepidopterology/IButterflyNursery.java: -------------------------------------------------------------------------------- 1 | package forestry.api.lepidopterology; 2 | 3 | import forestry.api.genetics.IHousing; 4 | import forestry.api.genetics.IIndividual; 5 | 6 | public interface IButterflyNursery extends IHousing { 7 | 8 | IButterfly getCaterpillar(); 9 | 10 | IIndividual getNanny(); 11 | 12 | void setCaterpillar(IButterfly butterfly); 13 | 14 | boolean canNurse(IButterfly butterfly); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/recipes/IFabricatorManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.recipes; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import net.minecraftforge.liquids.LiquidStack; 5 | 6 | public interface IFabricatorManager extends ICraftingProvider { 7 | 8 | void addRecipe(ItemStack plan, LiquidStack molten, ItemStack result, Object[] pattern); 9 | 10 | void addSmelting(ItemStack resource, LiquidStack molten, int meltingPoint); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/PiercingEntityDamage.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.util.EntityDamageSource; 5 | 6 | public class PiercingEntityDamage extends EntityDamageSource 7 | { 8 | public PiercingEntityDamage(String str, Entity entity) 9 | { 10 | super(str, entity); 11 | this.setDamageBypassesArmor(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/PostManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.mail; 7 | 8 | 9 | public class PostManager { 10 | public static IPostRegistry postRegistry; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/core/IToolScoop.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.core; 7 | 8 | /** 9 | * Marks a tool as a scoop. 10 | */ 11 | public interface IToolScoop { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/core/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.0", owner="Forestry", provides="ForestryAPI|core") 7 | package forestry.api.core; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/filler/IFillerRegistry.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.filler; 2 | 3 | import net.minecraft.inventory.IInventory; 4 | 5 | public interface IFillerRegistry { 6 | 7 | public void addRecipe(IFillerPattern pattern, Object aobj[]); 8 | 9 | public IFillerPattern findMatchingRecipe(IInventory inventorycrafting); 10 | 11 | public int getPatternNumber(IFillerPattern pattern); 12 | 13 | public IFillerPattern getPattern(int n); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/apiculture/EnumBeeType.java: -------------------------------------------------------------------------------- 1 | package forestry.api.apiculture; 2 | 3 | import java.util.Locale; 4 | 5 | public enum EnumBeeType { 6 | DRONE, PRINCESS, QUEEN, NONE; 7 | 8 | public static final EnumBeeType[] VALUES = values(); 9 | 10 | String name; 11 | 12 | private EnumBeeType() { 13 | this.name = "bees." + this.toString().toLowerCase(Locale.ENGLISH); 14 | } 15 | 16 | public String getName() { 17 | return name; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lua/lua.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/food/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="ForestryAPI|core", provides="ForestryAPI|food") 7 | package forestry.api.food; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/fuels/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="ForestryAPI|core", provides="ForestryAPI|fuels") 7 | package forestry.api.fuels; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.1", owner="ForestryAPI|core", provides="ForestryAPI|mail") 7 | package forestry.api.mail; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/world/WorldGenManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.world; 7 | 8 | public class WorldGenManager { 9 | public static IWorldGenInterface worldgenInterface; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/world/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="ForestryAPI|core", provides="ForestryAPI|world") 7 | package forestry.api.world; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/IAppEngGrinderRecipe.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Lets you manipulate existing recipes. 7 | */ 8 | public interface IAppEngGrinderRecipe { 9 | public ItemStack getInput(); 10 | public void setInput( ItemStack i ); 11 | 12 | public ItemStack getOutput(); 13 | public void setOutput( ItemStack o ); 14 | 15 | public int getEnergyCost(); 16 | public void setEnergyCost(int c); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/ITreekeepingMode.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import java.util.ArrayList; 4 | 5 | public interface ITreekeepingMode extends ITreeModifier { 6 | 7 | /** 8 | * @return Localized name of this treekeeping mode. 9 | */ 10 | String getName(); 11 | 12 | /** 13 | * @return Localized list of strings outlining the behaviour of this treekeeping mode. 14 | */ 15 | ArrayList getDescription(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileChargeStationT4.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.core.MiscPeripherals; 4 | 5 | public class TileChargeStationT4 extends TileChargeStation { 6 | public TileChargeStationT4() { 7 | super(4); 8 | } 9 | 10 | @Override 11 | public int[] getSides() { 12 | if (!MiscPeripherals.instance.chargeStationMultiCharge) return super.getSides(); 13 | 14 | return new int[] {0,1,2,3,4,5}; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/tiles/containers/ContainerResupplyStation.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.tiles.containers; 2 | 3 | import net.minecraft.inventory.ContainerChest; 4 | import net.minecraft.inventory.IInventory; 5 | 6 | public class ContainerResupplyStation extends ContainerChest { 7 | 8 | public ContainerResupplyStation(IInventory playerInventory, IInventory chestInventory) { 9 | super(playerInventory, chestInventory); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/gates/IAction.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.gates; 2 | 3 | import buildcraft.api.core.IIconProvider; 4 | import cpw.mods.fml.relauncher.Side; 5 | import cpw.mods.fml.relauncher.SideOnly; 6 | 7 | public interface IAction { 8 | 9 | int getId(); 10 | 11 | int getIconIndex(); 12 | 13 | @SideOnly(Side.CLIENT) 14 | IIconProvider getIconProvider(); 15 | 16 | boolean hasParameter(); 17 | 18 | String getDescription(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/recipes/ICraftingProvider.java: -------------------------------------------------------------------------------- 1 | package forestry.api.recipes; 2 | 3 | import java.util.Map; 4 | 5 | public interface ICraftingProvider { 6 | /** 7 | * Access to the full list of recipes contained in the crafting provider. 8 | * 9 | * @return List of the given format where the first array represents inputs and the second outputs. Objects can be either ItemStack or LiquidStack. 10 | */ 11 | public Map getRecipes(); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/energy/tile/IEnergyTile.java: -------------------------------------------------------------------------------- 1 | package ic2.api.energy.tile; 2 | 3 | /** 4 | * For internal usage only. 5 | * 6 | * @see IEnergySink 7 | * @see IEnergySource 8 | * @see IEnergyConductor 9 | */ 10 | public interface IEnergyTile { 11 | /** 12 | * Determine if this tile entity has been added to the energy network 13 | * 14 | * @return Whether the tile entity has been added 15 | */ 16 | boolean isAddedToEnergyNet(); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/tiles/TileEntityTeleporterT2.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.tiles; 2 | 3 | public class TileEntityTeleporterT2 extends TileEntityTeleporter { 4 | 5 | public TileEntityTeleporterT2() { 6 | super(); 7 | publicName = "teleporterT2"; 8 | } 9 | 10 | @Override 11 | public String getName() { 12 | return "tileEntityTeleporterT2"; 13 | } 14 | 15 | @Override 16 | public int getMaxLinks() { 17 | return 8; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/circuits/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="ForestryAPI|core", provides="ForestryAPI|circuits") 7 | package forestry.api.circuits; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/farming/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.0", owner="ForestryAPI|core", provides="ForestryAPI|farming") 7 | package forestry.api.farming; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.0", owner="ForestryAPI|core", provides="ForestryAPI|genetics") 7 | package forestry.api.genetics; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/recipes/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.0", owner="ForestryAPI|core", provides="ForestryAPI|recipes") 7 | package forestry.api.recipes; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/storage/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.1.0", owner="ForestryAPI|core", provides="ForestryAPI|storage") 7 | package forestry.api.storage; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/GlobalManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class GlobalManager { 6 | 7 | public static ArrayList dirtBlockIds = new ArrayList(); 8 | public static ArrayList sandBlockIds = new ArrayList(); 9 | public static ArrayList leafBlockIds = new ArrayList(); 10 | public static ArrayList snowBlockIds = new ArrayList(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/core/Module.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.core; 2 | 3 | import net.minecraft.network.packet.NetHandler; 4 | 5 | import com.google.common.io.ByteArrayDataInput; 6 | 7 | public abstract class Module { 8 | public abstract void onPreInit(); 9 | 10 | public abstract void onInit(); 11 | 12 | public abstract void onPostInit(); 13 | 14 | public abstract void handleNetworkMessage(NetHandler source, boolean isClient, ByteArrayDataInput data); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/lua/ILuaTask.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | package dan200.computercraft.api.lua; 8 | 9 | public interface ILuaTask 10 | { 11 | public Object[] execute() throws LuaException; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/apiculture/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.0", owner="ForestryAPI|core", provides="ForestryAPI|apiculture") 7 | package forestry.api.apiculture; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/EnumGrowthConditions.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.arboriculture; 7 | 8 | public enum EnumGrowthConditions { 9 | HOSTILE, PALTRY, NORMAL, GOOD, EXCELLENT 10 | } 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/apiculture/FlowerManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.apiculture; 2 | 3 | import java.util.ArrayList; 4 | 5 | import forestry.api.genetics.IFlowerProvider; 6 | 7 | import net.minecraft.item.ItemStack; 8 | 9 | public class FlowerManager { 10 | /** 11 | * ItemStacks representing simple flower blocks. Meta-sensitive, processed by the basic {@link IFlowerProvider}. 12 | */ 13 | public static ArrayList plainFlowers = new ArrayList(); 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/EnumGermlingType.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | public enum EnumGermlingType { 4 | SAPLING("Sapling"), BLOSSOM("Blossom"), POLLEN("Pollen"), GERMLING("Germling"), NONE("None"); 5 | 6 | public static final EnumGermlingType[] VALUES = values(); 7 | 8 | String name; 9 | 10 | private EnumGermlingType(String name) { 11 | this.name = name; 12 | } 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IChromosome.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | import forestry.api.core.INBTTagable; 4 | 5 | /** 6 | * Implementations other than Forestry's default one are not supported! 7 | * 8 | * @author SirSengir 9 | */ 10 | public interface IChromosome extends INBTTagable { 11 | 12 | IAllele getPrimaryAllele(); 13 | 14 | IAllele getSecondaryAllele(); 15 | 16 | IAllele getInactiveAllele(); 17 | 18 | IAllele getActiveAllele(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/thaumcraft/api/EnumNodeType.java: -------------------------------------------------------------------------------- 1 | package thaumcraft.api; 2 | 3 | 4 | 5 | public enum EnumNodeType { 6 | NORMAL, 7 | PURE, 8 | DARK, 9 | UNSTABLE; 10 | 11 | public static final EnumNodeType[] VALID_TYPES = {NORMAL,PURE,DARK,UNSTABLE}; 12 | 13 | public static EnumNodeType getType(int id) 14 | { 15 | if (id >= 0 && id < VALID_TYPES.length) 16 | { 17 | return VALID_TYPES[id]; 18 | } 19 | return NORMAL; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/inventory/SlotRO.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.inventory; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.inventory.IInventory; 5 | 6 | public class SlotRO extends SlotOutput { 7 | public SlotRO(IInventory par1iInventory, int par2, int par3, int par4) { 8 | super(par1iInventory, par2, par3, par4); 9 | } 10 | 11 | @Override 12 | public boolean canTakeStack(EntityPlayer par1EntityPlayer) { 13 | return false; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/tiles/containers/ContainerEmpty.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.tiles.containers; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.inventory.Container; 5 | 6 | // Empty container class for GuiContainer because Panda is lazy 7 | public class ContainerEmpty extends Container 8 | { 9 | @Override 10 | public boolean canInteractWith(EntityPlayer player) 11 | { 12 | return true; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API", apiVersion="1.75" ) 8 | package dan200.computercraft.api; 9 | 10 | import cpw.mods.fml.common.API; -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/IPostalState.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.mail; 7 | 8 | public interface IPostalState { 9 | boolean isOk(); 10 | 11 | String getIdentifier(); 12 | 13 | int ordinal(); 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/signals/IControllerTile.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This code is the property of CovertJaguar 3 | * and may only be used with explicit written 4 | * permission unless otherwise specified on the 5 | * license page at railcraft.wikispaces.com. 6 | */ 7 | package mods.railcraft.api.signals; 8 | 9 | /** 10 | * 11 | * @author CovertJaguar 12 | */ 13 | public interface IControllerTile { 14 | 15 | public SignalController getController(); 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="2.1.0", owner="ForestryAPI|core", provides="ForestryAPI|arboriculture") 7 | package forestry.api.arboriculture; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/lepidopterology/package-info.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | @API(apiVersion="1.1", owner="ForestryAPI|core", provides="ForestryAPI|lepidopterology") 7 | package forestry.api.lepidopterology; 8 | import cpw.mods.fml.common.API; 9 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/IGrinderRecipeManager.java: -------------------------------------------------------------------------------- 1 | package appeng.api; 2 | 3 | import java.util.List; 4 | 5 | import net.minecraft.item.ItemStack; 6 | 7 | /** 8 | * Lets you manipulate Grinder Recipes, by adding or editing existing ones. 9 | */ 10 | public interface IGrinderRecipeManager { 11 | public List getRecipes(); 12 | 13 | public void addRecipe( ItemStack in, ItemStack out, int cost ); 14 | 15 | public IAppEngGrinderRecipe getRecipeForInput(ItemStack input); 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/speech/ISpeechProvider.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.speech; 2 | 3 | import java.io.File; 4 | 5 | import cpw.mods.fml.relauncher.Side; 6 | import cpw.mods.fml.relauncher.SideOnly; 7 | 8 | @SideOnly(Side.CLIENT) 9 | public interface ISpeechProvider { 10 | public String getName(); 11 | 12 | public int getPriority(); 13 | 14 | public boolean canUse(String text, double x, double y, double z, double speed); 15 | 16 | public File speak(String text, double speed); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/util/ShapedRecipesExt.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.util; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import net.minecraft.item.crafting.ShapedRecipes; 5 | 6 | /** 7 | * RG for public source release: Code redacted. 8 | */ 9 | public class ShapedRecipesExt extends ShapedRecipes { 10 | public ShapedRecipesExt(int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack) { 11 | super(par1, par2, par3ArrayOfItemStack, par4ItemStack); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/core/INetworkedObject.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.core; 2 | 3 | import java.io.DataInputStream; 4 | import java.io.DataOutputStream; 5 | import java.io.IOException; 6 | import net.minecraft.world.World; 7 | 8 | public interface INetworkedObject 9 | { 10 | 11 | public World getWorld(); 12 | 13 | public void writePacketData(DataOutputStream data) throws IOException; 14 | 15 | public void readPacketData(DataInputStream data) throws IOException; 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/gates/IActionReceptor.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2012 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.gates; 11 | 12 | public interface IActionReceptor { 13 | 14 | public void actionActivated(IAction action); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/transport/IPipeTile.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2011 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.transport; 11 | 12 | public interface IPipeTile { 13 | 14 | IPipe getPipe(); 15 | 16 | boolean isInitialized(); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/arboriculture/IAlleleLeafEffect.java: -------------------------------------------------------------------------------- 1 | package forestry.api.arboriculture; 2 | 3 | import net.minecraft.world.World; 4 | import forestry.api.genetics.IAlleleEffect; 5 | import forestry.api.genetics.IEffectData; 6 | 7 | /** 8 | * Simple allele encapsulating a leaf effect. (Not implemented) 9 | */ 10 | public interface IAlleleLeafEffect extends IAlleleEffect { 11 | 12 | IEffectData doEffect(ITreeGenome genome, IEffectData storedData, World world, int x, int y, int z); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/crafting/ICokeOvenRecipe.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.crafting; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import net.minecraftforge.liquids.LiquidStack; 5 | 6 | /** 7 | * 8 | * @author CovertJaguar 9 | */ 10 | public interface ICokeOvenRecipe 11 | { 12 | 13 | public int getCookTime(); 14 | 15 | public ItemStack getInput(); 16 | 17 | public LiquidStack getLiquidOutput(); 18 | 19 | public ItemStack getOutput(); 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/ISawmillRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | 11 | public interface ISawmillRecipe { 12 | 13 | public ItemStack getInput(); 14 | 15 | public ItemStack getPrimaryOutput(); 16 | 17 | public ItemStack getSecondaryOutput(); 18 | 19 | public int getSecondaryOutputChance(); 20 | 21 | public int getEnergy(); 22 | } 23 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/IStamps.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.mail; 7 | 8 | import net.minecraft.item.ItemStack; 9 | 10 | public interface IStamps { 11 | 12 | EnumPostage getPostage(ItemStack itemstack); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/exceptions/AppEngTileMissingException.java: -------------------------------------------------------------------------------- 1 | package appeng.api.exceptions; 2 | 3 | import net.minecraft.world.World; 4 | import appeng.api.DimentionalCoord; 5 | 6 | public class AppEngTileMissingException extends Exception { 7 | 8 | private static final long serialVersionUID = -3502227742711078681L; 9 | public DimentionalCoord dc; 10 | 11 | public AppEngTileMissingException(World w, int x, int y, int z) 12 | { 13 | dc = new DimentionalCoord( w, x, y, z ); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/api/IDataCart.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.api; 2 | 3 | /** 4 | * Allows minecarts to be interacted with from the Rail Reader. 5 | * 6 | * @author Richard 7 | */ 8 | public interface IDataCart { 9 | /** 10 | * Sets the minecart's data. 11 | * 12 | * @param data Data 13 | */ 14 | public void setData(Object[] data) throws Throwable; 15 | 16 | /** 17 | * Returns the minecart's data. 18 | * 19 | * @return Data 20 | */ 21 | public Object[] getData(); 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/IPulverizerRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | 11 | public interface IPulverizerRecipe { 12 | 13 | public ItemStack getInput(); 14 | 15 | public ItemStack getPrimaryOutput(); 16 | 17 | public ItemStack getSecondaryOutput(); 18 | 19 | public int getSecondaryOutputChance(); 20 | 21 | public int getEnergy(); 22 | } 23 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/lua/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Lua", apiVersion="1.75" ) 8 | package dan200.computercraft.api.lua; 9 | 10 | import cpw.mods.fml.common.API; 11 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/circuits/ICircuitLayout.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.circuits; 7 | 8 | public interface ICircuitLayout { 9 | 10 | String getUID(); 11 | 12 | String getName(); 13 | 14 | String getUsage(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/apiculture/IBeekeepingLogic.java: -------------------------------------------------------------------------------- 1 | package forestry.api.apiculture; 2 | 3 | import forestry.api.core.INBTTagable; 4 | import forestry.api.genetics.IEffectData; 5 | 6 | public interface IBeekeepingLogic extends INBTTagable { 7 | 8 | /* STATE INFORMATION */ 9 | int getBreedingTime(); 10 | 11 | int getTotalBreedingTime(); 12 | 13 | IBee getQueen(); 14 | 15 | IBeeHousing getHousing(); 16 | 17 | IEffectData[] getEffectData(); 18 | 19 | /* UPDATING */ 20 | void update(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/farming/IFarmInterface.java: -------------------------------------------------------------------------------- 1 | package forestry.api.farming; 2 | 3 | import forestry.api.core.IStructureLogic; 4 | 5 | public interface IFarmInterface { 6 | 7 | /** 8 | * Creates {@link IStructureLogic} for use in farm components. 9 | * 10 | * @param structure 11 | * {@link IFarmComponent} to create the logic for. 12 | * @return {@link IStructureLogic} for use in farm components 13 | */ 14 | IStructureLogic createFarmStructureLogic(IFarmComponent structure); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/crafting/IBlastFurnaceRecipe.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.crafting; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * 7 | * @author CovertJaguar 8 | */ 9 | public interface IBlastFurnaceRecipe 10 | { 11 | 12 | public int getCookTime(); 13 | 14 | public ItemStack getInput(); 15 | 16 | public ItemStack getOutput(); 17 | 18 | int getOutputStackSize(); 19 | 20 | boolean isRoomForOutput(ItemStack outputSlot); 21 | } 22 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/media/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Media", apiVersion="1.75" ) 8 | package dan200.computercraft.api.media; 9 | 10 | import cpw.mods.fml.common.API; 11 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/turtle/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Turtle", apiVersion="1.75" ) 8 | package dan200.computercraft.api.turtle; 9 | 10 | import cpw.mods.fml.common.API; 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/energy/event/EnergyTileEvent.java: -------------------------------------------------------------------------------- 1 | package ic2.api.energy.event; 2 | 3 | import ic2.api.energy.tile.IEnergyTile; 4 | import net.minecraft.tileentity.TileEntity; 5 | import net.minecraftforge.event.world.WorldEvent; 6 | 7 | public class EnergyTileEvent extends WorldEvent { 8 | public final IEnergyTile energyTile; 9 | 10 | public EnergyTileEvent(IEnergyTile energyTile) { 11 | super(((TileEntity) energyTile).worldObj); 12 | 13 | this.energyTile = energyTile; 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/inventory/SlotOutput.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.inventory; 2 | 3 | import net.minecraft.inventory.IInventory; 4 | import net.minecraft.inventory.Slot; 5 | import net.minecraft.item.ItemStack; 6 | 7 | public class SlotOutput extends Slot { 8 | public SlotOutput(IInventory par1iInventory, int par2, int par3, int par4) { 9 | super(par1iInventory, par2, par3, par4); 10 | } 11 | 12 | @Override 13 | public boolean isItemValid(ItemStack par1ItemStack) { 14 | return false; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/IArboristTracker.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.arboriculture; 7 | 8 | import forestry.api.genetics.IBreedingTracker; 9 | 10 | public interface IArboristTracker extends IBreedingTracker { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/gates/ITriggerParameter.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.gates; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import net.minecraft.nbt.NBTTagCompound; 5 | 6 | public interface ITriggerParameter { 7 | 8 | public abstract ItemStack getItemStack(); 9 | 10 | public abstract void set(ItemStack stack); 11 | 12 | public abstract void writeToNBT(NBTTagCompound compound); 13 | 14 | public abstract void readFromNBT(NBTTagCompound compound); 15 | 16 | public abstract ItemStack getItem(); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/thaumcraft/api/IVisDiscounter.java: -------------------------------------------------------------------------------- 1 | package thaumcraft.api; 2 | 3 | 4 | 5 | /** 6 | * @author Azanor 7 | * ItemArmor with this interface will grant a discount to the vis cost of actions the wearer performs with casting wands. 8 | * The amount returned is the percentage by which the cost is discounted. There is a built-int max discount of 50%, but 9 | * individual items really shouldn't have a discount more than 5% 10 | */ 11 | public interface IVisDiscounter { 12 | 13 | int getVisDiscount(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/filesystem/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|FileSystem", apiVersion="1.75" ) 8 | package dan200.computercraft.api.filesystem; 9 | 10 | import cpw.mods.fml.common.API; -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/permissions/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Permissions", apiVersion="1.75" ) 8 | package dan200.computercraft.api.permissions; 9 | 10 | import cpw.mods.fml.common.API; -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/redstone/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Redstone", apiVersion="1.75" ) 8 | package dan200.computercraft.api.redstone; 9 | 10 | import cpw.mods.fml.common.API; 11 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/circuits/ChipsetManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.circuits; 7 | 8 | public class ChipsetManager { 9 | 10 | public static ISolderManager solderManager; 11 | public static ICircuitRegistry circuitRegistry; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/core/IOwnable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.core; 10 | 11 | /** 12 | * 13 | * @author CovertJaguar 14 | */ 15 | public interface IOwnable { 16 | 17 | String getOwner(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/shedar/mods/ic2/nuclearcontrol/api/IRemoteSensor.java: -------------------------------------------------------------------------------- 1 | package shedar.mods.ic2.nuclearcontrol.api; 2 | 3 | /** 4 | * Interface defines, that card has only one target object. if interface is implemented by 5 | * card, then Information Panel checks if target in range. Methods {@link ICardWrapper#getTarget()} 6 | * and {@link ICardWrapper#setTarget(int, int, int)} can be used only by cards, which implements IRemoteSensor 7 | * interface. 8 | * @author Shedar 9 | */ 10 | public interface IRemoteSensor 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/peripheral/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | @API( owner="ComputerCraft", provides="ComputerCraft|API|Peripheral", apiVersion="1.75" ) 8 | package dan200.computercraft.api.peripheral; 9 | 10 | import cpw.mods.fml.common.API; 11 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/items/IStorageCell.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.items; 2 | 3 | /** 4 | * Any item which implements this can be treated as an IMEInventory via Util.getCell / Util.isCell 5 | * It automatically handles the internals and NBT data, which is both nice, and bad for you! 6 | */ 7 | public interface IStorageCell 8 | { 9 | // If this returns something where N % 8 != 0 Then you will be shot on sight, or your car will explode, something like that least... 10 | int getBytes(); 11 | 12 | int BytePerType(); 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/ITransposerRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | import net.minecraftforge.liquids.LiquidStack; 11 | 12 | public interface ITransposerRecipe { 13 | 14 | public ItemStack getInput(); 15 | 16 | public ItemStack getOutput(); 17 | 18 | public LiquidStack getLiquid(); 19 | 20 | public int getEnergy(); 21 | 22 | public int getChance(); 23 | } 24 | -------------------------------------------------------------------------------- /lua/noteBlock/sound.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("noteBlock") 5 | if p then 6 | tArgs = {...} 7 | if not tArgs[1] then 8 | print('Usage: <"Sound"> ') 9 | print('For all vanilla sounds I refer you to: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571574-all-minecraft-playsound-file-name') 10 | else 11 | sound = tArgs[1] 12 | volume = tonumber(tArgs[2]) 13 | pitch = tonumber(tArgs[3]) 14 | p.playSound(sound, volume, pitch) 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/food/IInfuserManager.java: -------------------------------------------------------------------------------- 1 | package forestry.api.food; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | public interface IInfuserManager { 6 | 7 | void addMixture(int meta, ItemStack ingredient, IBeverageEffect effect); 8 | 9 | void addMixture(int meta, ItemStack[] ingredients, IBeverageEffect effect); 10 | 11 | ItemStack getSeasoned(ItemStack base, ItemStack[] ingredients); 12 | 13 | boolean hasMixtures(ItemStack[] ingredients); 14 | 15 | ItemStack[] getRequired(ItemStack[] ingredients); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/tinker/tconstruct/library/util/TabTools.java: -------------------------------------------------------------------------------- 1 | package mods.tinker.tconstruct.library.util; 2 | 3 | import net.minecraft.creativetab.CreativeTabs; 4 | import net.minecraft.item.ItemStack; 5 | 6 | public class TabTools extends CreativeTabs 7 | { 8 | ItemStack display; 9 | 10 | public TabTools(String label) 11 | { 12 | super(label); 13 | } 14 | 15 | public void init(ItemStack stack) 16 | { 17 | display = stack; 18 | } 19 | 20 | public ItemStack getIconItemStack() 21 | { 22 | return display; 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/java/cofh/api/item/IInventoryContainerItem.java: -------------------------------------------------------------------------------- 1 | package cofh.api.item; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Implement this interface on Item classes that are themselves inventories. 7 | * 8 | * A reference implementation is provided {@link ItemInventoryContainer}. 9 | * 10 | * @author King Lemming 11 | * 12 | */ 13 | public interface IInventoryContainerItem { 14 | 15 | /** 16 | * Get the size of this inventory of this container item. 17 | */ 18 | int getSizeInventory(ItemStack container); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleFlowers.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | 9 | public interface IAlleleFlowers extends IAllele { 10 | 11 | /** 12 | * @return FlowerProvider 13 | */ 14 | IFlowerProvider getProvider(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IColoredMETile.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | /** 4 | * Used to signify which color a particular IGridTileEntity or IGridMachine is, you must implement both, if you wish to have color bias. 5 | */ 6 | public interface IColoredMETile 7 | { 8 | public static String[] Colors = { 9 | "Blue", 10 | "Black", 11 | "White", 12 | "Brown", 13 | "Red", 14 | "Yellow", 15 | "Green" 16 | }; 17 | 18 | boolean isColored(); 19 | 20 | void setColor( int offset ); 21 | 22 | int getColor(); 23 | } 24 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/inventory/ContainerSingleSlot.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.inventory; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | import net.minecraft.inventory.IInventory; 5 | import net.minecraft.inventory.Slot; 6 | 7 | public class ContainerSingleSlot extends ContainerCommon { 8 | private Slot singleSlot; 9 | 10 | public ContainerSingleSlot(EntityPlayer player, IInventory inventory) { 11 | super(player, inventory); 12 | 13 | addSlotToContainer(singleSlot = new Slot(inventory, 0, 80, 35)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/shedar/mods/ic2/nuclearcontrol/api/ICardGui.java: -------------------------------------------------------------------------------- 1 | package shedar.mods.ic2.nuclearcontrol.api; 2 | 3 | /** 4 | * Interface for card's gui. Used to set wrapper object. 5 | * @author Shedar 6 | * 7 | */ 8 | public interface ICardGui 9 | { 10 | /** 11 | * Method sets wrapper object, which should be used to store new settings and return to the 12 | * Information Panel gui. 13 | * @param wrapper 14 | * @see ICardSettingsWrapper 15 | */ 16 | void setCardSettingsHelper(ICardSettingsWrapper wrapper); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridTileLoadEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.tiles.IGridTileEntity; 7 | 8 | public class GridTileLoadEvent extends WorldEvent { 9 | 10 | public WorldCoord coord; 11 | public IGridTileEntity te; 12 | 13 | public GridTileLoadEvent(IGridTileEntity _te, World world, WorldCoord wc ) { 14 | super(world); 15 | te = _te; 16 | coord = wc; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/world/ITreeGenData.java: -------------------------------------------------------------------------------- 1 | package forestry.api.world; 2 | 3 | import net.minecraft.world.World; 4 | 5 | public interface ITreeGenData { 6 | 7 | int getGirth(World world, int x, int y, int z); 8 | 9 | float getHeightModifier(); 10 | 11 | boolean canGrow(World world, int x, int y, int z, int expectedGirth, int expectedHeight); 12 | 13 | void setLeaves(World world, String owner, int x, int y, int z); 14 | 15 | boolean allowsFruitBlocks(); 16 | 17 | boolean trySpawnFruitBlock(World world, int x, int y, int z); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/crafting/IRockCrusherCraftingManager.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.crafting; 2 | 3 | import java.util.List; 4 | import net.minecraft.item.ItemStack; 5 | 6 | /** 7 | * 8 | * @author CovertJaguar 9 | */ 10 | public interface IRockCrusherCraftingManager { 11 | 12 | IRockCrusherRecipe createNewRecipe(ItemStack input, boolean matchDamage, boolean matchNBT); 13 | 14 | IRockCrusherRecipe getRecipe(ItemStack input); 15 | 16 | List getRecipes(); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridTileUnloadEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.tiles.IGridTileEntity; 7 | 8 | public class GridTileUnloadEvent extends WorldEvent { 9 | 10 | public WorldCoord coord; 11 | public IGridTileEntity te; 12 | 13 | public GridTileUnloadEvent(IGridTileEntity _te,World world, WorldCoord wc ) { 14 | super(world); 15 | te = _te; 16 | coord = wc; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/network/INetworkClientTileEntityEventListener.java: -------------------------------------------------------------------------------- 1 | package ic2.api.network; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | /** 6 | * Allows a tile entity to receive network events received from clients. 7 | */ 8 | public interface INetworkClientTileEntityEventListener { 9 | /** 10 | * Called when a network event is received. 11 | * 12 | * @param player client which sent the event 13 | * @param event event ID 14 | */ 15 | void onNetworkEvent(EntityPlayer player, int event); 16 | } 17 | 18 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/lepidopterology/EnumFlutterType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.lepidopterology; 7 | 8 | public enum EnumFlutterType { 9 | BUTTERFLY, 10 | SERUM, 11 | CATERPILLAR, 12 | NONE; 13 | 14 | public static final EnumFlutterType[] VALUES = values(); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileChargeStationT2.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.core.MiscPeripherals; 4 | import miscperipherals.util.Util; 5 | 6 | public class TileChargeStationT2 extends TileChargeStation { 7 | public TileChargeStationT2() { 8 | super(2); 9 | } 10 | 11 | @Override 12 | public int[] getSides() { 13 | if (!MiscPeripherals.instance.chargeStationMultiCharge) return super.getSides(); 14 | 15 | int facing = getFacing(); 16 | return new int[] {facing, Util.OPPOSITE[facing]}; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackLockdown.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.tracks; 2 | 3 | import net.minecraft.entity.item.EntityMinecart; 4 | 5 | /** 6 | * Any rail tile entity that can completely halt 7 | * all cart movement should implement this interface. 8 | * (Used in collision handling) 9 | * 10 | * @author CovertJaguar 11 | */ 12 | public interface ITrackLockdown extends ITrackInstance 13 | { 14 | 15 | public boolean isCartLockedDown(EntityMinecart cart); 16 | 17 | public void releaseCart(); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackReversable.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.tracks; 2 | 3 | /** 4 | * Implementing this interface will allow your track to be direction specific. 5 | * 6 | * And so long as you inherit from TrackInstanceBase it will automatically be 7 | * reversable via the Crowbar. 8 | * 9 | * @author CovertJaguar 10 | */ 11 | public interface ITrackReversable extends ITrackInstance 12 | { 13 | 14 | public boolean isReversed(); 15 | 16 | public void setReversed(boolean reversed); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/circuits/ISolderManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.circuits; 7 | 8 | import net.minecraft.item.ItemStack; 9 | 10 | public interface ISolderManager { 11 | 12 | void addRecipe(ICircuitLayout layout, ItemStack resource, ICircuit circuit); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/MultiBlockUpdateEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.tiles.IGridTileEntity; 7 | 8 | public class MultiBlockUpdateEvent extends WorldEvent { 9 | 10 | public WorldCoord coord; 11 | public IGridTileEntity te; 12 | 13 | public MultiBlockUpdateEvent( IGridTileEntity _te, World world, WorldCoord wc ) { 14 | super(world); 15 | coord = wc; 16 | te = _te; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackBlocksMovement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.tracks; 10 | 11 | /** 12 | * 13 | * @author CovertJaguar 14 | */ 15 | public interface ITrackBlocksMovement { 16 | 17 | public boolean blocksMovement(); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/crafting/ISmelterRecipe.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Team CoFH 3 | * 4 | * Thermal Expansion 5 | */ 6 | 7 | package thermalexpansion.api.crafting; 8 | 9 | import net.minecraft.item.ItemStack; 10 | 11 | public interface ISmelterRecipe { 12 | 13 | public ItemStack getPrimaryInput(); 14 | 15 | public ItemStack getSecondaryInput(); 16 | 17 | public ItemStack getPrimaryOutput(); 18 | 19 | public ItemStack getSecondaryOutput(); 20 | 21 | public int getSecondaryOutputChance(); 22 | 23 | public int getEnergy(); 24 | } 25 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/EnumTolerance.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | public enum EnumTolerance { 9 | NONE, 10 | 11 | BOTH_1, BOTH_2, BOTH_3, BOTH_4, BOTH_5, 12 | 13 | UP_1, UP_2, UP_3, UP_4, UP_5, 14 | 15 | DOWN_1, DOWN_2, DOWN_3, DOWN_4, DOWN_5 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleArea.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * Simple interface to allow adding additional alleles containing float values. 10 | */ 11 | public interface IAlleleArea extends IAllele { 12 | 13 | int[] getValue(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleFloat.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * Simple interface to allow adding additional alleles containing float values. 10 | */ 11 | public interface IAlleleFloat extends IAllele { 12 | 13 | float getValue(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/thermalexpansion/api/tileentity/IRedstoneControl.java: -------------------------------------------------------------------------------- 1 | 2 | package thermalexpansion.api.tileentity; 3 | 4 | public interface IRedstoneControl { 5 | 6 | public boolean getRedstoneDisable(); 7 | 8 | public boolean getRedstoneState(); 9 | 10 | public boolean redstoneControl(); 11 | 12 | public boolean redstoneControlOrDisable(); 13 | 14 | public boolean setRedstoneDisable(boolean disable); 15 | 16 | public boolean setRedstoneState(boolean state); 17 | 18 | public boolean setRedstoneInfo(boolean disable, boolean state); 19 | } 20 | -------------------------------------------------------------------------------- /lua/chatBox/talk.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | tArgs = {...} -- Arguments(please always use "..." for strings 5 | sender = tArgs[1] -- Name of Sender 6 | message = tArgs[2] -- Message 7 | receiver = tArgs[3] -- Name of receiver(only for private messages) 8 | p = peripheral.find("chatBox") -- Wrapping of the chatbox 9 | message = sender..": "..message -- Adding the sender's name to the message 10 | if receiver then -- Checking for a receiver 11 | p.tell(receiver, message) -- Sending private message 12 | else -- No Receiver 13 | p.say(message) -- Sending public message 14 | end 15 | -------------------------------------------------------------------------------- /lua/environmentScanner/weather.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Created by Fxz_y 3 | ]] 4 | p = peripheral.find("environmentScanner") --Wrapping of the peripheral 5 | snow = p.isSnow() --Checking if it snows in the biome or not 6 | rain = p.isRaining() --Checking if it's raining 7 | if snow then --if/else to print out whether it is snowing or raining or neither 8 | if rain then 9 | print("It is snowing.") 10 | else 11 | print("It is not snowing.") 12 | end 13 | else 14 | if rain then 15 | print("It is raining.") 16 | else 17 | print("It is not raining.") 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/core/INBTTagable.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.core; 7 | 8 | import net.minecraft.nbt.NBTTagCompound; 9 | 10 | public interface INBTTagable { 11 | void readFromNBT(NBTTagCompound nbttagcompound); 12 | 13 | void writeToNBT(NBTTagCompound nbttagcompound); 14 | } 15 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleInteger.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * Simple interface to allow adding additional alleles containing integer values. 10 | */ 11 | public interface IAlleleInteger extends IAllele { 12 | 13 | int getValue(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridTileConnectivityEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.tiles.IGridTileEntity; 7 | 8 | public class GridTileConnectivityEvent extends WorldEvent { 9 | 10 | public WorldCoord coord; 11 | public IGridTileEntity te; 12 | 13 | public GridTileConnectivityEvent( IGridTileEntity _te, World world, WorldCoord wc ) { 14 | super(world); 15 | te = _te; 16 | coord = wc; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/transport/IPipeConnection.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2011 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.transport; 11 | 12 | import net.minecraftforge.common.ForgeDirection; 13 | 14 | public interface IPipeConnection { 15 | 16 | public boolean isPipeConnected(ForgeDirection with); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ICircuitBoard.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | import java.util.List; 4 | 5 | import net.minecraft.tileentity.TileEntity; 6 | import forestry.api.core.INBTTagable; 7 | 8 | public interface ICircuitBoard extends INBTTagable { 9 | 10 | int getPrimaryColor(); 11 | 12 | int getSecondaryColor(); 13 | 14 | void addTooltip(List list); 15 | 16 | void onInsertion(TileEntity tile); 17 | 18 | void onLoad(TileEntity tile); 19 | 20 | void onRemoval(TileEntity tile); 21 | 22 | void onTick(TileEntity tile); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/farming/Farmables.java: -------------------------------------------------------------------------------- 1 | package forestry.api.farming; 2 | 3 | import java.util.Collection; 4 | import java.util.HashMap; 5 | 6 | public class Farmables { 7 | /** 8 | * Can be used to add IFarmables to some of the vanilla farm logics. 9 | * 10 | * Identifiers: farmArboreal farmWheat farmGourd farmInfernal farmPoales farmSucculentes farmVegetables farmShroom 11 | */ 12 | public static HashMap> farmables = new HashMap>(); 13 | 14 | public static IFarmInterface farmInterface; 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileSmSender.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralSmSender; 4 | import net.minecraft.entity.player.EntityPlayer; 5 | 6 | public class TileSmSender extends TilePeripheralWrapper { 7 | public TileSmSender() { 8 | super(PeripheralSmSender.class); 9 | } 10 | 11 | @Override 12 | public boolean onBlockActivated(EntityPlayer player, int side, float hitX, float hitY, float hitZ) { 13 | return ((PeripheralSmSender) peripheral).onBlockActivated(player, side, hitX, hitY, hitZ); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/dan200/computer/api/IPeripheralHandler.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2013. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | package dan200.computer.api; 8 | 9 | /** 10 | * TODO: Document me 11 | */ 12 | public interface IPeripheralHandler 13 | { 14 | public IHostedPeripheral getPeripheral( net.minecraft.tileentity.TileEntity tile ); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/network/INetworkItemEventListener.java: -------------------------------------------------------------------------------- 1 | package ic2.api.network; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | /** 6 | * Allows an item to receive network events received from the server. 7 | */ 8 | public interface INetworkItemEventListener { 9 | /** 10 | * Called when a network event is received. 11 | * 12 | * @param metaData item metadata 13 | * @param player player containing the item 14 | * @param event event ID 15 | */ 16 | void onNetworkEvent(int metaData, EntityPlayer player, int event); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/signals/ISignalPacketBuilder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This code is the property of CovertJaguar 3 | * and may only be used with explicit written 4 | * permission unless otherwise specified on the 5 | * license page at railcraft.wikispaces.com. 6 | */ 7 | package mods.railcraft.api.signals; 8 | 9 | /** 10 | * 11 | * @author CovertJaguar 12 | */ 13 | public interface ISignalPacketBuilder { 14 | public void sendPairPacketUpdate(AbstractPair pairing); 15 | public void sendPairPacketRequest(AbstractPair pairing); 16 | } 17 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Description 2 | [Description of the issue] 3 | 4 | ### Steps to Reproduce 5 | 1. [First step] 6 | 2. [Second step] 7 | 8 | ... 9 | 10 | **Expected behavior:** [What was supposed to happen] 11 | 12 | **Actual behavior:** [What actually happened] 13 | 14 | **Stacktrace (if applicable):** [PASTEBIN or HASTEBIN link to the stacktrace. Do NOT copy and paste the log into the issue post itself.] 15 | 16 | **Version affected:** [The version of Peripherals++ *and* Forge] 17 | 18 | ### Additional Information 19 | [Any other information that may be able to help me with the problem] -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleBoolean.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * Simple interface to allow adding additional alleles containing float values. 10 | */ 11 | public interface IAlleleBoolean extends IAllele { 12 | 13 | boolean getValue(); 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAlleleTolerance.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * Simple interface to allow adding additional alleles containing float values. 10 | */ 11 | public interface IAlleleTolerance extends IAllele { 12 | 13 | EnumTolerance getValue(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/apiculture/IBeeHousing.java: -------------------------------------------------------------------------------- 1 | package forestry.api.apiculture; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import forestry.api.genetics.IHousing; 5 | 6 | public interface IBeeHousing extends IBeeModifier, IBeeListener, IHousing { 7 | 8 | ItemStack getQueen(); 9 | 10 | ItemStack getDrone(); 11 | 12 | void setQueen(ItemStack itemstack); 13 | 14 | void setDrone(ItemStack itemstack); 15 | 16 | /** 17 | * @return true if princesses and drones can (currently) mate in this housing to generate queens. 18 | */ 19 | boolean canBreed(); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IEffectData.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | import forestry.api.core.INBTTagable; 4 | 5 | /** 6 | * Container to hold some temporary data for bee, tree and butterfly effects. 7 | * 8 | * @author SirSengir 9 | */ 10 | public interface IEffectData extends INBTTagable { 11 | void setInteger(int index, int val); 12 | 13 | void setFloat(int index, float val); 14 | 15 | void setBoolean(int index, boolean val); 16 | 17 | int getInteger(int index); 18 | 19 | float getFloat(int index); 20 | 21 | boolean getBoolean(int index); 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/recipes/IVariableFermentable.java: -------------------------------------------------------------------------------- 1 | package forestry.api.recipes; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Fermenter checks any valid fermentation item for an implementation of this interface. 7 | * This does not supersede adding a proper recipe to the fermenter! 8 | */ 9 | public interface IVariableFermentable { 10 | 11 | /** 12 | * @param itemstack 13 | * @return Float representing the modification to be applied to the matching recipe's biomass output. 14 | */ 15 | float getFermentationModifier(ItemStack itemstack); 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/gregtechmod/api/ICapsuleCellContainer.java: -------------------------------------------------------------------------------- 1 | package gregtechmod.api; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * You are allowed to include this File in your Download, as i will not change it. 7 | */ 8 | public interface ICapsuleCellContainer { 9 | 10 | /** 11 | * Get the amount of Tincells 12 | * @param aStack the ItemStack 13 | * @return the amount of Tincells per SINGLE Item in the Stack. 14 | * A returnvalue for a simple Cell, like the IC2-Watercell would be 1 15 | */ 16 | public int CapsuleCellContainerCount(ItemStack aStack); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/speech/PriorityComparator.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.speech; 2 | 3 | import java.util.Comparator; 4 | 5 | import cpw.mods.fml.relauncher.Side; 6 | import cpw.mods.fml.relauncher.SideOnly; 7 | 8 | @SideOnly(Side.CLIENT) 9 | public class PriorityComparator implements Comparator { 10 | @Override 11 | public int compare(ISpeechProvider arg0, ISpeechProvider arg1) { 12 | return arg0.getPriority() < arg1.getPriority() ? 1 : (arg0.getPriority() == arg1.getPriority() ? arg0.getName().compareToIgnoreCase(arg1.getName()) : -1); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/ILeafTickHandler.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.arboriculture; 7 | 8 | import net.minecraft.world.World; 9 | 10 | public interface ILeafTickHandler { 11 | boolean onRandomLeafTick(ITree tree, World world, int biomeId, int x, int y, int z, boolean isDestroyed); 12 | } 13 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/lepidopterology/ILepidopteristTracker.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.lepidopterology; 7 | 8 | import forestry.api.genetics.IBreedingTracker; 9 | 10 | public interface ILepidopteristTracker extends IBreedingTracker { 11 | 12 | void registerCatch(IButterfly butterfly); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/recipes/IGenericCrate.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.recipes; 7 | 8 | import net.minecraft.item.ItemStack; 9 | 10 | public interface IGenericCrate { 11 | 12 | void setContained(ItemStack crate, ItemStack contained); 13 | 14 | ItemStack getContained(ItemStack crate); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/inventory/SlotControlled.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.inventory; 2 | 3 | import net.minecraft.inventory.IInventory; 4 | import net.minecraft.inventory.Slot; 5 | import net.minecraft.item.ItemStack; 6 | 7 | public class SlotControlled extends Slot { 8 | public SlotControlled(IInventory par1iInventory, int par2, int par3, int par4) { 9 | super(par1iInventory, par2, par3, par4); 10 | } 11 | 12 | public boolean isItemValid(ItemStack stack) { 13 | if (stack == null) return true; 14 | return inventory.isStackValidForSlot(slotNumber, stack); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/carts/IPaintedCart.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.carts; 10 | 11 | /** 12 | * 13 | * @author CovertJaguar 14 | */ 15 | public interface IPaintedCart { 16 | 17 | byte getPrimaryColor(); 18 | 19 | byte getSecondaryColor(); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/IAllelePlantType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | import java.util.EnumSet; 9 | 10 | import net.minecraftforge.common.EnumPlantType; 11 | 12 | public interface IAllelePlantType extends IAllele { 13 | 14 | public EnumSet getPlantTypes(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/genetics/ILegacyHandler.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.genetics; 7 | 8 | /** 9 | * AlleleManager.alleleRegistry can be cast to this type. 10 | */ 11 | public interface ILegacyHandler { 12 | void registerLegacyMapping(int id, String uid); 13 | 14 | IAllele getFromLegacyMap(int id); 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/network/INetworkDataProvider.java: -------------------------------------------------------------------------------- 1 | package ic2.api.network; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Tile entities which want to synchronized specific fields between client and server have to implement this. 7 | * 8 | * The fields don't update themselves, a field update must be sent every time a synchronized field changes. 9 | */ 10 | public interface INetworkDataProvider { 11 | /** 12 | * Get the list of synchronized fields. 13 | * 14 | * @return Names of the synchronized fields 15 | */ 16 | List getNetworkedFields(); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/food/BeverageManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.food; 7 | 8 | public class BeverageManager { 9 | public static IBeverageEffect[] effectList = new IBeverageEffect[128]; 10 | 11 | public static IInfuserManager infuserManager; 12 | public static IIngredientManager ingredientManager; 13 | } 14 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/food/IIngredientManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.food; 7 | 8 | import net.minecraft.item.ItemStack; 9 | 10 | public interface IIngredientManager { 11 | 12 | String getDescription(ItemStack itemstack); 13 | 14 | void addIngredient(ItemStack ingredient, String description); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/ForestryAPI.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import cpw.mods.fml.relauncher.Side; 4 | import cpw.mods.fml.relauncher.SideOnly; 5 | 6 | public class ForestryAPI { 7 | 8 | /** 9 | * The main mod instance for Forestry. 10 | */ 11 | public static Object instance; 12 | 13 | /** 14 | * A {@link ITextureManager} needed for some things in the API. 15 | */ 16 | @SideOnly(Side.CLIENT) 17 | public static ITextureManager textureManager; 18 | 19 | /** 20 | * The currently active {@link IGameMode}. 21 | */ 22 | public static IGameMode activeMode; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/lepidopterology/IAlleleButterflyEffect.java: -------------------------------------------------------------------------------- 1 | package forestry.api.lepidopterology; 2 | 3 | import forestry.api.genetics.IAlleleEffect; 4 | import forestry.api.genetics.IEffectData; 5 | 6 | public interface IAlleleButterflyEffect extends IAlleleEffect { 7 | 8 | /** 9 | * Used by butterflies to trigger effects in the world. 10 | * @param butterfly {@link IEntityButterfly} 11 | * @param storedData 12 | * @return {@link forestry.api.genetics.IEffectData} for the next cycle. 13 | */ 14 | IEffectData doEffect(IEntityButterfly butterfly, IEffectData storedData); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/ILetterHandler.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.mail; 7 | 8 | import net.minecraft.item.ItemStack; 9 | import net.minecraft.world.World; 10 | 11 | public interface ILetterHandler { 12 | IPostalState handleLetter(World world, IMailAddress recipient, ItemStack letterStack, boolean doLodge); 13 | } 14 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/item/IBoxable.java: -------------------------------------------------------------------------------- 1 | package ic2.api.item; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Provides custom toolbox storage behavior for items. 7 | * 8 | * The normal condition for storing an item in a toolbox is having a maximum stack size of 1. 9 | */ 10 | public interface IBoxable { 11 | /** 12 | * Determine whether an item can be stored in a toolbox or not. 13 | * 14 | * @param itemstack item to be stored 15 | * @return Whether to store the item in the toolbox or not 16 | */ 17 | public abstract boolean canBeStoredInToolbox(ItemStack itemstack); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IFruitFamily.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | public interface IFruitFamily { 4 | 5 | /** 6 | * @return Unique String identifier. 7 | */ 8 | String getUID(); 9 | 10 | /** 11 | * @return Localized family name for user display. 12 | */ 13 | String getName(); 14 | 15 | /** 16 | * A scientific-y name for this fruit family 17 | * 18 | * @return flavour text (may be null) 19 | */ 20 | String getScientific(); 21 | 22 | /** 23 | * @return Localized description of this fruit family. (May be null.) 24 | */ 25 | String getDescription(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/items/ItemPPP.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.items; 2 | 3 | import com.austinv11.collectiveframework.minecraft.items.ItemBase; 4 | import com.austinv11.peripheralsplusplus.creativetab.CreativeTabPPP; 5 | import com.austinv11.peripheralsplusplus.reference.Reference; 6 | import net.minecraft.creativetab.CreativeTabs; 7 | 8 | public class ItemPPP extends ItemBase { 9 | 10 | @Override 11 | public CreativeTabs getTab() { 12 | return CreativeTabPPP.PPP_TAB; 13 | } 14 | 15 | @Override 16 | public String getModId() { 17 | return Reference.MOD_ID; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/IAlleleFruit.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.arboriculture; 7 | 8 | import forestry.api.genetics.IAllele; 9 | 10 | /** 11 | * Simple allele encapsulating an {@link IFruitProvider}. 12 | */ 13 | public interface IAlleleFruit extends IAllele { 14 | 15 | IFruitProvider getProvider(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/carts/ICartContentsTextureProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This code is the property of CovertJaguar 3 | * and may only be used with explicit written 4 | * permission unless otherwise specified on the 5 | * license page at railcraft.wikispaces.com. 6 | */ 7 | package mods.railcraft.api.carts; 8 | 9 | import net.minecraft.util.Icon; 10 | 11 | /** 12 | * Used by the renderer to renders blocks in carts. 13 | * 14 | * @author CovertJaguar 15 | */ 16 | public interface ICartContentsTextureProvider{ 17 | 18 | public Icon getBlockTextureOnSide(int side); 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackItemIconProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.tracks; 10 | 11 | import net.minecraft.util.Icon; 12 | 13 | /** 14 | * 15 | * @author CovertJaguar 16 | */ 17 | public interface ITrackItemIconProvider { 18 | 19 | Icon getTrackItemIcon(TrackSpec spec); 20 | } 21 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/arboriculture/IAlleleGrowth.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.arboriculture; 7 | 8 | import forestry.api.genetics.IAllele; 9 | 10 | /** 11 | * Simple allele encapsulating an {@link IGrowthProvider}. 12 | */ 13 | public interface IAlleleGrowth extends IAllele { 14 | 15 | IGrowthProvider getProvider(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackEmitter.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.tracks; 2 | 3 | /** 4 | * Tracks that can emit a redstone signal should implement 5 | * this interface. 6 | * 7 | * For example a detector track. 8 | * 9 | * A track cannot implement both ITrackPowered and ITrackEmitter. 10 | * 11 | * @author CovertJaguar 12 | */ 13 | public interface ITrackEmitter extends ITrackInstance 14 | { 15 | 16 | /** 17 | * Return the redstone output of the track. 18 | * 19 | * @return true if powered 20 | */ 21 | public int getPowerOutput(); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/blocks/BlockPPP.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.blocks; 2 | 3 | import com.austinv11.collectiveframework.minecraft.blocks.BlockBase; 4 | import com.austinv11.peripheralsplusplus.creativetab.CreativeTabPPP; 5 | import com.austinv11.peripheralsplusplus.reference.Reference; 6 | import net.minecraft.creativetab.CreativeTabs; 7 | 8 | public class BlockPPP extends BlockBase { 9 | 10 | @Override 11 | public CreativeTabs getTab() { 12 | return CreativeTabPPP.PPP_TAB; 13 | } 14 | 15 | @Override 16 | public String getModId() { 17 | return Reference.MOD_ID; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/food/IBeverageEffect.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.food; 7 | 8 | import net.minecraft.entity.player.EntityPlayer; 9 | import net.minecraft.world.World; 10 | 11 | public interface IBeverageEffect { 12 | int getId(); 13 | 14 | void doEffect(World world, EntityPlayer player); 15 | 16 | String getDescription(); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/crafting/ICokeOvenCraftingManager.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.crafting; 2 | 3 | import java.util.List; 4 | import net.minecraft.item.ItemStack; 5 | import net.minecraftforge.liquids.LiquidStack; 6 | 7 | /** 8 | * 9 | * @author CovertJaguar 10 | */ 11 | public interface ICokeOvenCraftingManager { 12 | 13 | void addRecipe(ItemStack input, boolean matchDamage, boolean matchNBT, ItemStack output, LiquidStack liquidOutput, int cookTime); 14 | 15 | ICokeOvenRecipe getRecipe(ItemStack stack); 16 | 17 | List getRecipes(); 18 | } 19 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/crafting/RailcraftCraftingManager.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.crafting; 2 | 3 | /** 4 | * These variables are defined during the pre-init phase. 5 | * Do not attempt to access them during pre-init. 6 | * 7 | * @author CovertJaguar 8 | */ 9 | public abstract class RailcraftCraftingManager 10 | { 11 | 12 | public static ICokeOvenCraftingManager cokeOven; 13 | public static IBlastFurnaceCraftingManager blastFurnace; 14 | public static IRockCrusherCraftingManager rockCrusher; 15 | public static IRollingMachineCraftingManager rollingMachine; 16 | } 17 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/signals/IPairEffectRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This code is the property of CovertJaguar 3 | * and may only be used with explicit written 4 | * permission unless otherwise specified on the 5 | * license page at railcraft.wikispaces.com. 6 | */ 7 | package mods.railcraft.api.signals; 8 | 9 | import net.minecraft.tileentity.TileEntity; 10 | 11 | /** 12 | * 13 | * @author CovertJaguar 14 | */ 15 | public interface IPairEffectRenderer { 16 | 17 | public boolean isTuningAuraActive(); 18 | 19 | public void tuningEffect(TileEntity start, TileEntity dest); 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/world/IFeatureHandler.java: -------------------------------------------------------------------------------- 1 | package cofh.api.world; 2 | 3 | /** 4 | * Provides an interface to allow for the addition of Features to world generation. 5 | * 6 | * See {@link IFeatureGenerator}. 7 | * 8 | * @author King Lemming 9 | * 10 | */ 11 | public interface IFeatureHandler { 12 | 13 | /** 14 | * Register a feature with an IFeatureHandler. 15 | * 16 | * @param feature 17 | * The feature to register. 18 | * @return True if the registration was successful, false if a feature with that name existed. 19 | */ 20 | public boolean registerFeature(IFeatureGenerator feature); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/circuits/ICircuit.java: -------------------------------------------------------------------------------- 1 | package forestry.api.circuits; 2 | 3 | import java.util.List; 4 | 5 | import net.minecraft.tileentity.TileEntity; 6 | 7 | public interface ICircuit { 8 | String getUID(); 9 | 10 | boolean requiresDiscovery(); 11 | 12 | int getLimit(); 13 | 14 | String getName(); 15 | 16 | boolean isCircuitable(TileEntity tile); 17 | 18 | void onInsertion(int slot, TileEntity tile); 19 | 20 | void onLoad(int slot, TileEntity tile); 21 | 22 | void onRemoval(int slot, TileEntity tile); 23 | 24 | void onTick(int slot, TileEntity tile); 25 | 26 | void addTooltip(List list); 27 | } 28 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/genetics/IGenome.java: -------------------------------------------------------------------------------- 1 | package forestry.api.genetics; 2 | 3 | import forestry.api.core.INBTTagable; 4 | 5 | /** 6 | * Holds the {@link IChromosome}s which comprise the traits of a given individual. 7 | * 8 | * Only the default implementation is supported. 9 | */ 10 | public interface IGenome extends INBTTagable { 11 | 12 | IAlleleSpecies getPrimary(); 13 | 14 | IAlleleSpecies getSecondary(); 15 | 16 | IChromosome[] getChromosomes(); 17 | 18 | IAllele getActiveAllele(int chromosome); 19 | 20 | IAllele getInactiveAllele(int chromosome); 21 | 22 | boolean isGeneticEqual(IGenome other); 23 | } 24 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/core/ITextureLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.core; 10 | 11 | import net.minecraft.client.renderer.texture.IconRegister; 12 | 13 | /** 14 | * 15 | * @author CovertJaguar 16 | */ 17 | public interface ITextureLoader { 18 | 19 | void registerIcons(IconRegister iconRegister); 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/LocateableEventAnnounce.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraftforge.event.Event; 4 | import appeng.api.me.tiles.ILocateable; 5 | 6 | public class LocateableEventAnnounce extends Event { 7 | 8 | public enum LocateableEvent { 9 | Register, // Adds the locateable to the registry 10 | Unregister // Removes the Locatable from the registry 11 | }; 12 | 13 | final public ILocateable target; 14 | final public LocateableEvent change; 15 | 16 | public LocateableEventAnnounce( ILocateable o, LocateableEvent ev ) 17 | { 18 | target = o; 19 | change = ev; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/lepidopterology/IEntityButterfly.java: -------------------------------------------------------------------------------- 1 | package forestry.api.lepidopterology; 2 | 3 | import forestry.api.genetics.IIndividual; 4 | import net.minecraft.entity.EntityCreature; 5 | import net.minecraft.entity.passive.IAnimals; 6 | 7 | public interface IEntityButterfly extends IAnimals { 8 | 9 | void changeExhaustion(int change); 10 | 11 | int getExhaustion(); 12 | 13 | IButterfly getButterfly(); 14 | 15 | /** 16 | * @return The entity as an EntityCreature to save casting. 17 | */ 18 | EntityCreature getEntity(); 19 | 20 | IIndividual getPollen(); 21 | 22 | void setPollen(IIndividual pollen); 23 | } 24 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/storage/IBackpackInterface.java: -------------------------------------------------------------------------------- 1 | package forestry.api.storage; 2 | 3 | import net.minecraft.item.Item; 4 | 5 | public interface IBackpackInterface { 6 | 7 | /** 8 | * Adds a backpack with the given id, definition and type, returning the item. 9 | * 10 | * @param itemID 11 | * Item id to use. 12 | * @param definition 13 | * Definition of backpack behaviour. 14 | * @param type 15 | * Type of backpack. (T1 or T2 (= Woven) 16 | * @return Created backpack item. 17 | */ 18 | Item addBackpack(int itemID, IBackpackDefinition definition, EnumBackpackType type); 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/api/ISmItem.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.api; 2 | 3 | import java.util.UUID; 4 | 5 | import net.minecraft.entity.player.EntityPlayer; 6 | import net.minecraft.item.ItemStack; 7 | 8 | /** 9 | * Smallnet entity item interface, useful for items which link entities to an UUID. 10 | * 11 | * @author Richard 12 | */ 13 | public interface ISmItem { 14 | /** 15 | * Get the UUID associated with this item. 16 | * 17 | * @param player Player linking with this item 18 | * @param stack Stack being linked 19 | * @return UUID 20 | */ 21 | public UUID getUUID(EntityPlayer player, ItemStack stack); 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/external/ExtTrackPriming.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.external; 2 | 3 | import miscperipherals.safe.Reflector; 4 | import mods.railcraft.api.tracks.ITrackInstance; 5 | 6 | public class ExtTrackPriming extends ExtTrackNumber { 7 | public ExtTrackPriming(ITrackInstance track) { 8 | super(track, "fuse", Short.class, Reflector.getField("mods.railcraft.common.blocks.tracks.TrackPriming", "MIN_FUSE", Integer.class), Reflector.getField("mods.railcraft.blocks.tracks.TrackPriming", "MAX_FUSE", Integer.class)); 9 | } 10 | 11 | @Override 12 | public String getType() { 13 | return "trackPriming"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/farming/IFarmComponent.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.farming; 7 | 8 | import forestry.api.core.ITileStructure; 9 | 10 | public interface IFarmComponent extends ITileStructure { 11 | 12 | boolean hasFunction(); 13 | 14 | void registerListener(IFarmListener listener); 15 | 16 | void removeListener(IFarmListener listener); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridPatternUpdateEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.util.IGridInterface; 7 | 8 | /** 9 | * Posted when crafting options in a AE Network update. 10 | */ 11 | public class GridPatternUpdateEvent extends WorldEvent { 12 | 13 | public WorldCoord coord; 14 | public IGridInterface grid; 15 | 16 | public GridPatternUpdateEvent(World world, WorldCoord wc, IGridInterface gi ) { 17 | super(world); 18 | grid = gi; 19 | coord = wc; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/me/tiles/IAssemblerMB.java: -------------------------------------------------------------------------------- 1 | package appeng.api.me.tiles; 2 | 3 | import appeng.api.WorldCoord; 4 | import appeng.api.me.util.IAssemblerCluster; 5 | 6 | public interface IAssemblerMB { 7 | 8 | /** 9 | * Do this: 10 | * return new WorldCoord( TileEntity.xCoord, TileEntity.yCoord, TileEntity.zCoord ); 11 | */ 12 | public WorldCoord getLocation(); 13 | public IAssemblerCluster getCluster(); 14 | public void updateStatus( IAssemblerCluster ac ); 15 | public boolean isComplete(); 16 | 17 | void calculateMultiblock( long instanceCalc ); 18 | public long markViewed(long inst); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileFireworks.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import miscperipherals.peripheral.PeripheralFireworks; 4 | import net.minecraft.entity.player.EntityPlayer; 5 | 6 | public class TileFireworks extends TilePeripheralWrapper { 7 | public TileFireworks() { 8 | super(PeripheralFireworks.class, 54); 9 | } 10 | 11 | @Override 12 | public boolean onBlockActivated(EntityPlayer player, int side, float hitX, float hitY, float hitZ) { 13 | player.displayGUIChest(this); 14 | return true; 15 | } 16 | 17 | @Override 18 | public String getInventoryName() { 19 | return "Firework Launcher"; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/appeng/api/events/GridStorageUpdateEvent.java: -------------------------------------------------------------------------------- 1 | package appeng.api.events; 2 | 3 | import net.minecraft.world.World; 4 | import net.minecraftforge.event.world.WorldEvent; 5 | import appeng.api.WorldCoord; 6 | import appeng.api.me.util.IGridInterface; 7 | 8 | /** 9 | * Posted when crafting options in a AE Network update. 10 | */ 11 | public class GridStorageUpdateEvent extends WorldEvent { 12 | 13 | final public WorldCoord coord; 14 | final public IGridInterface grid; 15 | 16 | public GridStorageUpdateEvent(World world, WorldCoord wc, IGridInterface gi ) { 17 | super(world); 18 | grid = gi; 19 | coord = wc; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/filler/IFillerPattern.java: -------------------------------------------------------------------------------- 1 | package buildcraft.api.filler; 2 | 3 | import net.minecraft.item.ItemStack; 4 | import net.minecraft.tileentity.TileEntity; 5 | import net.minecraft.util.Icon; 6 | import buildcraft.api.core.IBox; 7 | import cpw.mods.fml.relauncher.Side; 8 | import cpw.mods.fml.relauncher.SideOnly; 9 | 10 | public interface IFillerPattern { 11 | 12 | public int getId(); 13 | 14 | public void setId(int id); 15 | 16 | public boolean iteratePattern(TileEntity tile, IBox box, ItemStack stackToPlace); 17 | 18 | @SideOnly(Side.CLIENT) 19 | public Icon getTexture(); 20 | 21 | public String getName(); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/block/ItemBlockLanCable.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.block; 2 | 3 | import miscperipherals.block.BlockLanCable.CableType; 4 | import net.minecraft.item.ItemBlock; 5 | import net.minecraft.item.ItemStack; 6 | 7 | public class ItemBlockLanCable extends ItemBlock { 8 | public ItemBlockLanCable(int id) { 9 | super(id); 10 | } 11 | 12 | @Override 13 | public String getItemDisplayName(ItemStack stack) { 14 | int meta = stack.getItemDamage(); 15 | CableType type = BlockLanCable.types.get(meta); 16 | if (type == null) return "[Invalid Cable Type]"; 17 | else return "miscperipherals.lanCable."+type.name; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/carts/IRoutableCart.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) CovertJaguar, 2011 http://railcraft.info 3 | * 4 | * This code is the property of CovertJaguar 5 | * and may only be used with explicit written 6 | * permission unless otherwise specified on the 7 | * license page at railcraft.wikispaces.com. 8 | */ 9 | package mods.railcraft.api.carts; 10 | 11 | import net.minecraft.item.ItemStack; 12 | 13 | /** 14 | * 15 | * @author CovertJaguar 16 | */ 17 | public interface IRoutableCart { 18 | 19 | String getDestination(); 20 | 21 | boolean setDestination(ItemStack ticket); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/austinv11/peripheralsplusplus/blocks/BlockNote.java: -------------------------------------------------------------------------------- 1 | package com.austinv11.peripheralsplusplus.blocks; 2 | 3 | import com.austinv11.peripheralsplusplus.tiles.TileEntityNoteBlock; 4 | import net.minecraft.block.ITileEntityProvider; 5 | import net.minecraft.tileentity.TileEntity; 6 | import net.minecraft.world.World; 7 | 8 | public class BlockNote extends BlockPPP implements ITileEntityProvider { 9 | 10 | public BlockNote() { 11 | super(); 12 | this.setBlockName("noteBlock"); 13 | } 14 | 15 | @Override 16 | public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { 17 | return new TileEntityNoteBlock(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/java/dan200/computercraft/api/turtle/TurtleAnimation.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the public ComputerCraft API - http://www.computercraft.info 3 | * Copyright Daniel Ratcliffe, 2011-2015. This API may be redistributed unmodified and in full only. 4 | * For help using the API, and posting your mods, visit the forums at computercraft.info. 5 | */ 6 | 7 | package dan200.computercraft.api.turtle; 8 | 9 | public enum TurtleAnimation 10 | { 11 | None, 12 | MoveForward, 13 | MoveBack, 14 | MoveUp, 15 | MoveDown, 16 | TurnLeft, 17 | TurnRight, 18 | SwingLeftTool, 19 | SwingRightTool, 20 | Wait, 21 | ShortWait, 22 | } 23 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/core/IIconProvider.java: -------------------------------------------------------------------------------- 1 | package forestry.api.core; 2 | 3 | import net.minecraft.client.renderer.texture.IconRegister; 4 | import net.minecraft.util.Icon; 5 | import cpw.mods.fml.relauncher.Side; 6 | import cpw.mods.fml.relauncher.SideOnly; 7 | 8 | /** 9 | * Provides icons, needed in some interfaces, most notably for bees and trees. 10 | */ 11 | public interface IIconProvider { 12 | 13 | @SideOnly(Side.CLIENT) 14 | Icon getIcon(short texUID); 15 | 16 | @SideOnly(Side.CLIENT) 17 | void registerItemIcons(IconRegister itemMap); 18 | @SideOnly(Side.CLIENT) 19 | void registerTerrainIcons(IconRegister terrainMap); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/transport/IPassiveItemContribution.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2012 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.transport; 11 | 12 | import net.minecraft.nbt.NBTTagCompound; 13 | 14 | public interface IPassiveItemContribution { 15 | 16 | public void readFromNBT(NBTTagCompound nbttagcompound); 17 | 18 | public void writeToNBT(NBTTagCompound nbttagcompound); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/tracks/ITrackSwitch.java: -------------------------------------------------------------------------------- 1 | package mods.railcraft.api.tracks; 2 | 3 | import net.minecraft.util.AxisAlignedBB; 4 | 5 | public interface ITrackSwitch extends ITrackInstance 6 | { 7 | 8 | enum ArrowDirection 9 | { 10 | 11 | NORTH, SOUTH, EAST, WEST, NORTH_SOUTH, EAST_WEST 12 | }; 13 | 14 | public boolean isSwitched(); 15 | 16 | public void setSwitched(boolean switched); 17 | 18 | public boolean isMirrored(); 19 | 20 | public ArrowDirection getRedSignDirection(); 21 | 22 | public ArrowDirection getWhiteSignDirection(); 23 | 24 | public AxisAlignedBB getRoutingSearchBox(); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/gtranslate/text/TextTranslate.java: -------------------------------------------------------------------------------- 1 | package com.gtranslate.text; 2 | 3 | import com.gtranslate.text.Text; 4 | 5 | public class TextTranslate { 6 | 7 | private Text input; 8 | private Text output; 9 | 10 | 11 | public TextTranslate(Text input, String loutput) { 12 | this.input = input; 13 | this.output = new Text(loutput); 14 | } 15 | 16 | public TextTranslate(Text input, Text output) { 17 | this.input = input; 18 | this.output = output; 19 | } 20 | 21 | public Text getInput() { 22 | return this.input; 23 | } 24 | 25 | public Text getOutput() { 26 | return this.output; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/resources/reference/forestry/api/world/IWorldGenInterface.java: -------------------------------------------------------------------------------- 1 | package forestry.api.world; 2 | 3 | import net.minecraft.world.gen.feature.WorldGenerator; 4 | 5 | public interface IWorldGenInterface { 6 | 7 | /** 8 | * Retrieves generators for trees identified by a given string. 9 | * 10 | * Returned generator classes take an {@link ITreeGenData} in the constructor. 11 | * 12 | * @param ident 13 | * Unique identifier for tree type. Forestry's convention is 'treeSpecies', i.e. 'treeBaobab', 'treeSequoia'. 14 | * @return All generators matching the given ident. 15 | */ 16 | Class[] getTreeGenerators(String ident); 17 | } 18 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/external/ExtTrackLauncher.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.external; 2 | 3 | import miscperipherals.safe.Reflector; 4 | import mods.railcraft.api.tracks.ITrackInstance; 5 | 6 | public class ExtTrackLauncher extends ExtTrackNumber { 7 | public ExtTrackLauncher(ITrackInstance track) { 8 | super(track, "launchForce", Byte.class, Reflector.getField("mods.railcraft.common.blocks.tracks.TrackLauncher", "MIN_LAUNCH_FORCE", Integer.class), Reflector.invoke("mods.railcraft.common.core.RailcraftConfig", "getLaunchRailMaxForce", Integer.class)); 9 | } 10 | 11 | @Override 12 | public String getType() { 13 | return "trackLauncher"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/resources/reference/miscperipherals/tile/TileNuclearReaderT2.java: -------------------------------------------------------------------------------- 1 | package miscperipherals.tile; 2 | 3 | import net.minecraft.entity.player.EntityPlayer; 4 | 5 | public class TileNuclearReaderT2 extends TileNuclearReader { 6 | public TileNuclearReaderT2() { 7 | super(9); 8 | } 9 | 10 | @Override 11 | public String getInventoryName() { 12 | return "Adv Nuclear Information Reader"; 13 | } 14 | 15 | @Override 16 | public int getGuiId() { 17 | return -1; 18 | } 19 | 20 | @Override 21 | public boolean onBlockActivated(EntityPlayer player, int side, float hitX, float hitY, float hitZ) { 22 | player.displayGUIChest(this); 23 | return true; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/resources/mcmod.info: -------------------------------------------------------------------------------- 1 | { 2 | "modListVersion": 2, 3 | "modList": [{ 4 | "modid": "PeripheralsPlusPlus", 5 | "name": "Peripherals++", 6 | "description": "A psuedo-port of MiscPeripherals", 7 | "version": "@VERSION@", 8 | "mcversion": "1.7.10", 9 | "url": "austinv11.com", 10 | "updateUrl": "", 11 | "authorList": ["austinv11"], 12 | "credits": "Made by austinv11, some ideas were taken from RichardG", 13 | "logoFile": "", 14 | "screenshots": [], 15 | "parent": "", 16 | "requiredMods": ["Forge","ComputerCraft"], 17 | "dependencies": [], 18 | "dependants": [], 19 | "useDependencyInformation": false 20 | }] 21 | } 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/energy/tile/IEnergyAcceptor.java: -------------------------------------------------------------------------------- 1 | package ic2.api.energy.tile; 2 | 3 | import ic2.api.Direction; 4 | import net.minecraft.tileentity.TileEntity; 5 | 6 | /** 7 | * For internal usage only. 8 | * 9 | * @see IEnergySink 10 | * @see IEnergyConductor 11 | */ 12 | public interface IEnergyAcceptor extends IEnergyTile { 13 | /** 14 | * Determine if this acceptor can accept current from an adjacent emitter in a direction. 15 | * 16 | * @param emitter energy emitter 17 | * @param direction direction the energy is being received from 18 | */ 19 | boolean acceptsEnergyFrom(TileEntity emitter, Direction direction); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /src/api/resources/reference/mods/railcraft/api/signals/IReceiverTile.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This code is the property of CovertJaguar 3 | * and may only be used with explicit written 4 | * permission unless otherwise specified on the 5 | * license page at railcraft.wikispaces.com. 6 | */ 7 | package mods.railcraft.api.signals; 8 | 9 | import net.minecraft.world.World; 10 | 11 | /** 12 | * 13 | * @author CovertJaguar 14 | */ 15 | public interface IReceiverTile { 16 | 17 | public World getWorld(); 18 | 19 | public SignalReceiver getReceiver(); 20 | 21 | public void onControllerAspectChange(SignalController con, SignalAspect aspect); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/api/java/forestry/api/mail/EnumPostage.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011-2014 SirSengir 3 | * 4 | * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details. 5 | ******************************************************************************/ 6 | package forestry.api.mail; 7 | 8 | public enum EnumPostage { 9 | P_0(0), P_1(1), P_2(2), P_5(5), P_10(10), P_20(20), P_50(50), P_100(100), P_200(200); 10 | 11 | private final int value; 12 | 13 | private EnumPostage(int value) { 14 | this.value = value; 15 | } 16 | 17 | public int getValue() { 18 | return this.value; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/energy/IEnergyConnection.java: -------------------------------------------------------------------------------- 1 | package cofh.api.energy; 2 | 3 | import net.minecraftforge.common.util.ForgeDirection; 4 | 5 | /** 6 | * Implement this interface on TileEntities which should connect to energy transportation blocks. This is intended for blocks which generate energy but do not 7 | * accept it; otherwise just use IEnergyHandler. 8 | *

9 | * Note that {@link IEnergyHandler} is an extension of this. 10 | * 11 | * @author King Lemming 12 | * 13 | */ 14 | public interface IEnergyConnection { 15 | 16 | /** 17 | * Returns TRUE if the TileEntity can connect on a given side. 18 | */ 19 | boolean canConnectEnergy(ForgeDirection from); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/cofh/api/tileentity/IAugmentable.java: -------------------------------------------------------------------------------- 1 | package cofh.api.tileentity; 2 | 3 | import net.minecraft.item.ItemStack; 4 | 5 | /** 6 | * Implemented on objects which support Augments. 7 | * 8 | * @author King Lemming 9 | * 10 | */ 11 | public interface IAugmentable { 12 | 13 | /** 14 | * Attempt to reconfigure the tile based on the Augmentations present. 15 | */ 16 | void installAugments(); 17 | 18 | /** 19 | * Returns an array of the Augment slots for this Tile Entity. 20 | */ 21 | ItemStack[] getAugmentSlots(); 22 | 23 | /** 24 | * Returns a status array for the Augmentations installed in the Tile Entity. 25 | */ 26 | boolean[] getAugmentStatus(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/api/resources/reference/buildcraft/api/core/BuildCraftAPI.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) SpaceToad, 2011 3 | * http://www.mod-buildcraft.com 4 | * 5 | * BuildCraft is distributed under the terms of the Minecraft Mod Public 6 | * License 1.0, or MMPL. Please check the contents of the license located in 7 | * http://www.mod-buildcraft.com/MMPL-1.0.txt 8 | */ 9 | 10 | package buildcraft.api.core; 11 | 12 | import net.minecraft.block.Block; 13 | 14 | public class BuildCraftAPI { 15 | 16 | public static final int LAST_ORIGINAL_BLOCK = 122; 17 | public static final int LAST_ORIGINAL_ITEM = 126; 18 | 19 | public static final boolean[] softBlocks = new boolean[Block.blocksList.length]; 20 | } 21 | -------------------------------------------------------------------------------- /src/api/resources/reference/ic2/api/energy/tile/IEnergyEmitter.java: -------------------------------------------------------------------------------- 1 | package ic2.api.energy.tile; 2 | 3 | import ic2.api.Direction; 4 | import net.minecraft.tileentity.TileEntity; 5 | 6 | /** 7 | * For internal usage only. 8 | * 9 | * @see IEnergySource 10 | * @see IEnergyConductor 11 | */ 12 | public interface IEnergyEmitter extends IEnergyTile { 13 | /** 14 | * Determine if this emitter can emit energy to an adjacent receiver. 15 | * 16 | * @param receiver receiver 17 | * @param direction direction the receiver is from the emitter 18 | * @return Whether energy should be emitted 19 | */ 20 | boolean emitsEnergyTo(TileEntity receiver, Direction direction); 21 | } 22 | 23 | --------------------------------------------------------------------------------