"Creative item pick" for blocks & plants

Upvotes: 7
Issue description

It would be nice to have an option to select what item gets added to your creative inventory when clicking on a block with the "pick item" button. Would be useful for technical blocks and plants with multiple growth stages.
The required code is:

		public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos, EntityPlayer player) {
			return new ItemStack(ITEM);


Issue comments

Yes, I have had some things I wished I had this option for. Custom crops are a pain to set up but creative mode always selects the same block state for the crop you right-click on. This would be great for selecting seeds like in vanilla Minecraft for people in creative.

This feature will be added in MCreator 1.9.1. I am closing this ticket now.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.