MCPcopy Index your code
hub / github.com/ForestryMC/ForestryMC

github.com/ForestryMC/ForestryMC @v5.8.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.8.1 ↗ · + Follow
13,429 symbols 38,997 edges 2,115 files 1,240 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Forestry

What is it?

Forestry is a modification for the game Minecraft and known primarily for its farms and bees.

Homepage

Wiki

Latest Builds for 1.11.2/1.12

Discord

For those interested in developement, you can also visit #forestry-dev.

Building

The localization files reside in their own repository. It is pulled in automatically.

You may want to adjust the "./gradle.properties" file to set your mc account as needed.

To setup, open a command line and run "gradlew setupDecompWorkspace". Then run the following depending on your IDE:

Eclipse: "gradlew eclipse" IntelliJ IDEA: "gradlew idea genIntellijRuns"

To package, open a command line and type "gradlew build".

For mod authors: the Forestry maven is located at http://maven.ic2.player.to/net/sengir/forestry/

Notes

Beware of ugly code.

Bugfixes are generally welcome. If you want to contribute something which changes game mechanics, please talk to someone with commit privileges first. Nothing is more frustrating than putting a lot of work and effort into a new game mechanic and then having the PR rejected because it doesn’t fit gameplay-wise.

If you submit a PR you must accept the Contributor License Agreement. There is no way around that, since otherwise changing the license later - even to something more permissive! - , becomes close to impossible.

License & Copyright

Forestry is (c) 2011 - 2014 SirSengir and licensed under LGPL v3. See the LICENSE.txt for all the gory details or go to http://www.gnu.org/licenses/lgpl-3.0.txt for more information. Forestry also contains code contributed by CovertJaguar, Player, MysteriousAges, Binnie, RichardG, cpw and others.

Extension points exported contracts — how you extend this code

IForestryPacketClient (Interface)
A packet sent from the server to the client [77 implementers]
src/main/java/forestry/core/network/IForestryPacketClient.java
InvTweaksAPI (Interface)
Interface to access functions exposed by Inventory Tweaks The main @Mod instance of the mod implements this interfa
src/api/java/invtweaks/api/InvTweaksAPI.java
IToolTipProvider (Interface)
@author CovertJaguar [7 implementers]
src/main/java/forestry/core/gui/tooltips/IToolTipProvider.java
IItemTree (Interface)
(no doc)
src/api/java/invtweaks/api/IItemTree.java
IStateMapperRegister (Interface)
@deprecated TODO Remove in 1.13: Not needed in the api [36 implementers]
src/main/java/forestry/api/core/IStateMapperRegister.java
IItemTreeCategory (Interface)
(no doc)
src/api/java/invtweaks/api/IItemTreeCategory.java
ILocatable (Interface)
Interface for things, that have a location. Must not be named "getWorld" and "getPos" to avoid SpecialSource issue https [9 …
src/main/java/forestry/api/core/ILocatable.java
IItemTreeItem (Interface)
(no doc)
src/api/java/invtweaks/api/IItemTreeItem.java

Core symbols most depended-on inside this repo

add
called by 1071
src/main/java/forestry/api/gui/IElementGroup.java
get
called by 614
src/main/java/forestry/api/climate/IClimateState.java
isEmpty
called by 604
src/main/java/forestry/core/multiblock/IMultiblockControllerInternal.java
set
called by 409
src/main/java/forestry/core/genetics/alleles/IAlleleHelper.java
translateToLocal
called by 386
src/main/java/forestry/core/utils/Translator.java
getInstance
called by 359
src/main/java/forestry/core/genetics/alleles/AlleleHelper.java
put
called by 283
src/main/java/forestry/core/utils/datastructures/StackMap.java
getStackInSlot
called by 247
src/main/java/forestry/core/inventory/IInvSlot.java

Shape

Method 11,327
Class 1,572
Interface 387
Enum 143

Languages

Java100%

Modules by API surface

src/main/java/forestry/core/genetics/alleles/EnumAllele.java58 symbols
src/main/java/forestry/core/tiles/TileForestry.java54 symbols
src/main/java/forestry/farming/multiblock/FarmController.java53 symbols
src/main/java/forestry/core/multiblock/MultiblockControllerBase.java50 symbols
src/main/java/forestry/cultivation/tiles/TilePlanter.java48 symbols
src/main/java/forestry/lepidopterology/entities/EntityButterfly.java47 symbols
src/main/java/forestry/api/gui/IGuiElement.java47 symbols
src/main/java/forestry/mail/TradeStation.java46 symbols
src/main/java/forestry/greenhouse/multiblock/GreenhouseController.java46 symbols
src/main/java/forestry/core/gui/elements/GuiElement.java46 symbols
src/main/java/forestry/mail/Letter.java43 symbols
src/main/java/forestry/farming/multiblock/FakeFarmController.java41 symbols

For agents

$ claude mcp add ForestryMC \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page