Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Add your dependencies here

dependencies {
api('com.github.GTNewHorizons:ForestryMC:4.10.17:dev')
implementation('com.github.GTNewHorizons:GTNHLib:0.7.0:dev')
api('com.github.GTNewHorizons:ForestryMC:4.11.0:dev')
implementation('com.github.GTNewHorizons:GTNHLib:0.7.3:dev')

devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.8.0-GTNH:dev')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.8.26-GTNH:dev')

compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.44:api')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.45:api')
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
compileOnly("curse.maven:extrabiomesxl-60041:2273301")
}
14 changes: 13 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ developmentEnvironmentUserName = Developer
# See https://github.com/bsideup/jabel for details on how this works.
enableModernJavaSyntax = true

# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
# and should *not* be used in most situations. -1 disables this.
# forceToolchainVersion = -1

# Enables injecting missing generics into the decompiled source code for a better coding experience.
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
enableGenericInjection = true
Expand Down Expand Up @@ -96,7 +100,9 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =

# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
mixinsPackage =

# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
Expand Down Expand Up @@ -172,6 +178,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
customArchiveBaseName = binnie-mods

# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client

# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server

# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
Expand Down
12 changes: 12 additions & 0 deletions gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/5ee463876563a46fff651cce1bc53a4c/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/5ee463876563a46fff651cce1bc53a4c/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/e1118b4c7c2858d28154d086dbff010e/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/59a9771cad43219260d9aac9a8ec4d6a/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/c5ee947fbfb70bc347d8d531e3a578c4/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/5ee463876563a46fff651cce1bc53a4c/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/832229f0f6f0be60ed817c5a5e5848eb/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/b96cb7670c095245220e7d01d5927b58/redirect
toolchainVersion=25
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 2 additions & 5 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ pluginManagement {
}

plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.6'
}
2 changes: 0 additions & 2 deletions src/main/java/binnie/Binnie.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import binnie.core.ManagerBase;
import binnie.core.genetics.ManagerGenetics;
import binnie.core.item.ManagerItem;
import binnie.core.liquid.ManagerLiquid;
import binnie.core.machines.ManagerMachine;
import binnie.core.resource.ManagerResource;
Expand All @@ -16,6 +15,5 @@ public final class Binnie {
public static ManagerGenetics Genetics = new ManagerGenetics();
public static ManagerLiquid Liquid = new ManagerLiquid();
public static ManagerMachine Machine = new ManagerMachine();
public static ManagerItem Item = new ManagerItem();
public static ManagerResource Resource = new ManagerResource();
}
29 changes: 17 additions & 12 deletions src/main/java/binnie/botany/Botany.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,32 +64,37 @@ public class Botany extends AbstractMod {
@SidedProxy(clientSide = "binnie.botany.proxy.ProxyClient", serverSide = "binnie.botany.proxy.ProxyServer")
public static Proxy proxy;

// Genetics module
public static BlockFlower flower;
public static Item seed;

public static ItemFlower flowerItem;
public static Item pollen;
public static Item seed;
public static ItemDictionary database;

// Gardening module
public static BlockPlant plant;
public static ItemTrowel trowelWood;
public static ItemTrowel trowelStone;
public static ItemTrowel trowelIron;
public static ItemTrowel trowelDiamond;
public static ItemTrowel trowelGold;
public static BlockSoil soil;
public static BlockSoil loam;
public static BlockSoil flowerbed;
public static BlockSoil soilNoWeed;
public static BlockSoil loamNoWeed;
public static BlockSoil flowerbedNoWeed;
public static ItemInsulatedTube insulatedTube;
public static BlockCeramic ceramic;
public static BlockStained stained;
public static BlockCeramicPatterned ceramicTile;
public static BlockCeramicBrick ceramicBrick;

public static ItemSoilMeter soilMeter;
public static ItemInsulatedTube insulatedTube;
public static ItemTrowel trowelWood;
public static ItemTrowel trowelStone;
public static ItemTrowel trowelIron;
public static ItemTrowel trowelDiamond;
public static ItemTrowel trowelGold;
public static ItemMisc misc;
public static ItemFlower flowerItem;
public static ItemPigment pigment;
public static ItemClay clay;
public static BlockCeramic ceramic;
public static BlockCeramicPatterned ceramicTile;
public static BlockStained stained;
public static BlockCeramicBrick ceramicBrick;

public Botany() {
Botany.instance = this;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/flower/ItemBotany.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.flower;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import java.util.List;

import net.minecraft.block.Block;
Expand Down Expand Up @@ -39,6 +41,8 @@ public ItemBotany(String name) {
setCreativeTab(CreativeTabBotany.instance);
setUnlocalizedName(name);
hasSubtypes = true;

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/flower/ItemInsulatedTube.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.flower;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import java.util.List;

import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -25,6 +27,8 @@ public ItemInsulatedTube() {
setUnlocalizedName("insulatedTube");
setCreativeTab(CreativeTabBotany.instance);
setHasSubtypes(true);

registerItem(this, getUnlocalizedName().substring(5));
}

public static ItemStack getInsulateStack(ItemStack stack) {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/gardening/ItemSoilMeter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.gardening;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
Expand Down Expand Up @@ -28,6 +30,8 @@ public ItemSoilMeter() {
setCreativeTab(CreativeTabBotany.instance);
setUnlocalizedName("soilMeter");
setMaxStackSize(1);

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/gardening/ItemTrowel.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.gardening;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
Expand Down Expand Up @@ -28,6 +30,8 @@ public ItemTrowel(Item.ToolMaterial toolMaterial, String material) {
setCreativeTab(CreativeTabBotany.instance);
setUnlocalizedName("trowel" + material);
locName = "trowel" + material;

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/binnie/botany/gardening/ModuleGardening.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.oredict.ShapelessOreRecipe;

import binnie.Binnie;
import binnie.botany.Botany;
import binnie.botany.CreativeTabBotany;
import binnie.botany.api.EnumAcidity;
Expand All @@ -37,6 +36,7 @@
import binnie.core.block.ItemMetadataRenderer;
import binnie.core.block.MultipassItemRenderer;
import binnie.core.block.TileEntityMetadata;
import binnie.core.item.ItemMisc;
import cpw.mods.fml.common.registry.GameRegistry;

public class ModuleGardening implements IInitializable {
Expand Down Expand Up @@ -75,7 +75,7 @@ public void preInit() {
Botany.trowelIron = new ItemTrowel(Item.ToolMaterial.IRON, "Iron");
Botany.trowelDiamond = new ItemTrowel(Item.ToolMaterial.EMERALD, "Diamond");
Botany.trowelGold = new ItemTrowel(Item.ToolMaterial.GOLD, "Gold");
Botany.misc = Binnie.Item.registerMiscItems(BotanyItems.values(), CreativeTabBotany.instance);
Botany.misc = new ItemMisc(CreativeTabBotany.instance, BotanyItems.values());
Botany.pigment = new ItemPigment();
Botany.clay = new ItemClay();

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/genetics/ItemDictionary.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.genetics;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import java.util.List;

import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -25,6 +27,8 @@ public ItemDictionary() {
setCreativeTab(CreativeTabBotany.instance);
setUnlocalizedName("database");
setMaxStackSize(1);

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/items/ItemClay.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.items;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import java.util.List;

import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -22,6 +24,8 @@ public ItemClay() {
setUnlocalizedName("clay");
setHasSubtypes(true);
setCreativeTab(CreativeTabBotany.instance);

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/binnie/botany/items/ItemPigment.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package binnie.botany.items;

import static cpw.mods.fml.common.registry.GameRegistry.registerItem;

import java.util.List;

import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -22,6 +24,8 @@ public ItemPigment() {
setUnlocalizedName("pigment");
setHasSubtypes(true);
setCreativeTab(CreativeTabBotany.instance);

registerItem(this, getUnlocalizedName().substring(5));
}

@Override
Expand Down
Loading