mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 14:34:44 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77d5bcf6d1 | ||
|
|
b43e100d6f | ||
|
|
3483b613aa | ||
|
|
9919f54cc8 | ||
|
|
c4835b735a | ||
|
|
e035bdb914 |
No files matched your search
+6
-6
@@ -1,14 +1,14 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
compile('com.github.GTNewHorizons:ForestryMC:4.8.9:dev')
|
||||
compile('com.github.GTNewHorizons:ForestryMC:4.9.3:dev')
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:BloodMagic:1.5.2:dev')
|
||||
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.5.3:dev')
|
||||
compileOnly('com.github.GTNewHorizons:BloodMagic:1.6.2:dev')
|
||||
compileOnly('com.github.GTNewHorizons:ThaumicHorizons:1.6.1:dev')
|
||||
compileOnly('com.github.GTNewHorizons:Baubles:1.0.4:dev') {transitive = false}
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.10.12-GTNH:api') {transitive = false}
|
||||
compileOnly('com.github.GTNewHorizons:Botania:1.11.1-GTNH:api') {transitive = false}
|
||||
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive = false}
|
||||
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.161:dev')
|
||||
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.5-GTNH:dev')
|
||||
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.48.14:dev')
|
||||
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.6.10-GTNH:dev')
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.21'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.22'
|
||||
}
|
||||
|
||||
|
||||
@@ -131,7 +131,6 @@ import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import gregtech.api.enums.Materials;
|
||||
import magicbees.item.types.CombType;
|
||||
import magicbees.item.types.DropType;
|
||||
@@ -262,7 +261,7 @@ public class BeeProductHelper {
|
||||
}
|
||||
|
||||
public static void initOreDictSProducts() {
|
||||
boolean isGTLoaded = Loader.isModLoaded("gregtech");
|
||||
boolean isGTLoaded = Config.isGTNHCoreModLoaded;
|
||||
SILVER.addProduct(ForestryHelper.itemHoneycomb, 0.10f);
|
||||
if (OreDictionary.getOres("nuggetSilver").size() > 0) {
|
||||
SILVER.addSpecialty(
|
||||
|
||||
@@ -81,12 +81,11 @@ public class MagicApiaryInventory implements IApiaryInventory {
|
||||
}
|
||||
|
||||
public int[] getAccessibleSlotsFromSide(int side) {
|
||||
if (side == 0 || side == 1) {
|
||||
return new int[] { SLOT_QUEEN, SLOT_DRONE };
|
||||
}
|
||||
int[] slots = new int[SLOT_PRODUCTS_COUNT];
|
||||
int[] slots = new int[SLOT_PRODUCTS_COUNT + 2];
|
||||
slots[0] = SLOT_QUEEN;
|
||||
slots[1] = SLOT_DRONE;
|
||||
for (int i = 0, slot = SLOT_PRODUCTS_START; i < SLOT_PRODUCTS_COUNT; ++i, ++slot) {
|
||||
slots[i] = slot;
|
||||
slots[i + 2] = slot;
|
||||
}
|
||||
return slots;
|
||||
}
|
||||
@@ -101,7 +100,7 @@ public class MagicApiaryInventory implements IApiaryInventory {
|
||||
}
|
||||
|
||||
public boolean canExtractItem(int slot, ItemStack itemStack, int side) {
|
||||
return slot >= SLOT_FRAME_START && slot <= SLOT_FRAME_START + 2;
|
||||
return slot >= SLOT_PRODUCTS_START && slot <= SLOT_PRODUCTS_START + SLOT_PRODUCTS_COUNT;
|
||||
}
|
||||
|
||||
public int getInventoryStackLimit() {
|
||||
|
||||
Reference in new issue
Block a user