Minecraft Mod. Adds a seed market with a search bar and a scrolling grid.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle
models
src
.gitignore
LICENSE
README.md
build.gradle
dependencies.gradle
gradle.properties
gradlew
gradlew.bat

README.md

FarmingForBlockheads

Minecraft Mod. Adds farming utilities, such as a seed market, fertilizer and feeding troughs.

##Development Builds Potentially unstable in-development releases built straight from the latest code in this repository are available on my Jenkins. They may contain unfinished and broken features and no support is provided for these builds.

IMC API

The below is a list of IMC messages handled by Farming for Blockheads.

  • RegisterMarketCategory (NBT)
    • RegistryName (String) - Resource location, must be prefixed with your mod id!
    • Tooltip (String) - Should be the language key for the tooltip
    • Texture (String) - Resource location to the texture sheet for your category icon
    • TextureX (Integer) - X coordinate of the icon on the texture sheet (icons must be 20x20)
    • TextureY (Integer) - Y coordinate of the icon on the texture sheet (icons must be 20x20)
  • RegisterMarketEntry (NBT)
    • OutputItem (ItemStack)
    • CostItem (ItemStack)
    • Category (String) - Resource location, must be a registered category. Default categories are farmingforblockheads:seeds, farmingforblockheads:saplings and farmingforblockheads:other

Java API

If the IMC API is not enough for you, you can build against Farming for Blockheads' Java API. The Java API allows everything the IMC API does, and certain tasks can only be achieved via the Java API. However, if you don't need that extra control, it is recommended to use the IMC API.

Adding the dependency to your build.gradle

repositories {
    maven {
        url "http://blay09.net:8081/artifactory/jenkins-maven/"
    }
}

dependencies {
    compile "net.blay09.mods:FarmingForBlockheads:<version>"
}

The latest version number can be found on CurseForge.