This trick allows you to make certain minecarts invisible while maintaining the rest of the minecarts.
- Make certain minecarts invisible.
- A function to revert the changes.
The original concept was developed by Misode and then edited by thederdiscohund, this repository could be considered a fork of thederdiscohund's edit.
When summoning a minecart that you want to make it invisible just summon it with the invminecarts.invisible_minecart tag:
summon minecart ~ ~ ~ {Tags:[invminecarts.invisible_minecart]}The rest of the minecarts will have their texture. This works with all types of minecarts:
- Normal minecart
- Hopper minecart
- Furnace minecart
- Chest minecart
- Tnt minecart
- Command block minecart
- Spawner minecart
To revert the changes run:
function invminecarts:cmd/unistallAfter that, all minecarts will be restored and you can now remove the datapack and resourcepack.
Important
If you want to use it again you will first need to run:
tag @e remove invminecarts.not_this_minecartThis is because after unistalling it, the datapack will try again to modify all minecarts to make them invisible (because it is a tick function) so to ignore the minecarts it gives them a tag, so for the datapack to work again you need to remove it.
Just fork this repository and make a pull request, I'm down for all kinds of contributions.
A: Yes you can, this project is created under the MIT license so you can basically do whatever you want with it.
A: If you want sure, but it's not necessary.
- Resourcepacks that modify the minecart texture will not work
If you have found any bugs or have any suggestion, please create an issue here.