- check_circle Functions
Published May 28th, 2021, 5/28/21 6:02 pm
- 3,498 views, 2 today
- 360 downloads, 0 today
Required Resource Pack
11
This datapack add a basic flashlight to minecraft. This datapack uses the light block added to java version in 1.17.
Features:
* Lights up mobs
* Works under water
* Shines through glass
* Works in off-hand (but model is even more messed up)
The resource pack is only needed to make this carrot-on-a-stick look a bit like a flashlight.
How to get?
* Kill elderguardian
* /function edta_flashlight:give_flashlight
Features:
* Lights up mobs
* Works under water
* Shines through glass
* Works in off-hand (but model is even more messed up)
The resource pack is only needed to make this carrot-on-a-stick look a bit like a flashlight.
How to get?
* Kill elderguardian
* /function edta_flashlight:give_flashlight
Compatibility | Minecraft 1.17 |
Tags |
5142344
119
Create an account or sign in to comment.
You can combine both resource packs into one, and then it will work, but I guess that is up to you, but I'll tell you how:
* Collect all files from both, maintaining directory structure
* There should be only 2 files that clash. The pack.mcmeta doesn't matter which one you take
* ...\assets\minecraft\models\item\carrot_on_a_stick.json should look like this:
"parent": "item/handheld_rod",
"textures": {
"layer0": "item/carrot_on_a_stick"
},
"overrides": [
{ "predicate": { "custom_model_data": 5422012}, "model": "custom/flashlight"},
{ "predicate": {"custom_model_data":200700}, "model": "portal_guns/portal_gun"},
{ "predicate": {"custom_model_data":200701}, "model": "portal_guns/portal_gun_b"}
]
}
Afaik, that should work.