我的世界skyblocklog block怎么用

你可能还会喜欢
服务端精品游戏
<div class="spf_off1" style="width:%">10分
<div class="spf_off1" style="width:%">5分
<div class="spf_off1" style="width:%">5.0分
<div class="spf_off1" style="width:%">0分
<div class="spf_off1" style="width:%">6.1分
<div class="spf_off1" style="width:%">6.5分
<div class="spf_off1" style="width:%">6.8分
<div class="spf_off1" style="width:%">8分
<div class="spf_off1" style="width:%">9.1分
<div class="spf_off1" style="width:%">7.3分
<div class="spf_off1" style="width:%">8.3分
<div class="spf_off1" style="width:%">6.7分
从2008年-2014年 快猴网一直在努力做到最好
备案编号:粤ICP备号-1Blocklings Mod 1.11.2/1.10.2 (Trainable, Block Pets) - 9Minecraft.Net
>> Blocklings Mod 1.11.2/1.10.2 (Trainable, Block Pets)
Blocklings Mod 1.11.2/1.10.2 (Trainable, Block Pets)
Blocklings Mod 1.11.2/1.10.2 was inspired by the . It adds small, block-like creatures into your world that spawn in most grassy areas. They can then be tamed using flowers and are able to perform different tasks for you in the world, as well as gain experience and level up. For example, your blockling will be able to guard you from evil creatures at night, go mining with you deep underground, chop trees as a lumberjack and farm a few different crops. There is a complete guide below to hopefully aid you in taming and raising your first blockling.
Screenshots:
Mod Guide:
To start things off, you will need to first locate yourself a blockling. They spawn in most grassy areas just as normal passive mobs would do. From there you are going to need to collect yourself a number of flowers from around the world as flowers are used to tame and heal blocklings. Simply right click on a blockling with a flower to either tame or heal it. Small flowers will heal 1-3 health and big flowers will heal 4-6.
Blockling Upgrades
There are a few simple upgrades you can give your blockling. To apply the upgrades you have to feed your blockling the corresponding item, which will give them a 25% chance of upgrading to that item&#8217;s type. The upgrades will chance the blockling&#8217;s max health, damage and speed.
Available upgrade types: Dirt/grass (default), oak log, stone, iron, gold, diamond, obsidian (fire immunity).
Blockling Stats and Tasks
Now that you have tamed yourself a blockling, it is time to start training them. Firstly, sneak + right click to open up the blockling&#8217;s GUI. This will show you all the information there is regarding your blockling. For further details about the skills you can hover your mouse over the icons to produce a tooltip showing a couple of extra details. At the bottom there are two arrows which can be used to toggle the task they are currently doing. Right clicking the blockling will set its task back to follow or make them sit.
Sitting = Sits the blockling down so they won&#8217;t follow you
Following = Has the blockling follow you very closely (roughly 2-3 blocks away)
Hunting = Has the blockling attack nearly everything in sight
Mining = Allows the blockling to mine nearby ores given they have the correct tools (pickaxe)
Woodcutting &#8211; Allows the blockling to chop nearby trees given the correct tool (axe)
Farming = Allows the blockling to farm nearby crops given the correct tool (how)
Guarding = Will have the blockling stop what they are doing to attack if you attack/are attacked by anything
Dual-wielding is a feature and will make the blockling perform their current task faster, but at the cost of twice the durability being used per task.
Blockling&#8217;s Inventory and Autoswitching
To access the blockling&#8217;s inventory, simply click on the arrows either side in GUI. Here you have access to everything the blockling is holding and their two held item slots, in which you can add any tool you wish. The little &#8220;A&#8221; located between the slots indicates autoswitching. To enable autoswitching just click on the &#8220;A&#8221; to toggle the 4 colours.
Red = No autoswitching will occur
Blue = Autoswitching will only happen in the left slot/main hand
Yellow = Autoswitching will only happen in the right slot.off hand
Green = Autoswitching will happen in both slots, but will prioritise dual wielding for speed
Crafting Recipes:
How to install:
Make sure you have already installed .
Locate the minecraft application folder.
On windows open Run from the start menu, type %appdata% and click Run.
On mac open finder, hold down ALT and click Go then Library in the top menu bar. Open the folder Application Support and look for Minecraft.
Place the mod you have just downloaded (.jar file) into the Mods folder.
When you launch Minecraft and click the mods button you should now see the mod is installed.
Blocklings Mod 1.11.2/1.10.2 Download Links:
For Minecraft 1.7.2
For Minecraft 1.7.10
For Minecraft 1.8.0
For Minecraft 1.9.0
For Minecraft 1.9.4
For Minecraft 1.10.2
For Minecraft 1.11.2
(Rating: 4.44 - 231 votes)
Most viewed in the last 24 hours
3,186 views
3,145 views
2,882 views
2,861 views
2,760 views
2,642 views
2,412 views
2,202 views
2,174 views
2,033 views当前位置:
今天小编我给大家带来了我的世界LogBlock查方块插件命令,下面就让我们一起来看看吧。
编辑:酸汤宝发布时间: 13:04
  今天小编我给大家带来了LogBlock查方块插件命令,下面就让我们一起来看看吧。
  LogBlock查方块插件:
  /lb help -查看帮助
  /lb params -查看所有参数
  /lb commands -查看所有指令
  /lb tool -拿起检查工具(预设是木锄,这木锄可以打一下block就可以查看记录,不用输入指令)
  /lb redo 参数 -block被回滚后还原
  /lb clearlog 参数 -删除该参数的记录(注意:不可还原)
  简单例子:
  /lb rollback player mcbbs since 1d3h -玩家&mcbbs&所做的一切回滚到一天3小时前
  /lb rollback player mcbbs since 1d3h area 15 --玩家&mcbbs&15格内所做的一切回滚到一天3小时前
  /lb rollback area 10 since 1h30m -回滚10格内所有东西到1小时30分钟前
  /lb rollback area 10 before 06.11.2011 -回滚10格内的东西到日(服务器时间)
  /lb area 3 chestaccess -检查3格内的箱子存取记录
  /lb player !mcbbs area 3 chestaccess -检查玩家mcbbs于3格内存取箱子记录
  /lb area 4 destroyed -检查4格内被破坏的block
  /lb area 30 sum players created -检查30格内所有建筑及破坏记录
  /lb area 30 player mcbbs sum blocks created -检查玩家mcbbs 30格内建筑及破坏记录
  /lb area 10 -检查10格范围内的记录
  /lb redo player mcbbs since 1d --被回档的玩家所做的一切还原回1天前
经营许可证:皖ICP备号-1,QQ:1104747 、5633249本系统正在不断完善中,当前模式:使用生成服务器状态图且7天内状态图被访问过的服务器,按更新时间倒序显示在此列表中。
已上线,支持自助添加/修改/认领服务器!欢迎各位服主入驻。 本列表的更新贴图,请采用网页内正常展出,感谢您的配合。
当前列表总共有 206 台在线服务器(不含状态超出7天的),总在线玩家数量约
个【8.28 加入人数统计,点击服务器人数或左边的总在线玩家数即可跳转图表】
服务器说明
服务器连接地址(点击可复制)
更新时玩家
状态被更新时间
946221日 19:364121日 20:111072721日 19:3748488521日 19:3748482121日 19:3748479521日 19:3748483221日 23:10882121日 23:09894021日 23:091344021日 23:09902721日 23:07587621日 23:061065221日 23:04119521日 23:03830021日 22:5728821日 22:511026821日 22:45922421日 22:3938305521日 22:331009621日 22:261057221日 22:23891721日 22:21985021日 22:204743621日 22:17565221日 22:15800521日 22:04
祝您在MC世界里玩的开心!
Powered by
Processed in 0.035792 second.Java Code Example net.minecraft.block.BlockStone
Java Code Examples for net.minecraft.block.BlockStone
The following are top voted examples for showing how to use
net.minecraft.block.BlockStone. These examples are extracted from open source projects.
You can vote up the examples you like and your votes will be used in our system to product
more good examples.
+ Save this class to your library
protected boolean caveableBlock(IBlockState blockstate, IBlockState aboveblockstate) {
if (aboveblockstate.getBlock().getMaterial() == Material.water)
blockstate.getBlock() instanceof BlockStone
|| blockstate.getBlock() instanceof BlockDirt
|| blockstate.getBlock() instanceof BlockGrass
public boolean onBlockStartBreak(ItemStack stack, BlockPos pos, EntityPlayer player)
if(!player.capabilities.isCreativeMode)
World world = player.getEntityWorld();
Block block = world.getBlockState(pos).getBlock();
if(block instanceof BlockDirt || block instanceof BlockGrass)
world.setBlockState(pos, mod_SecurityCraft.reinforcedDirt.getDefaultState());
else if(block instanceof BlockStone)
world.setBlockState(pos, mod_SecurityCraft.reinforcedStone.getDefaultState());
else if(block instanceof BlockPlanks)
world.setBlockState(pos, mod_SecurityCraft.reinforcedWoodPlanks.getStateFromMeta(block.getDamageValue(world, pos)), 2);
else if(block instanceof BlockGlass)
world.setBlockState(pos, mod_SecurityCraft.reinforcedGlass.getDefaultState());
else if(block.getUnlocalizedName().equals(Blocks.glass_pane.getUnlocalizedName())) //glass panes and iron bars share the same class
world.setBlockState(pos, mod_SecurityCraft.reinforcedGlassPane.getDefaultState());
else if(block.getUnlocalizedName().equals(Blocks.cobblestone.getUnlocalizedName())) //cobblestone doesn't have its own class
world.setBlockState(pos, mod_SecurityCraft.reinforcedCobblestone.getDefaultState());
else if(block.getUnlocalizedName().equals(Blocks.iron_bars.getUnlocalizedName())) //glass panes and iron bars share the same class
world.setBlockState(pos, mod_SecurityCraft.unbreakableIronBars.getDefaultState());
else if(block instanceof BlockSandStone)
world.setBlockState(pos, mod_SecurityCraft.reinforcedSandstone.getStateFromMeta(block.getDamageValue(world, pos)), 2);
world.destroyBlock(pos, true); //destroy the block without the ubr taking damage
//the following only happens if a block has been changed, as the else statement terminates in itself
((IOwnable)world.getTileEntity(pos)).setOwner(player.getGameProfile().getId().toString(), player.getName());
stack.damageItem(1, player);
public boolean onBlockStartBreak(ItemStack stack, int x, int y, int z, EntityPlayer player)
if(!player.capabilities.isCreativeMode)
World world = player.getEntityWorld();
Block block = world.getBlock(x, y, z);
if(block instanceof BlockDirt || block instanceof BlockGrass)
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedDirt);
else if(block instanceof BlockStone)
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedStone);
else if(block instanceof BlockWood)
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedWoodPlanks, block.getDamageValue(world, x, y, z), 2);
else if(block instanceof BlockGlass)
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedGlass);
else if(block.getUnlocalizedName().equals(Blocks.glass_pane.getUnlocalizedName())) //glass panes and iron bars share the same class
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedGlassPane);
else if(block.getUnlocalizedName().equals(Blocks.cobblestone.getUnlocalizedName())) //cobblestone doesn't have its own class
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedCobblestone);
else if(block.getUnlocalizedName().equals(Blocks.iron_bars.getUnlocalizedName())) //glass panes and iron bars share the same class
world.setBlock(x, y, z, mod_SecurityCraft.unbreakableIronBars);
else if(block instanceof BlockSandStone)
world.setBlock(x, y, z, mod_SecurityCraft.reinforcedSandstone, block.getDamageValue(world, x, y, z), 2);
world.func_147480_a(x, y, z, true); //destroy the block without the ubr taking damage
//the following only happens if a block has been changed, as the else statement terminates in itself
((IOwnable)world.getTileEntity(x, y, z)).setOwner(player.getGameProfile().getId().toString(), player.getCommandSenderName());
stack.damageItem(1, player);
* Adds the crafting recipes to the CraftingManager.
public void addRecipes(CraftingManager p_77589_1_)
p_77589_1_.addRecipe(new ItemStack(Blocks.chest), new Object[] {&###&, &# #&, &###&, '#', Blocks.planks});
p_77589_1_.addRecipe(new ItemStack(Blocks.trapped_chest), new Object[] {&#-&, '#', Blocks.chest, '-', Blocks.tripwire_hook});
p_77589_1_.addRecipe(new ItemStack(Blocks.ender_chest), new Object[] {&###&, &#E#&, &###&, '#', Blocks.obsidian, 'E', Items.ender_eye});
p_77589_1_.addRecipe(new ItemStack(Blocks.furnace), new Object[] {&###&, &# #&, &###&, '#', Blocks.cobblestone});
p_77589_1_.addRecipe(new ItemStack(Blocks.crafting_table), new Object[] {&##&, &##&, '#', Blocks.planks});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.SAND.func_176688_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.RED_SAND.func_176688_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone, 4, BlockSandStone.EnumType.SMOOTH.func_176675_a()), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.DEFAULT.func_176675_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone, 4, BlockRedSandstone.EnumType.SMOOTH.getMetaFromState()), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.DEFAULT.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.CHISELED.func_176675_a()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SAND.func_176624_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.CHISELED.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab2, 1, BlockStoneSlabNew.EnumType.RED_SANDSTONE.func_176915_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.CHISELED.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.QUARTZ.func_176624_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.quartz_block, 2, BlockQuartz.EnumType.LINES_Y.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.DEFAULT.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stonebrick, 4), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.STONE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.CHISELED_META), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SMOOTHBRICK.func_176624_a())});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.MOSSY_META), new Object[] {Blocks.stonebrick, Blocks.vine});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.mossy_cobblestone, 1), new Object[] {Blocks.cobblestone, Blocks.vine});
p_77589_1_.addRecipe(new ItemStack(Blocks.iron_bars, 16), new Object[] {&###&, &###&, '#', Items.iron_ingot});
p_77589_1_.addRecipe(new ItemStack(Blocks.glass_pane, 16), new Object[] {&###&, &###&, '#', Blocks.glass});
p_77589_1_.addRecipe(new ItemStack(Blocks.redstone_lamp, 1), new Object[] {& R &, &RGR&, & R &, 'R', Items.redstone, 'G', Blocks.glowstone});
p_77589_1_.addRecipe(new ItemStack(Blocks.beacon, 1), new Object[] {&GGG&, &GSG&, &OOO&, 'G', Blocks.glass, 'S', Items.nether_star, 'O', Blocks.obsidian});
p_77589_1_.addRecipe(new ItemStack(Blocks.nether_brick, 1), new Object[] {&NN&, &NN&, 'N', Items.netherbrick});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 2, BlockStone.EnumType.DIORITE.getMetaFromState()), new Object[] {&CQ&, &QC&, 'C', Blocks.cobblestone, 'Q', Items.quartz});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState()), new Object[] {new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Items.quartz});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stone, 2, BlockStone.EnumType.ANDESITE.getMetaFromState()), new Object[] {new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Blocks.cobblestone});
p_77589_1_.addRecipe(new ItemStack(Blocks.dirt, 4, BlockDirt.DirtType.COARSE_DIRT.getMetadata()), new Object[] {&DG&, &GD&, 'D', new ItemStack(Blocks.dirt, 1, BlockDirt.DirtType.DIRT.getMetadata()), 'G', Blocks.gravel});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.DIORITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.GRANITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.ANDESITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.ANDESITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.ROUGHMETA), new Object[] {&SS&, &SS&, 'S', Items.prismarine_shard});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.BRICKSMETA), new Object[] {&SSS&, &SSS&, &SSS&, 'S', Items.prismarine_shard});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.DARKMETA), new Object[] {&SSS&, &SIS&, &SSS&, 'S', Items.prismarine_shard, 'I', new ItemStack(Items.dye, 1, EnumDyeColor.BLACK.getDyeColorDamage())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sea_lantern, 1, 0), new Object[] {&SCS&, &CCC&, &SCS&, 'S', Items.prismarine_shard, 'C', Items.prismarine_crystals});
public void func_180292_a(World worldIn, Random p__, BiomeGenBase p__, BlockPos p__)
if (this.currentWorld != null)
throw new RuntimeException(&Already decorating&);
this.currentWorld = worldIn;
String var5 = worldIn.getWorldInfo().getGeneratorOptions();
if (var5 != null)
this.field_180293_d = ChunkProviderSettings.Factory.func_177865_a(var5).func_177864_b();
this.field_180293_d = ChunkProviderSettings.Factory.func_177865_a(&&).func_177864_b();
this.randomGenerator = p__;
this.field_180294_c = p__;
this.dirtGen = new WorldGenMinable(Blocks.dirt.getDefaultState(), this.field_180293_d.field_177789_I);
this.gravelGen = new WorldGenMinable(Blocks.gravel.getDefaultState(), this.field_180293_d.field_177785_M);
this.field_180296_j = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.GRANITE), this.field_180293_d.field_177796_Q);
this.field_180297_k = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.DIORITE), this.field_180293_d.field_177792_U);
this.field_180295_l = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.ANDESITE), this.field_180293_d.field_177800_Y);
this.coalGen = new WorldGenMinable(Blocks.coal_ore.getDefaultState(), this.field_180293_d.field_177844_ac);
this.ironGen = new WorldGenMinable(Blocks.iron_ore.getDefaultState(), this.field_180293_d.field_177848_ag);
this.goldGen = new WorldGenMinable(Blocks.gold_ore.getDefaultState(), this.field_180293_d.field_177828_ak);
this.field_180299_p = new WorldGenMinable(Blocks.redstone_ore.getDefaultState(), this.field_180293_d.field_177836_ao);
this.field_180298_q = new WorldGenMinable(Blocks.diamond_ore.getDefaultState(), this.field_180293_d.field_177814_as);
this.lapisGen = new WorldGenMinable(Blocks.lapis_ore.getDefaultState(), this.field_180293_d.field_177822_aw);
this.genDecorations(p__);
this.currentWorld =
this.randomGenerator =
public void populate(IChunkProvider ichunkprovider, int i, int j) {
BlockFalling.fallInstantly =
int k = i * 16;
int l = j * 16;
BlockPos blockpos = new BlockPos(k, 0, l);
BiomeGenBase biomegenbase =
worldObj.getBiomeGenForCoords(blockpos.add(16, 0, 16));
rand.setSeed( worldObj.getSeed());
rand.nextLong() / 2L * 2L + 1L;
rand.nextLong() / 2L * 2L + 1L;
rand.setSeed((long)i * i1 + (long)j * j1 ^
worldObj.getSeed());
boolean flag =
MinecraftForge.EVENT_BUS.post(new PopulateChunkEvent.Pre(ichunkprovider, worldObj, rand, i, j, flag));
if (currentWorld != null)
throw new RuntimeException(&Already decorating&);
currentWorld = worldO
String s = worldObj.getWorldInfo().getGeneratorOptions();
if (s != null)
chunkProviderSettings = ChunkProviderSettings.Factory.func_177865_a(s).func_177864_b();
chunkProviderSettings = ChunkProviderSettings.Factory.func_177865_a(&&).func_177864_b();
randomGenerator =
field_180294_c =
dirtGen = new WorldGenMinable(Blocks.dirt.getDefaultState(), chunkProviderSettings.dirtSize);
gravelGen = new WorldGenMinable(Blocks.gravel.getDefaultState(), chunkProviderSettings.gravelSize);
graniteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.GRANITE), chunkProviderSettings.graniteSize);
dioriteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.DIORITE), chunkProviderSettings.dioriteSize);
andesiteGen = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.ANDESITE), chunkProviderSettings.andesiteSize);
genDecorations(biomegenbase);
currentWorld =
randomGenerator =
MinecraftForge.EVENT_BUS.post(new PopulateChunkEvent.Post(ichunkprovider, worldObj, rand, i, j, flag));
BlockFalling.fallInstantly =
* Adds the crafting recipes to the CraftingManager.
public void addRecipes(CraftingManager p_77589_1_)
p_77589_1_.addRecipe(new ItemStack(Blocks.chest), new Object[] {&###&, &# #&, &###&, '#', Blocks.planks});
p_77589_1_.addRecipe(new ItemStack(Blocks.trapped_chest), new Object[] {&#-&, '#', Blocks.chest, '-', Blocks.tripwire_hook});
p_77589_1_.addRecipe(new ItemStack(Blocks.ender_chest), new Object[] {&###&, &#E#&, &###&, '#', Blocks.obsidian, 'E', Items.ender_eye});
p_77589_1_.addRecipe(new ItemStack(Blocks.furnace), new Object[] {&###&, &# #&, &###&, '#', Blocks.cobblestone});
p_77589_1_.addRecipe(new ItemStack(Blocks.crafting_table), new Object[] {&##&, &##&, '#', Blocks.planks});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.SAND.func_176688_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sand, 1, BlockSand.EnumType.RED_SAND.func_176688_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone, 4, BlockSandStone.EnumType.SMOOTH.func_176675_a()), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.DEFAULT.func_176675_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone, 4, BlockRedSandstone.EnumType.SMOOTH.getMetaFromState()), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.DEFAULT.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sandstone, 1, BlockSandStone.EnumType.CHISELED.func_176675_a()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SAND.func_176624_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.red_sandstone, 1, BlockRedSandstone.EnumType.CHISELED.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab2, 1, BlockStoneSlabNew.EnumType.RED_SANDSTONE.func_176915_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.CHISELED.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.QUARTZ.func_176624_a())});
p_77589_1_.addRecipe(new ItemStack(Blocks.quartz_block, 2, BlockQuartz.EnumType.LINES_Y.getMetaFromState()), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.quartz_block, 1, BlockQuartz.EnumType.DEFAULT.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stonebrick, 4), new Object[] {&##&, &##&, '#', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.STONE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.CHISELED_META), new Object[] {&#&, &#&, '#', new ItemStack(Blocks.stone_slab, 1, BlockStoneSlab.EnumType.SMOOTHBRICK.func_176624_a())});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stonebrick, 1, BlockStoneBrick.MOSSY_META), new Object[] {Blocks.stonebrick, Blocks.vine});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.mossy_cobblestone, 1), new Object[] {Blocks.cobblestone, Blocks.vine});
p_77589_1_.addRecipe(new ItemStack(Blocks.iron_bars, 16), new Object[] {&###&, &###&, '#', Items.iron_ingot});
p_77589_1_.addRecipe(new ItemStack(Blocks.glass_pane, 16), new Object[] {&###&, &###&, '#', Blocks.glass});
p_77589_1_.addRecipe(new ItemStack(Blocks.redstone_lamp, 1), new Object[] {& R &, &RGR&, & R &, 'R', Items.redstone, 'G', Blocks.glowstone});
p_77589_1_.addRecipe(new ItemStack(Blocks.beacon, 1), new Object[] {&GGG&, &GSG&, &OOO&, 'G', Blocks.glass, 'S', Items.nether_star, 'O', Blocks.obsidian});
p_77589_1_.addRecipe(new ItemStack(Blocks.nether_brick, 1), new Object[] {&NN&, &NN&, 'N', Items.netherbrick});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 2, BlockStone.EnumType.DIORITE.getMetaFromState()), new Object[] {&CQ&, &QC&, 'C', Blocks.cobblestone, 'Q', Items.quartz});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState()), new Object[] {new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Items.quartz});
p_77589_1_.addShapelessRecipe(new ItemStack(Blocks.stone, 2, BlockStone.EnumType.ANDESITE.getMetaFromState()), new Object[] {new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState()), Blocks.cobblestone});
p_77589_1_.addRecipe(new ItemStack(Blocks.dirt, 4, BlockDirt.DirtType.COARSE_DIRT.getMetadata()), new Object[] {&DG&, &GD&, 'D', new ItemStack(Blocks.dirt, 1, BlockDirt.DirtType.DIRT.getMetadata()), 'G', Blocks.gravel});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.DIORITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.DIORITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.GRANITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.GRANITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.stone, 4, BlockStone.EnumType.ANDESITE_SMOOTH.getMetaFromState()), new Object[] {&SS&, &SS&, 'S', new ItemStack(Blocks.stone, 1, BlockStone.EnumType.ANDESITE.getMetaFromState())});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.ROUGHMETA), new Object[] {&SS&, &SS&, 'S', Items.prismarine_shard});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.BRICKSMETA), new Object[] {&SSS&, &SSS&, &SSS&, 'S', Items.prismarine_shard});
p_77589_1_.addRecipe(new ItemStack(Blocks.prismarine, 1, BlockPrismarine.DARKMETA), new Object[] {&SSS&, &SIS&, &SSS&, 'S', Items.prismarine_shard, 'I', new ItemStack(Items.dye, 1, EnumDyeColor.BLACK.getDyeColorDamage())});
p_77589_1_.addRecipe(new ItemStack(Blocks.sea_lantern, 1, 0), new Object[] {&SCS&, &CCC&, &SCS&, 'S', Items.prismarine_shard, 'C', Items.prismarine_crystals});
public void func_180292_a(World worldIn, Random p__, BiomeGenBase p__, BlockPos p__)
if (this.currentWorld != null)
throw new RuntimeException(&Already decorating&);
this.currentWorld = worldIn;
String var5 = worldIn.getWorldInfo().getGeneratorOptions();
if (var5 != null)
this.field_180293_d = ChunkProviderSettings.Factory.func_177865_a(var5).func_177864_b();
this.field_180293_d = ChunkProviderSettings.Factory.func_177865_a(&&).func_177864_b();
this.randomGenerator = p__;
this.field_180294_c = p__;
this.dirtGen = new WorldGenMinable(Blocks.dirt.getDefaultState(), this.field_180293_d.field_177789_I);
this.gravelGen = new WorldGenMinable(Blocks.gravel.getDefaultState(), this.field_180293_d.field_177785_M);
this.field_180296_j = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.GRANITE), this.field_180293_d.field_177796_Q);
this.field_180297_k = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.DIORITE), this.field_180293_d.field_177792_U);
this.field_180295_l = new WorldGenMinable(Blocks.stone.getDefaultState().withProperty(BlockStone.VARIANT_PROP, BlockStone.EnumType.ANDESITE), this.field_180293_d.field_177800_Y);
this.coalGen = new WorldGenMinable(Blocks.coal_ore.getDefaultState(), this.field_180293_d.field_177844_ac);
this.ironGen = new WorldGenMinable(Blocks.iron_ore.getDefaultState(), this.field_180293_d.field_177848_ag);
this.goldGen = new WorldGenMinable(Blocks.gold_ore.getDefaultState(), this.field_180293_d.field_177828_ak);
this.field_180299_p = new WorldGenMinable(Blocks.redstone_ore.getDefaultState(), this.field_180293_d.field_177836_ao);
this.field_180298_q = new WorldGenMinable(Blocks.diamond_ore.getDefaultState(), this.field_180293_d.field_177814_as);
this.lapisGen = new WorldGenMinable(Blocks.lapis_ore.getDefaultState(), this.field_180293_d.field_177822_aw);
this.genDecorations(p__);
this.currentWorld =
this.randomGenerator =
public IBlockState decideBlockState(float gpaWeight, IBlockState oldState)
if (oldState.getBlock() instanceof BlockStone)
if (itemRand.nextFloat() & gpaWeight * gpaWeight * gpaWeight * gpaWeight)
ChunkProviderSettings.Factory factory = new ChunkProviderSettings.Factory();
int coalWeight = factory.coalCount * factory.coalSize * 256
/ (factory.coalMaxHeight - factory.coalMinHeight);
int diamondWeight = factory.diamondCount * factory.diamondSize * 256
/ (factory.diamondMaxHeight - factory.diamondMinHeight);
int dirtWeight = factory.dirtCount * factory.dirtSize * 256
/ (factory.dirtMaxHeight - factory.dirtMinHeight);
int goldWeight = factory.goldCount * factory.goldSize * 256
/ (factory.goldMaxHeight - factory.goldMinHeight);
int gravelWeight = factory.gravelCount * factory.gravelSize * 256
/ (factory.gravelMaxHeight - factory.gravelMinHeight);
int ironWeight = factory.ironCount * factory.ironSize * 256
/ (factory.ironMaxHeight - factory.ironMinHeight);
int lapisWeight = factory.lapisCount * factory.lapisSize * 256 / factory.lapisS
int redstoneWeight = factory.redstoneCount * factory.redstoneSize * 256
/ (factory.redstoneMaxHeight - factory.redstoneMinHeight);
List&OreBlock& oreList = new ArrayList&OreBlock&();
oreList.add(new OreBlock(Blocks.coal_ore.getDefaultState(), coalWeight));
oreList.add(new OreBlock(Blocks.diamond_ore.getDefaultState(), diamondWeight));
oreList.add(new OreBlock(Blocks.dirt.getDefaultState(), dirtWeight));
oreList.add(new OreBlock(Blocks.gold_ore.getDefaultState(), goldWeight));
oreList.add(new OreBlock(Blocks.gravel.getDefaultState(), gravelWeight));
oreList.add(new OreBlock(Blocks.iron_ore.getDefaultState(), ironWeight));
oreList.add(new OreBlock(Blocks.lapis_ore.getDefaultState(), lapisWeight));
oreList.add(new OreBlock(Blocks.redstone_ore.getDefaultState(), redstoneWeight));
return ((OreBlock) WeightedRandom.getRandomItem(itemRand, oreList)).
if (oldState.getBlock() instanceof BlockOre || oldState.getBlock() instanceof BlockRedstoneOre
|| oldState.getBlock() instanceof BlockStone)
return itemRand.nextInt(16) == 0 ? Blocks.quartz_ore.getDefaultState()
: Blocks.netherrack.getDefaultState();
return oldS
Example 10
public static void registerItems()
registerItemBlock(Blocks.stone, (new ItemMultiTexture(Blocks.stone, Blocks.stone, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockStone.EnumType.getStateFromMeta(stack.getMetadata()).func_176644_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&stone&));
registerItemBlock(Blocks.grass, new ItemColored(Blocks.grass, false));
registerItemBlock(Blocks.dirt, (new ItemMultiTexture(Blocks.dirt, Blocks.dirt, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockDirt.DirtType.byMetadata(stack.getMetadata()).getUnlocalizedName();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&dirt&));
registerItemBlock(Blocks.cobblestone);
registerItemBlock(Blocks.planks, (new ItemMultiTexture(Blocks.planks, Blocks.planks, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockPlanks.EnumType.func_176837_a(stack.getMetadata()).func_176840_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&wood&));
registerItemBlock(Blocks.sapling, (new ItemMultiTexture(Blocks.sapling, Blocks.sapling, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockPlanks.EnumType.func_176837_a(stack.getMetadata()).func_176840_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&sapling&));
registerItemBlock(Blocks.bedrock);
registerItemBlock(Blocks.sand, (new ItemMultiTexture(Blocks.sand, Blocks.sand, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockSand.EnumType.func_176686_a(stack.getMetadata()).func_176685_d();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&sand&));
registerItemBlock(Blocks.gravel);
registerItemBlock(Blocks.gold_ore);
registerItemBlock(Blocks.iron_ore);
registerItemBlock(Blocks.coal_ore);
registerItemBlock(Blocks.log, (new ItemMultiTexture(Blocks.log, Blocks.log, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockPlanks.EnumType.func_176837_a(stack.getMetadata()).func_176840_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&log&));
registerItemBlock(Blocks.log2, (new ItemMultiTexture(Blocks.log2, Blocks.log2, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockPlanks.EnumType.func_176837_a(stack.getMetadata() + 4).func_176840_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&log&));
registerItemBlock(Blocks.leaves, (new ItemLeaves(Blocks.leaves)).setUnlocalizedName(&leaves&));
registerItemBlock(Blocks.leaves2, (new ItemLeaves(Blocks.leaves2)).setUnlocalizedName(&leaves&));
registerItemBlock(Blocks.sponge, (new ItemMultiTexture(Blocks.sponge, Blocks.sponge, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return (stack.getMetadata() & 1) == 1 ? &wet& : &dry&;
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&sponge&));
registerItemBlock(Blocks.glass);
registerItemBlock(Blocks.lapis_ore);
registerItemBlock(Blocks.lapis_block);
registerItemBlock(Blocks.dispenser);
registerItemBlock(Blocks.sandstone, (new ItemMultiTexture(Blocks.sandstone, Blocks.sandstone, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockSandStone.EnumType.func_176673_a(stack.getMetadata()).func_176676_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&sandStone&));
registerItemBlock(Blocks.noteblock);
registerItemBlock(Blocks.golden_rail);
registerItemBlock(Blocks.detector_rail);
registerItemBlock(Blocks.sticky_piston, new ItemPiston(Blocks.sticky_piston));
registerItemBlock(Blocks.web);
registerItemBlock(Blocks.tallgrass, (new ItemColored(Blocks.tallgrass, true)).func_150943_a(new String[] { &shrub&, &grass&, &fern& }));
registerItemBlock(Blocks.deadbush);
registerItemBlock(Blocks.piston, new ItemPiston(Blocks.piston));
registerItemBlock(Blocks.wool, (new ItemCloth(Blocks.wool)).setUnlocalizedName(&cloth&));
registerItemBlock(Blocks.yellow_flower, (new ItemMultiTexture(Blocks.yellow_flower, Blocks.yellow_flower, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockFlower.EnumFlowerType.func_176967_a(BlockFlower.EnumFlowerColor.YELLOW, stack.getMetadata()).func_176963_d();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&flower&));
registerItemBlock(Blocks.red_flower, (new ItemMultiTexture(Blocks.red_flower, Blocks.red_flower, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockFlower.EnumFlowerType.func_176967_a(BlockFlower.EnumFlowerColor.RED, stack.getMetadata()).func_176963_d();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&rose&));
registerItemBlock(Blocks.brown_mushroom);
registerItemBlock(Blocks.red_mushroom);
registerItemBlock(Blocks.gold_block);
registerItemBlock(Blocks.iron_block);
registerItemBlock(Blocks.stone_slab, (new ItemSlab(Blocks.stone_slab, Blocks.stone_slab, Blocks.double_stone_slab)).setUnlocalizedName(&stoneSlab&));
registerItemBlock(Blocks.brick_block);
registerItemBlock(Blocks.tnt);
registerItemBlock(Blocks.bookshelf);
registerItemBlock(Blocks.mossy_cobblestone);
registerItemBlock(Blocks.obsidian);
registerItemBlock(Blocks.torch);
registerItemBlock(Blocks.mob_spawner);
registerItemBlock(Blocks.oak_stairs);
registerItemBlock(Blocks.chest);
registerItemBlock(Blocks.diamond_ore);
registerItemBlock(Blocks.diamond_block);
registerItemBlock(Blocks.crafting_table);
registerItemBlock(Blocks.farmland);
registerItemBlock(Blocks.furnace);
registerItemBlock(Blocks.lit_furnace);
registerItemBlock(Blocks.ladder);
registerItemBlock(Blocks.rail);
registerItemBlock(Blocks.stone_stairs);
registerItemBlock(Blocks.lever);
registerItemBlock(Blocks.stone_pressure_plate);
registerItemBlock(Blocks.wooden_pressure_plate);
registerItemBlock(Blocks.redstone_ore);
registerItemBlock(Blocks.redstone_torch);
registerItemBlock(Blocks.stone_button);
registerItemBlock(Blocks.snow_layer, new ItemSnow(Blocks.snow_layer));
registerItemBlock(Blocks.ice);
registerItemBlock(Blocks.snow);
registerItemBlock(Blocks.cactus);
registerItemBlock(Blocks.clay);
registerItemBlock(Blocks.jukebox);
registerItemBlock(Blocks.oak_fence);
registerItemBlock(Blocks.spruce_fence);
registerItemBlock(Blocks.birch_fence);
registerItemBlock(Blocks.jungle_fence);
registerItemBlock(Blocks.dark_oak_fence);
registerItemBlock(Blocks.acacia_fence);
registerItemBlock(Blocks.pumpkin);
registerItemBlock(Blocks.netherrack);
registerItemBlock(Blocks.soul_sand);
registerItemBlock(Blocks.glowstone);
registerItemBlock(Blocks.lit_pumpkin);
registerItemBlock(Blocks.trapdoor);
registerItemBlock(Blocks.monster_egg, (new ItemMultiTexture(Blocks.monster_egg, Blocks.monster_egg, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockSilverfish.EnumType.func_176879_a(stack.getMetadata()).func_176882_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&monsterStoneEgg&));
registerItemBlock(Blocks.stonebrick, (new ItemMultiTexture(Blocks.stonebrick, Blocks.stonebrick, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockStoneBrick.EnumType.getStateFromMeta(stack.getMetadata()).getVariantName();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&stonebricksmooth&));
registerItemBlock(Blocks.brown_mushroom_block);
registerItemBlock(Blocks.red_mushroom_block);
registerItemBlock(Blocks.iron_bars);
registerItemBlock(Blocks.glass_pane);
registerItemBlock(Blocks.melon_block);
registerItemBlock(Blocks.vine, new ItemColored(Blocks.vine, false));
registerItemBlock(Blocks.oak_fence_gate);
registerItemBlock(Blocks.spruce_fence_gate);
registerItemBlock(Blocks.birch_fence_gate);
registerItemBlock(Blocks.jungle_fence_gate);
registerItemBlock(Blocks.dark_oak_fence_gate);
registerItemBlock(Blocks.acacia_fence_gate);
registerItemBlock(Blocks.brick_stairs);
registerItemBlock(Blocks.stone_brick_stairs);
registerItemBlock(Blocks.mycelium);
registerItemBlock(Blocks.waterlily, new ItemLilyPad(Blocks.waterlily));
registerItemBlock(Blocks.nether_brick);
registerItemBlock(Blocks.nether_brick_fence);
registerItemBlock(Blocks.nether_brick_stairs);
registerItemBlock(Blocks.enchanting_table);
registerItemBlock(Blocks.end_portal_frame);
registerItemBlock(Blocks.end_stone);
registerItemBlock(Blocks.dragon_egg);
registerItemBlock(Blocks.redstone_lamp);
registerItemBlock(Blocks.wooden_slab, (new ItemSlab(Blocks.wooden_slab, Blocks.wooden_slab, Blocks.double_wooden_slab)).setUnlocalizedName(&woodSlab&));
registerItemBlock(Blocks.sandstone_stairs);
registerItemBlock(Blocks.emerald_ore);
registerItemBlock(Blocks.ender_chest);
registerItemBlock(Blocks.tripwire_hook);
registerItemBlock(Blocks.emerald_block);
registerItemBlock(Blocks.spruce_stairs);
registerItemBlock(Blocks.birch_stairs);
registerItemBlock(Blocks.jungle_stairs);
mand_block);
registerItemBlock(Blocks.beacon);
registerItemBlock(Blocks.cobblestone_wall, (new ItemMultiTexture(Blocks.cobblestone_wall, Blocks.cobblestone_wall, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockWall.EnumType.func_176660_a(stack.getMetadata()).func_176659_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&cobbleWall&));
registerItemBlock(Blocks.wooden_button);
registerItemBlock(Blocks.anvil, (new ItemAnvilBlock(Blocks.anvil)).setUnlocalizedName(&anvil&));
registerItemBlock(Blocks.trapped_chest);
registerItemBlock(Blocks.light_weighted_pressure_plate);
registerItemBlock(Blocks.heavy_weighted_pressure_plate);
registerItemBlock(Blocks.daylight_detector);
registerItemBlock(Blocks.redstone_block);
registerItemBlock(Blocks.quartz_ore);
registerItemBlock(Blocks.hopper);
registerItemBlock(Blocks.quartz_block, (new ItemMultiTexture(Blocks.quartz_block, Blocks.quartz_block, new String[] { &default&, &chiseled&, &lines& })).setUnlocalizedName(&quartzBlock&));
registerItemBlock(Blocks.quartz_stairs);
registerItemBlock(Blocks.activator_rail);
registerItemBlock(Blocks.dropper);
registerItemBlock(Blocks.stained_hardened_clay, (new ItemCloth(Blocks.stained_hardened_clay)).setUnlocalizedName(&clayHardenedStained&));
registerItemBlock(Blocks.barrier);
registerItemBlock(Blocks.iron_trapdoor);
registerItemBlock(Blocks.hay_block);
registerItemBlock(Blocks.carpet, (new ItemCloth(Blocks.carpet)).setUnlocalizedName(&woolCarpet&));
registerItemBlock(Blocks.hardened_clay);
registerItemBlock(Blocks.coal_block);
registerItemBlock(Blocks.packed_ice);
registerItemBlock(Blocks.acacia_stairs);
registerItemBlock(Blocks.dark_oak_stairs);
registerItemBlock(Blocks.slime_block);
registerItemBlock(Blocks.double_plant, (new ItemDoublePlant(Blocks.double_plant, Blocks.double_plant, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockDoublePlant.EnumPlantType.func_176938_a(stack.getMetadata()).func_176939_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&doublePlant&));
registerItemBlock(Blocks.stained_glass, (new ItemCloth(Blocks.stained_glass)).setUnlocalizedName(&stainedGlass&));
registerItemBlock(Blocks.stained_glass_pane, (new ItemCloth(Blocks.stained_glass_pane)).setUnlocalizedName(&stainedGlassPane&));
registerItemBlock(Blocks.prismarine, (new ItemMultiTexture(Blocks.prismarine, Blocks.prismarine, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockPrismarine.EnumType.func_176810_a(stack.getMetadata()).func_176809_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&prismarine&));
registerItemBlock(Blocks.sea_lantern);
registerItemBlock(Blocks.red_sandstone, (new ItemMultiTexture(Blocks.red_sandstone, Blocks.red_sandstone, new Function()
private static final String __OBFID = &CL_&;
public String apply(final ItemStack stack)
return BlockRedSandstone.EnumType.func_176825_a(stack.getMetadata()).func_176828_c();
public Object apply(final Object p_apply_1_)
return this.apply((ItemStack) p_apply_1_);
})).setUnlocalizedName(&redSandStone&));
registerItemBlock(Blocks.red_sandstone_stairs);
registerItemBlock(Blocks.stone_slab2, (new ItemSlab(Blocks.stone_slab2, Blocks.stone_slab2, Blocks.double_stone_slab2)).setUnlocalizedName(&stoneSlab2&));
registerItem(256, &iron_shovel&, (new ItemSpade(Item.ToolMaterial.IRON)).setUnlocalizedName(&shovelIron&));
registerItem(257, &iron_pickaxe&, (new ItemPickaxe(Item.ToolMaterial.IRON)).setUnlocalizedName(&pickaxeIron&));
registerItem(258, &iron_axe&, (new ItemAxe(Item.ToolMaterial.IRON)).setUnlocalizedName(&hatchetIron&));
registerItem(259, &flint_and_steel&, (new ItemFlintAndSteel()).setUnlocalizedName(&flintAndSteel&));
registerItem(260, &apple&, (new ItemFood(4, 0.3F, false)).setUnlocalizedName(&apple&));
registerItem(261, &bow&, (new ItemBow()).setUnlocalizedName(&bow&));
registerItem(262, &arrow&, (new Item()).setUnlocalizedName(&arrow&).setCreativeTab(CreativeTabs.tabCombat));
registerItem(263, &coal&, (new ItemCoal()).setUnlocalizedName(&coal&));
registerItem(264, &diamond&, (new Item()).setUnlocalizedName(&diamond&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(265, &iron_ingot&, (new Item()).setUnlocalizedName(&ingotIron&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(266, &gold_ingot&, (new Item()).setUnlocalizedName(&ingotGold&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(267, &iron_sword&, (new ItemSword(Item.ToolMaterial.IRON)).setUnlocalizedName(&swordIron&));
registerItem(268, &wooden_sword&, (new ItemSword(Item.ToolMaterial.WOOD)).setUnlocalizedName(&swordWood&));
registerItem(269, &wooden_shovel&, (new ItemSpade(Item.ToolMaterial.WOOD)).setUnlocalizedName(&shovelWood&));
registerItem(270, &wooden_pickaxe&, (new ItemPickaxe(Item.ToolMaterial.WOOD)).setUnlocalizedName(&pickaxeWood&));
registerItem(271, &wooden_axe&, (new ItemAxe(Item.ToolMaterial.WOOD)).setUnlocalizedName(&hatchetWood&));
registerItem(272, &stone_sword&, (new ItemSword(Item.ToolMaterial.STONE)).setUnlocalizedName(&swordStone&));
registerItem(273, &stone_shovel&, (new ItemSpade(Item.ToolMaterial.STONE)).setUnlocalizedName(&shovelStone&));
registerItem(274, &stone_pickaxe&, (new ItemPickaxe(Item.ToolMaterial.STONE)).setUnlocalizedName(&pickaxeStone&));
registerItem(275, &stone_axe&, (new ItemAxe(Item.ToolMaterial.STONE)).setUnlocalizedName(&hatchetStone&));
registerItem(276, &diamond_sword&, (new ItemSword(Item.ToolMaterial.EMERALD)).setUnlocalizedName(&swordDiamond&));
registerItem(277, &diamond_shovel&, (new ItemSpade(Item.ToolMaterial.EMERALD)).setUnlocalizedName(&shovelDiamond&));
registerItem(278, &diamond_pickaxe&, (new ItemPickaxe(Item.ToolMaterial.EMERALD)).setUnlocalizedName(&pickaxeDiamond&));
registerItem(279, &diamond_axe&, (new ItemAxe(Item.ToolMaterial.EMERALD)).setUnlocalizedName(&hatchetDiamond&));
registerItem(280, &stick&, (new Item()).setFull3D().setUnlocalizedName(&stick&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(281, &bowl&, (new Item()).setUnlocalizedName(&bowl&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(282, &mushroom_stew&, (new ItemSoup(6)).setUnlocalizedName(&mushroomStew&));
registerItem(283, &golden_sword&, (new ItemSword(Item.ToolMaterial.GOLD)).setUnlocalizedName(&swordGold&));
registerItem(284, &golden_shovel&, (new ItemSpade(Item.ToolMaterial.GOLD)).setUnlocalizedName(&shovelGold&));
registerItem(285, &golden_pickaxe&, (new ItemPickaxe(Item.ToolMaterial.GOLD)).setUnlocalizedName(&pickaxeGold&));
registerItem(286, &golden_axe&, (new ItemAxe(Item.ToolMaterial.GOLD)).setUnlocalizedName(&hatchetGold&));
registerItem(287, &string&, (new ItemReed(Blocks.tripwire)).setUnlocalizedName(&string&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(288, &feather&, (new Item()).setUnlocalizedName(&feather&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(289, &gunpowder&, (new Item()).setUnlocalizedName(&sulphur&).setPotionEffect(PotionHelper.gunpowderEffect).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(290, &wooden_hoe&, (new ItemHoe(Item.ToolMaterial.WOOD)).setUnlocalizedName(&hoeWood&));
registerItem(291, &stone_hoe&, (new ItemHoe(Item.ToolMaterial.STONE)).setUnlocalizedName(&hoeStone&));
registerItem(292, &iron_hoe&, (new ItemHoe(Item.ToolMaterial.IRON)).setUnlocalizedName(&hoeIron&));
registerItem(293, &diamond_hoe&, (new ItemHoe(Item.ToolMaterial.EMERALD)).setUnlocalizedName(&hoeDiamond&));
registerItem(294, &golden_hoe&, (new ItemHoe(Item.ToolMaterial.GOLD)).setUnlocalizedName(&hoeGold&));
registerItem(295, &wheat_seeds&, (new ItemSeeds(Blocks.wheat, Blocks.farmland)).setUnlocalizedName(&seeds&));
registerItem(296, &wheat&, (new Item()).setUnlocalizedName(&wheat&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(297, &bread&, (new ItemFood(5, 0.6F, false)).setUnlocalizedName(&bread&));
registerItem(298, &leather_helmet&, (new ItemArmor(ItemArmor.ArmorMaterial.LEATHER, 0, 0)).setUnlocalizedName(&helmetCloth&));
registerItem(299, &leather_chestplate&, (new ItemArmor(ItemArmor.ArmorMaterial.LEATHER, 0, 1)).setUnlocalizedName(&chestplateCloth&));
registerItem(300, &leather_leggings&, (new ItemArmor(ItemArmor.ArmorMaterial.LEATHER, 0, 2)).setUnlocalizedName(&leggingsCloth&));
registerItem(301, &leather_boots&, (new ItemArmor(ItemArmor.ArmorMaterial.LEATHER, 0, 3)).setUnlocalizedName(&bootsCloth&));
registerItem(302, &chainmail_helmet&, (new ItemArmor(ItemArmor.ArmorMaterial.CHAIN, 1, 0)).setUnlocalizedName(&helmetChain&));
registerItem(303, &chainmail_chestplate&, (new ItemArmor(ItemArmor.ArmorMaterial.CHAIN, 1, 1)).setUnlocalizedName(&chestplateChain&));
registerItem(304, &chainmail_leggings&, (new ItemArmor(ItemArmor.ArmorMaterial.CHAIN, 1, 2)).setUnlocalizedName(&leggingsChain&));
registerItem(305, &chainmail_boots&, (new ItemArmor(ItemArmor.ArmorMaterial.CHAIN, 1, 3)).setUnlocalizedName(&bootsChain&));
registerItem(306, &iron_helmet&, (new ItemArmor(ItemArmor.ArmorMaterial.IRON, 2, 0)).setUnlocalizedName(&helmetIron&));
registerItem(307, &iron_chestplate&, (new ItemArmor(ItemArmor.ArmorMaterial.IRON, 2, 1)).setUnlocalizedName(&chestplateIron&));
registerItem(308, &iron_leggings&, (new ItemArmor(ItemArmor.ArmorMaterial.IRON, 2, 2)).setUnlocalizedName(&leggingsIron&));
registerItem(309, &iron_boots&, (new ItemArmor(ItemArmor.ArmorMaterial.IRON, 2, 3)).setUnlocalizedName(&bootsIron&));
registerItem(310, &diamond_helmet&, (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, 0)).setUnlocalizedName(&helmetDiamond&));
registerItem(311, &diamond_chestplate&, (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, 1)).setUnlocalizedName(&chestplateDiamond&));
registerItem(312, &diamond_leggings&, (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, 2)).setUnlocalizedName(&leggingsDiamond&));
registerItem(313, &diamond_boots&, (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, 3)).setUnlocalizedName(&bootsDiamond&));
registerItem(314, &golden_helmet&, (new ItemArmor(ItemArmor.ArmorMaterial.GOLD, 4, 0)).setUnlocalizedName(&helmetGold&));
registerItem(315, &golden_chestplate&, (new ItemArmor(ItemArmor.ArmorMaterial.GOLD, 4, 1)).setUnlocalizedName(&chestplateGold&));
registerItem(316, &golden_leggings&, (new ItemArmor(ItemArmor.ArmorMaterial.GOLD, 4, 2)).setUnlocalizedName(&leggingsGold&));
registerItem(317, &golden_boots&, (new ItemArmor(ItemArmor.ArmorMaterial.GOLD, 4, 3)).setUnlocalizedName(&bootsGold&));
registerItem(318, &flint&, (new Item()).setUnlocalizedName(&flint&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(319, &porkchop&, (new ItemFood(3, 0.3F, true)).setUnlocalizedName(&porkchopRaw&));
registerItem(320, &cooked_porkchop&, (new ItemFood(8, 0.8F, true)).setUnlocalizedName(&porkchopCooked&));
registerItem(321, &painting&, (new ItemHangingEntity(EntityPainting.class)).setUnlocalizedName(&painting&));
registerItem(322, &golden_apple&, (new ItemAppleGold(4, 1.2F, false)).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 5, 1, 1.0F).setUnlocalizedName(&appleGold&));
registerItem(323, &sign&, (new ItemSign()).setUnlocalizedName(&sign&));
registerItem(324, &wooden_door&, (new ItemDoor(Blocks.oak_door)).setUnlocalizedName(&doorOak&));
final Item var0 = (new ItemBucket(Blocks.air)).setUnlocalizedName(&bucket&).setMaxStackSize(16);
registerItem(325, &bucket&, var0);
registerItem(326, &water_bucket&, (new ItemBucket(Blocks.flowing_water)).setUnlocalizedName(&bucketWater&).setContainerItem(var0));
registerItem(327, &lava_bucket&, (new ItemBucket(Blocks.flowing_lava)).setUnlocalizedName(&bucketLava&).setContainerItem(var0));
registerItem(328, &minecart&, (new ItemMinecart(EntityMinecart.EnumMinecartType.RIDEABLE)).setUnlocalizedName(&minecart&));
registerItem(329, &saddle&, (new ItemSaddle()).setUnlocalizedName(&saddle&));
registerItem(330, &iron_door&, (new ItemDoor(Blocks.iron_door)).setUnlocalizedName(&doorIron&));
registerItem(331, &redstone&, (new ItemRedstone()).setUnlocalizedName(&redstone&).setPotionEffect(PotionHelper.redstoneEffect));
registerItem(332, &snowball&, (new ItemSnowball()).setUnlocalizedName(&snowball&));
registerItem(333, &boat&, (new ItemBoat()).setUnlocalizedName(&boat&));
registerItem(334, &leather&, (new Item()).setUnlocalizedName(&leather&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(335, &milk_bucket&, (new ItemBucketMilk()).setUnlocalizedName(&milk&).setContainerItem(var0));
registerItem(336, &brick&, (new Item()).setUnlocalizedName(&brick&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(337, &clay_ball&, (new Item()).setUnlocalizedName(&clay&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(338, &reeds&, (new ItemReed(Blocks.reeds)).setUnlocalizedName(&reeds&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(339, &paper&, (new Item()).setUnlocalizedName(&paper&).setCreativeTab(CreativeTabs.tabMisc));
registerItem(340, &book&, (new ItemBook()).setUnlocalizedName(&book&).setCreativeTab(CreativeTabs.tabMisc));
registerItem(341, &slime_ball&, (new Item()).setUnlocalizedName(&slimeball&).setCreativeTab(CreativeTabs.tabMisc));
registerItem(342, &chest_minecart&, (new ItemMinecart(EntityMinecart.EnumMinecartType.CHEST)).setUnlocalizedName(&minecartChest&));
registerItem(343, &furnace_minecart&, (new ItemMinecart(EntityMinecart.EnumMinecartType.FURNACE)).setUnlocalizedName(&minecartFurnace&));
registerItem(344, &egg&, (new ItemEgg()).setUnlocalizedName(&egg&));
registerItem(345, &compass&, (new Item()).setUnlocalizedName(&compass&).setCreativeTab(CreativeTabs.tabTools));
registerItem(346, &fishing_rod&, (new ItemFishingRod()).setUnlocalizedName(&fishingRod&));
registerItem(347, &clock&, (new Item()).setUnlocalizedName(&clock&).setCreativeTab(CreativeTabs.tabTools));
registerItem(348, &glowstone_dust&, (new Item()).setUnlocalizedName(&yellowDust&).setPotionEffect(PotionHelper.glowstoneEffect).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(349, &fish&, (new ItemFishFood(false)).setUnlocalizedName(&fish&).setHasSubtypes(true));
registerItem(350, &cooked_fish&, (new ItemFishFood(true)).setUnlocalizedName(&fish&).setHasSubtypes(true));
registerItem(351, &dye&, (new ItemDye()).setUnlocalizedName(&dyePowder&));
registerItem(352, &bone&, (new Item()).setUnlocalizedName(&bone&).setFull3D().setCreativeTab(CreativeTabs.tabMisc));
registerItem(353, &sugar&, (new Item()).setUnlocalizedName(&sugar&).setPotionEffect(PotionHelper.sugarEffect).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(354, &cake&, (new ItemReed(Blocks.cake)).setMaxStackSize(1).setUnlocalizedName(&cake&).setCreativeTab(CreativeTabs.tabFood));
registerItem(355, &bed&, (new ItemBed()).setMaxStackSize(1).setUnlocalizedName(&bed&));
registerItem(356, &repeater&, (new ItemReed(Blocks.unpowered_repeater)).setUnlocalizedName(&diode&).setCreativeTab(CreativeTabs.tabRedstone));
registerItem(357, &cookie&, (new ItemFood(2, 0.1F, false)).setUnlocalizedName(&cookie&));
registerItem(358, &filled_map&, (new ItemMap()).setUnlocalizedName(&map&));
registerItem(359, &shears&, (new ItemShears()).setUnlocalizedName(&shears&));
registerItem(360, &melon&, (new ItemFood(2, 0.3F, false)).setUnlocalizedName(&melon&));
registerItem(361, &pumpkin_seeds&, (new ItemSeeds(Blocks.pumpkin_stem, Blocks.farmland)).setUnlocalizedName(&seeds_pumpkin&));
registerItem(362, &melon_seeds&, (new ItemSeeds(Blocks.melon_stem, Blocks.farmland)).setUnlocalizedName(&seeds_melon&));
registerItem(363, &beef&, (new ItemFood(3, 0.3F, true)).setUnlocalizedName(&beefRaw&));
registerItem(364, &cooked_beef&, (new ItemFood(8, 0.8F, true)).setUnlocalizedName(&beefCooked&));
registerItem(365, &chicken&, (new ItemFood(2, 0.3F, true)).setPotionEffect(Potion.hunger.id, 30, 0, 0.3F).setUnlocalizedName(&chickenRaw&));
registerItem(366, &cooked_chicken&, (new ItemFood(6, 0.6F, true)).setUnlocalizedName(&chickenCooked&));
registerItem(367, &rotten_flesh&, (new ItemFood(4, 0.1F, true)).setPotionEffect(Potion.hunger.id, 30, 0, 0.8F).setUnlocalizedName(&rottenFlesh&));
registerItem(368, &ender_pearl&, (new ItemEnderPearl()).setUnlocalizedName(&enderPearl&));
registerItem(369, &blaze_rod&, (new Item()).setUnlocalizedName(&blazeRod&).setCreativeTab(CreativeTabs.tabMaterials).setFull3D());
registerItem(370, &ghast_tear&, (new Item()).setUnlocalizedName(&ghastTear&).setPotionEffect(PotionHelper.ghastTearEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(371, &gold_nugget&, (new Item()).setUnlocalizedName(&goldNugget&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(372, &nether_wart&, (new ItemSeeds(Blocks.nether_wart, Blocks.soul_sand)).setUnlocalizedName(&netherStalkSeeds&).setPotionEffect(&+4&));
registerItem(373, &potion&, (new ItemPotion()).setUnlocalizedName(&potion&));
registerItem(374, &glass_bottle&, (new ItemGlassBottle()).setUnlocalizedName(&glassBottle&));
registerItem(375, &spider_eye&, (new ItemFood(2, 0.8F, false)).setPotionEffect(Potion.poison.id, 5, 0, 1.0F).setUnlocalizedName(&spiderEye&).setPotionEffect(PotionHelper.spiderEyeEffect));
registerItem(376, &fermented_spider_eye&, (new Item()).setUnlocalizedName(&fermentedSpiderEye&).setPotionEffect(PotionHelper.fermentedSpiderEyeEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(377, &blaze_powder&, (new Item()).setUnlocalizedName(&blazePowder&).setPotionEffect(PotionHelper.blazePowderEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(378, &magma_cream&, (new Item()).setUnlocalizedName(&magmaCream&).setPotionEffect(PotionHelper.magmaCreamEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(379, &brewing_stand&, (new ItemReed(Blocks.brewing_stand)).setUnlocalizedName(&brewingStand&).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(380, &cauldron&, (new ItemReed(Blocks.cauldron)).setUnlocalizedName(&cauldron&).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(381, &ender_eye&, (new ItemEnderEye()).setUnlocalizedName(&eyeOfEnder&));
registerItem(382, &speckled_melon&, (new Item()).setUnlocalizedName(&speckledMelon&).setPotionEffect(PotionHelper.speckledMelonEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(383, &spawn_egg&, (new ItemMonsterPlacer()).setUnlocalizedName(&monsterPlacer&));
registerItem(384, &experience_bottle&, (new ItemExpBottle()).setUnlocalizedName(&expBottle&));
registerItem(385, &fire_charge&, (new ItemFireball()).setUnlocalizedName(&fireball&));
registerItem(386, &writable_book&, (new ItemWritableBook()).setUnlocalizedName(&writingBook&).setCreativeTab(CreativeTabs.tabMisc));
registerItem(387, &written_book&, (new ItemEditableBook()).setUnlocalizedName(&writtenBook&).setMaxStackSize(16));
registerItem(388, &emerald&, (new Item()).setUnlocalizedName(&emerald&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(389, &item_frame&, (new ItemHangingEntity(EntityItemFrame.class)).setUnlocalizedName(&frame&));
registerItem(390, &flower_pot&, (new ItemReed(Blocks.flower_pot)).setUnlocalizedName(&flowerPot&).setCreativeTab(CreativeTabs.tabDecorations));
registerItem(391, &carrot&, (new ItemSeedFood(3, 0.6F, Blocks.carrots, Blocks.farmland)).setUnlocalizedName(&carrots&));
registerItem(392, &potato&, (new ItemSeedFood(1, 0.3F, Blocks.potatoes, Blocks.farmland)).setUnlocalizedName(&potato&));
registerItem(393, &baked_potato&, (new ItemFood(5, 0.6F, false)).setUnlocalizedName(&potatoBaked&));
registerItem(394, &poisonous_potato&, (new ItemFood(2, 0.3F, false)).setPotionEffect(Potion.poison.id, 5, 0, 0.6F).setUnlocalizedName(&potatoPoisonous&));
registerItem(395, &map&, (new ItemEmptyMap()).setUnlocalizedName(&emptyMap&));
registerItem(396, &golden_carrot&, (new ItemFood(6, 1.2F, false)).setUnlocalizedName(&carrotGolden&).setPotionEffect(PotionHelper.goldenCarrotEffect).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(397, &skull&, (new ItemSkull()).setUnlocalizedName(&skull&));
registerItem(398, &carrot_on_a_stick&, (new ItemCarrotOnAStick()).setUnlocalizedName(&carrotOnAStick&));
registerItem(399, &nether_star&, (new ItemSimpleFoiled()).setUnlocalizedName(&netherStar&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(400, &pumpkin_pie&, (new ItemFood(8, 0.3F, false)).setUnlocalizedName(&pumpkinPie&).setCreativeTab(CreativeTabs.tabFood));
registerItem(401, &fireworks&, (new ItemFirework()).setUnlocalizedName(&fireworks&));
registerItem(402, &firework_charge&, (new ItemFireworkCharge()).setUnlocalizedName(&fireworksCharge&).setCreativeTab(CreativeTabs.tabMisc));
registerItem(403, &enchanted_book&, (new ItemEnchantedBook()).setMaxStackSize(1).setUnlocalizedName(&enchantedBook&));
registerItem(404, &comparator&, (new ItemReed(Blocks.unpowered_comparator)).setUnlocalizedName(&comparator&).setCreativeTab(CreativeTabs.tabRedstone));
registerItem(405, &netherbrick&, (new Item()).setUnlocalizedName(&netherbrick&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(406, &quartz&, (new Item()).setUnlocalizedName(&netherquartz&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(407, &tnt_minecart&, (new ItemMinecart(EntityMinecart.EnumMinecartType.TNT)).setUnlocalizedName(&minecartTnt&));
registerItem(408, &hopper_minecart&, (new ItemMinecart(EntityMinecart.EnumMinecartType.HOPPER)).setUnlocalizedName(&minecartHopper&));
registerItem(409, &prismarine_shard&, (new Item()).setUnlocalizedName(&prismarineShard&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(410, &prismarine_crystals&, (new Item()).setUnlocalizedName(&prismarineCrystals&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(411, &rabbit&, (new ItemFood(3, 0.3F, true)).setUnlocalizedName(&rabbitRaw&));
registerItem(412, &cooked_rabbit&, (new ItemFood(5, 0.6F, true)).setUnlocalizedName(&rabbitCooked&));
registerItem(413, &rabbit_stew&, (new ItemSoup(10)).setUnlocalizedName(&rabbitStew&));
registerItem(414, &rabbit_foot&, (new Item()).setUnlocalizedName(&rabbitFoot&).setPotionEffect(PotionHelper.field_179538_n).setCreativeTab(CreativeTabs.tabBrewing));
registerItem(415, &rabbit_hide&, (new Item()).setUnlocalizedName(&rabbitHide&).setCreativeTab(CreativeTabs.tabMaterials));
registerItem(416, &armor_stand&, (new ItemArmorStand()).setUnlocalizedName(&armorStand&).setMaxStackSize(16));
registerItem(417, &iron_horse_armor&, (new Item()).setUnlocalizedName(&horsearmormetal&).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabMisc));
registerItem(418, &golden_horse_armor&, (new Item()).setUnlocalizedName(&horsearmorgold&).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabMisc));
registerItem(419, &diamond_horse_armor&, (new Item()).setUnlocalizedName(&horsearmordiamond&).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabMisc));
registerItem(420, &lead&, (new ItemLead()).setUnlocalizedName(&leash&));
registerItem(421, &name_tag&, (new ItemNameTag()).setUnlocalizedName(&nameTag&));
registerItem(422, &command_block_minecart&, (new ItemMinecart(MAND_BLOCK)).setUnlocalizedName(&minecartCommandBlock&).setCreativeTab((CreativeTabs) null));
registerItem(423, &mutton&, (new ItemFood(2, 0.3F, true)).setUnlocalizedName(&muttonRaw&));
registerItem(424, &cooked_mutton&, (new ItemFood(6, 0.8F, true)).setUnlocalizedName(&muttonCooked&));
registerItem(425, &banner&, (new ItemBanner()).setUnlocalizedName(&banner&));
registerItem(427, &spruce_door&, (new ItemDoor(Blocks.spruce_door)).setUnlocalizedName(&doorSpruce&));
registerItem(428, &birch_door&, (new ItemDoor(Blocks.birch_door)).setUnlocalizedName(&doorBirch&));
registerItem(429, &jungle_door&, (new ItemDoor(Blocks.jungle_door)).setUnlocalizedName(&doorJungle&));
registerItem(430, &acacia_door&, (new ItemDoor(Blocks.acacia_door)).setUnlocalizedName(&doorAcacia&));
registerItem(431, &dark_oak_door&, (new ItemDoor(Blocks.dark_oak_door)).setUnlocalizedName(&doorDarkOak&));
registerItem(2256, &record_13&, (new ItemRecord(&13&)).setUnlocalizedName(&record&));
registerItem(2257, &record_cat&, (new ItemRecord(&cat&)).setUnlocalizedName(&record&));
registerItem(2258, &record_blocks&, (new ItemRecord(&blocks&)).setUnlocalizedName(&record&));
registerItem(2259, &record_chirp&, (new ItemRecord(&chirp&)).setUnlocalizedName(&record&));
registerItem(2260, &record_far&, (new ItemRecord(&far&)).setUnlocalizedName(&record&));
registerItem(226

我要回帖

更多关于 我的世界askyblock 的文章

 

随机推荐