mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Merge branch 'mc-1.12' of https://github.com/ForestryMC/ForestryMC into dev
This commit is contained in:
commit
b19809bd3c
1 file changed
+10
-10
@@ -239,7 +239,7 @@ public class ModuleApiculture extends BlankForestryModule {
|
||||
// Commands
|
||||
ModuleCore.rootCommand.addChildCommand(new CommandBee());
|
||||
|
||||
if(ModuleHelper.isEnabled(ForestryModuleUids.SORTING)){
|
||||
if (ModuleHelper.isEnabled(ForestryModuleUids.SORTING)) {
|
||||
ApicultureFilterRuleType.init();
|
||||
ApicultureFilterRule.init();
|
||||
}
|
||||
@@ -540,15 +540,15 @@ public class ModuleApiculture extends BlankForestryModule {
|
||||
"C",
|
||||
'B', new ItemStack(blocks.apiary),
|
||||
'C', Items.MINECART);
|
||||
for (int blockCount = 0; blockCount < blocks.beeCombs.length; blockCount++) {
|
||||
BlockHoneyComb block = blocks.beeCombs[blockCount];
|
||||
for (int blockMeta = 0; blockMeta < EnumHoneyComb.VALUES.length - blockCount * 16; blockMeta++) {
|
||||
int itemMeta = blockMeta + blockCount * 16;
|
||||
RecipeUtil.addRecipe("comb." + itemMeta, new ItemStack(block, 1, blockMeta),
|
||||
"###",
|
||||
"###",
|
||||
"###", '#', items.beeComb.get(EnumHoneyComb.get(itemMeta), 1));
|
||||
}
|
||||
for (int i = 0; i < EnumHoneyComb.VALUES.length; i++) {
|
||||
int remainder = i & 15;
|
||||
int quotient = i >> 4;
|
||||
BlockHoneyComb block = blocks.beeCombs[quotient];
|
||||
RecipeUtil.addRecipe("comb." + i, new ItemStack(block, 1, remainder),
|
||||
"###",
|
||||
"###",
|
||||
"###", '#', items.beeComb.get(EnumHoneyComb.get(i), 1));
|
||||
|
||||
}
|
||||
|
||||
// FOOD STUFF
|
||||
|
||||
Reference in new issue
Block a user