Bulb fixes & recipe
This commit is contained in:
parent
c3ab9d26f3
commit
5d27c8df9a
2 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.loot.context.LootContext;
|
import net.minecraft.loot.context.LootContext;
|
||||||
import ru.betterend.blocks.BlockProperties.TripleShape;
|
import ru.betterend.blocks.BlockProperties.TripleShape;
|
||||||
import ru.betterend.blocks.basis.BlockVine;
|
import ru.betterend.blocks.basis.BlockVine;
|
||||||
|
import ru.betterend.registry.EndBlocks;
|
||||||
import ru.betterend.registry.EndItems;
|
import ru.betterend.registry.EndItems;
|
||||||
import ru.betterend.util.MHelper;
|
import ru.betterend.util.MHelper;
|
||||||
|
|
||||||
|
@ -23,7 +24,7 @@ public class BlockBulbVine extends BlockVine {
|
||||||
return Lists.newArrayList(new ItemStack(EndItems.GLOWING_BULB));
|
return Lists.newArrayList(new ItemStack(EndItems.GLOWING_BULB));
|
||||||
}
|
}
|
||||||
else if (MHelper.RANDOM.nextInt(8) == 0) {
|
else if (MHelper.RANDOM.nextInt(8) == 0) {
|
||||||
return Lists.newArrayList(new ItemStack(EndItems.GLOWING_BULB));
|
return Lists.newArrayList(new ItemStack(EndBlocks.BULB_VINE_SEED));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return Lists.newArrayList();
|
return Lists.newArrayList();
|
||||||
|
|
|
@ -113,6 +113,7 @@ public class CraftingRecipes {
|
||||||
|
|
||||||
GridRecipe.make("amber_gem", EndItems.AMBER_GEM).setShape("##", "##").addMaterial('#', EndItems.RAW_AMBER).build();
|
GridRecipe.make("amber_gem", EndItems.AMBER_GEM).setShape("##", "##").addMaterial('#', EndItems.RAW_AMBER).build();
|
||||||
GridRecipe.make("amber_block", EndBlocks.AMBER_BLOCK).setShape("###", "###", "###").addMaterial('#', EndItems.AMBER_GEM).build();
|
GridRecipe.make("amber_block", EndBlocks.AMBER_BLOCK).setShape("###", "###", "###").addMaterial('#', EndItems.AMBER_GEM).build();
|
||||||
|
GridRecipe.make("bulb_lantern", EndBlocks.BULB_VINE_LANTERN).addMaterial('C', Items.CHAIN).addMaterial('I', Items.IRON_INGOT).setShape("C", "I", "#").addMaterial('#', EndItems.GLOWING_BULB).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void registerLantern(String name, Block lantern, Block slab) {
|
private static void registerLantern(String name, Block lantern, Block slab) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue