6

I would like to run a command/series of commands where I can specify an x y and z coordinate of a block and then bonemeal will be used on that block.

By used I mean:

  • Have the same Fertilizer effects described here
  • Create new plants in the same way as is described here
  • If the coordinates are of a block where bonemeal cannot be used, e.g. air, the command should do nothing

I would like to be able to run this command through any method which can be achieved both manually and automated i.e. run in a command block. For instance, 3 trigger commands for x, y, and z and then a run trigger command; summoning a specific entity at the coordinates; etc...

Note: I am running 1.14.3

2

There is no "bonemeal command". You need to place a dispenser with bonemeal in it and activate it.

  • I've tested creating a dispenser with bonemeal that has triggered blockstate set to true however this does not activate the dispenser and use the bonemeal. Is the only other solution to create a dispenser next the the block and then create a redstone block next to the dispenser? If I wanted this to be silent would cloning away the blocks and then replacing them after bonemealing work? – Jake Jul 10 '19 at 19:30
  • 1
    You can use /data modify on blocks right? Don't crops have an "age" you can set, and you can manually create the particles, so you don't need to actually apply bonemeal: you can just mimic it? – Nik3141 Jul 10 '19 at 19:35
  • Of course you could completely reprogram all the features of bonemeal with commands, including on grass blocks, with biome detection using advancements and the corresponding flower types and so on and so on. But the question didn't sound like that was the plan. You can also try setting "triggered" to true one tick after placing the dispenser, maybe that works. Otherwise, yes, dispenser and redstone block. – Fabian Röling Jul 10 '19 at 21:38
  • Oh, of course, it's a block state, not a tile entity field. So you can only change it by replacing the block. I tried it anyway and of course it didn't work. So the redstone block is the solution. – Fabian Röling Jul 10 '19 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.