Started by
tonimo112
on
Topic category: Help with Minecraft modding (Java Edition)
So I wanna make a mining helmet that basically lights up the area around you instead of giving you night vision. But I'm not sure how to make it and I've been looking around for a while.
thats not possible
Unless you wanna do some custom code (Id be happy to help)
This is not a feature in MCreator.
Ah ok thanks
So night vision effect on my helm is the only way to do this?
Make a custom block that functions as air, but produces light, which has a procedure on tick update to place air over it.
Make a procedure for the helmet to place this at your location.
Thanks for the help, but I barely know how to do that. I can't even figure out how to make the block a light source.
The Luminance option modifies the light level of the block.
Yeah I got that, but I'm confused about the tick things. Is there like a youtube video that explains that?
Probably.
20 ticks = 1 second, and you can set the tick speed of a block. If you set the tick speed of a block to 100, it would do a procedure in on tick update every 5 seconds.
No I know what a tick is, I mean't like messing with the procedures and that stuff. Sorry I'm new to modding.
You'll get used to it eventually.
If you wanna get started modding:
https://www.youtube.com/watch?v=Jq5Rru-3UQE&list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei
For procedures:
https://www.youtube.com/watch?v=c5hlIP8LchA
I'm kinda starting to figure it out, but for example I can't figure out how to do like
"if player equips "mining helmet" add potion effect: night vision, if player removes "mining helmet" remove potion effect: night vision"
Make a procedure for on Helmet tick event, and make this.