Available Methods
- AIR
- STICK
- LAVA_BUCKET
- BOW
- DYE
- DIAMOND_SWORD
- IRON_SWORD
- CLAY_BALL
- BREAD
- COAL
- fire_charge ( )
- SPAWN_EGG
- bucket ( )
- DIAMOND_PICKAXE
- glowstone_dust ( )
- REDSTONE
- POTATO
- LEATHER_BOOTS
- SHIELD
- potionitem ( )
- WOODEN_PICKAXE
- LEATHER
- skull ( )
- ENCHANTED_BOOK
- WRITABLE_BOOK
- STONE_PICKAXE
- APPLE
- GLASS_BOTTLE
- GOLD_NUGGET
- BOOK
- WOODEN_SWORD
- DIAMOND_HELMET
- STONE_SWORD
- REEDS
- GOLDEN_SWORD
- WHEAT
- BEEF
- GOLDEN_PICKAXE
- string ( )
- PUMPKIN_SEEDS
- water_bucket ( )
- DIAMOND_CHESTPLATE
- IRON_INGOT
Related Classes
- java.util.Random
- java.util.UUID
- com.google.common.collect.Lists
- javax.annotation.Nullable
- org.junit.jupiter.api.Test
- javax.annotation.Nonnull
- net.minecraft.world.World
- net.minecraft.item.ItemStack
- net.minecraft.block.Block
- net.minecraft.client.Minecraft
- net.minecraft.item.Item
- net.minecraft.entity.Entity
- net.minecraft.entity.player.EntityPlayer
- net.minecraft.util.ResourceLocation
- net.minecraft.nbt.NBTTagCompound
- net.minecraft.tileentity.TileEntity
- net.minecraft.init.Blocks
- net.minecraft.entity.EntityLivingBase
- net.minecraft.util.math.BlockPos
- net.minecraft.nbt.NBTTagList
- net.minecraft.creativetab.CreativeTabs
- net.minecraft.item.ItemBlock
- net.minecraftforge.fml.common.eventhandler.SubscribeEvent
- net.minecraftforge.oredict.OreDictionary
- net.minecraft.client.resources.I18n
Java Code Examples for net.minecraft.init.Items#fire_charge()
The following examples show how to use
net.minecraft.init.Items#fire_charge() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FireworkRecipeHandler.java From NotEnoughItems with MIT License | 6 votes |
private void loadAllFireworks() { //charges Item[] shapes = new Item[]{null, Items.fire_charge, Items.gold_nugget, Items.feather, Items.skull}; Item[] effects = new Item[]{null, Items.diamond, Items.glowstone_dust}; for (Item shape : shapes) for (Item effect : effects) genRecipe(Items.gunpowder, shape, effect, Items.dye, Items.dye, 0); //fireworks genRecipe(Items.gunpowder, Items.paper, Items.firework_charge, 2); genRecipe(Items.gunpowder, Items.gunpowder, Items.paper, Items.firework_charge, 2); genRecipe(Items.gunpowder, Items.gunpowder, Items.gunpowder, Items.paper, Items.firework_charge, 2); //setup a valid charge to use for the recolour recipe for (int i = 0; i < 9; i++) inventoryCrafting.setInventorySlotContents(i, null); inventoryCrafting.setInventorySlotContents(0, new ItemStack(Items.gunpowder)); inventoryCrafting.setInventorySlotContents(1, new ItemStack(Items.dye)); recipeFireworks.matches(inventoryCrafting, null); ItemStack charge = recipeFireworks.getCraftingResult(null); genRecipe(charge, Items.dye, Items.dye, 1); }