(IBlockState state)
| 1033 | } |
| 1034 | |
| 1035 | protected ItemStack createStackedBlock(IBlockState state) |
| 1036 | { |
| 1037 | int i = 0; |
| 1038 | Item item = Item.getItemFromBlock(this); |
| 1039 | |
| 1040 | if (item != null && item.getHasSubtypes()) |
| 1041 | { |
| 1042 | i = this.getMetaFromState(state); |
| 1043 | } |
| 1044 | |
| 1045 | return new ItemStack(item, 1, i); |
| 1046 | } |
| 1047 | |
| 1048 | /** |
| 1049 | * Get the quantity dropped based on the given fortune level |
no test coverage detected