suspicious sand / gravel brushing (magic block)
Is your feature request related to a problem?
Discussed here; https://discord.com/channels/272499714048524288/653371328375685121/1401068815567290460
I think players would expect sus sand/gravel as magic block in oneblock to be brushable, just how a chest might have treasure, etc. I think it would also be cool, because it gives them little extra treasures that perhaps otherwise a little harder to get.
Describe the solution you'd like.
When the sus sand/gravel spawns as oneblock, allow it to be broken with a brush to get the treasure out, with a % chance (just like vanilla). Or just regular shovel etc braek to drop as whatever (but placed then behaves vanilla and gives no treasure).
Describe alternatives you've considered.
n/a
Agreements
- [x] I have searched for and ensured there isn't already an open issue regarding this.
- [x] I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.
Other
n/a
I have spent hours on this and I'm starting to think it's a server bug. The code was already in there to support it. The issue is that the server will NOT allow brushing of a Brushable Block. I think I may have to file a bug with Paper.
I have spent hours on this and I'm starting to think it's a server bug. The code was already in there to support it. The issue is that the server will NOT allow brushing of a Brushable Block. I think I may have to file a bug with Paper.
hm, how would i go about reporting this to Paper potentially?
It would need some demo code to show the error. Basically, even though I am making a brushable block it is not brushable. Nothing happens when you brush it. Maybe I have to manually set the brush level/state but I don't think so. This is very weird.
Apologies if this is out of line but doesn't sus sand/gravel need to be summoned with NBT for which treasure should be in it? I'm sure the API has a setItem and getItem methods for the block. Setting the block only won't have any items in it which means you can brush till kingdom come and it will never drop anything.
[23:02:17 INFO]: [BentoBox] DEBUG: Brushing CraftBlock{pos=BlockPos{x=1600, y=80, z=1600},type=SUSPICIOUS_SAND,data=Block{minecraft:suspicious_sand}[dusted=0],fluid=net.minecraft.world.level.material.EmptyFluid@3eb129e8} [23:02:17 INFO]: [BentoBox] DEBUG: item is brushable 0
This is your debug. Brushing sand not gravel.
Yes, this was something I investigated a few weeks ago and it just wasn't working and I left it alone as it looked like a server issue. I can revisit it and look at this again.
That would be greatly appreciated as some treasures are only obtainable through those blocks/brushing.
I'm not sure if this would help. /setblock ~ ~ ~ minecraft:suspicious_sand{LootTable:"minecraft:archaeology/desert_pyramid"} This is a command to setblock in the world with a loot table. Maybe your magic block is missing the NBT for the loot table? I'm shooting in the dark here so I'm hoping this would help you.