• check_circle Functions
  • check_circle Recipes
  • 1,222 views, 1 today
  • 85 downloads, 0 today
  • 5
  • 3
  • 4
cookedporkbacon's Avatar cookedporkbacon
Level 60 : High Grandmaster Baconator
119
Trap players or make secret passages using fake blocks.

Make fake blocks in 3 easy steps:
  1. Craft a structure void using the same ingredients as a potion of invisibility. (golden carrot, nether wart, fermented spider eye)]
2. Place the structure void down
 3. Throw an item into it

To destroy it, push it with a piston and wait ~30 seconds..


To other datapack creators:
I made this datapack in an hour, so it's not very polished. If you want to copy the code and improve it, any contributions are welcome. You may post this on your own account if you make such changes.
CreditThanks to DominoDominus for the idea.
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

2
07/07/2022 3:04 amhistory
Level 1 : New Miner
SavageTheUnicorn
SavageTheUnicorn's Avatar
Please add a video tutorial! If this datapack functions as I hope it will be PERFECT. EDIT: MSPT rises pretty bad with this. Atleast 2-4 mspt per block placed. Please optimize this! Pushing with a piston is NOT breaking the block either!
1
07/08/2022 2:41 pm
Level 60 : High Grandmaster Baconator
cookedporkbacon
cookedporkbacon's Avatar
These are all good suggestions, but I can't think of a way to do some of them.
This is open source, so if anyone else can fix these things I will be eternally grateful.

It takes about 30 seconds for it to break after pushing with a piston, (as long as you pushed the fake block out of the structure void and not into another). I could make it break instantly, but that would hurt performance.

In terms of optimization, this is as good as I can make it. The lag comes from loading a faraway chunk in order to fix a rendering issue. The first block placed will cause a big MSTP spike, but all consecutive blocks will cause smaller increases.

Finally, for the video, I'm just too lazy right now, but I will probably make one if I ever get a YT channel.
2
07/15/2022 4:16 pmhistory
Level 1 : New Miner
SavageTheUnicorn
SavageTheUnicorn's Avatar
After playing with it a bit more I have more findings. There is Geyser/bedrock support BUT the blocks ALWAYS show half a block downwards. This leaves gaping holes and eyesores around but it works relatively flawlessly. I was placing the original REAL block inside of the fake block with very precise placement and that was the only way I could remove them. In fact, if that was implemented into a feature allowing real blocks under the fake ones that can be broken to create an escape without evidence it would be pretty game changing. Currently I am not using the datapack as the geyser issue is pretty glaring since I troubleshoot most stuff using my phone. Pistons would not and will not break them for me still though (waited up to 5 minutes). The lag from them is NOT as bad as I originally thought, like you said the first block is the biggest perf impact but it does add up. Having 100-200 of them causes a big impact, close to 10-20mspt so HUGE traps are not viable. If there was a way to implement GeyserMC support I would 100% be using this every day.
1
07/20/2022 2:49 am
Level 60 : High Grandmaster Baconator
cookedporkbacon
cookedporkbacon's Avatar
Great info and testing.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome