Category: Environment?!?!
Suggested name: No name required, part of another skript
What I want:
So working on my ExtraHardMode skript, one of the things I need done is when it rains, torches need to break when they are exposed to rain. Im trying to think of a more efficient way to do this.
So far, what I have is when you place a torch it saves a variable, and when the rain starts, it loops these variables, loops the blocks above them, if they are air (exposed to rain) they break, if there is any other block above them they dont break. Now obviously with a LOT of players on the server, placing numerous amounts of torches, this will turn into a LLOTTTTT of loops, which makes this extremely inefficient. I'm open to ideas on ways to create a more efficient system, so lets here what you guys have to offer!
Ideas for commands:
None
Ideas for permissions:
None
When I'd like it by: Not in a serious rush, but would be nice to get this in the next week or two
Suggested name: No name required, part of another skript
What I want:
So working on my ExtraHardMode skript, one of the things I need done is when it rains, torches need to break when they are exposed to rain. Im trying to think of a more efficient way to do this.
So far, what I have is when you place a torch it saves a variable, and when the rain starts, it loops these variables, loops the blocks above them, if they are air (exposed to rain) they break, if there is any other block above them they dont break. Now obviously with a LOT of players on the server, placing numerous amounts of torches, this will turn into a LLOTTTTT of loops, which makes this extremely inefficient. I'm open to ideas on ways to create a more efficient system, so lets here what you guys have to offer!
Ideas for commands:
None
Ideas for permissions:
None
When I'd like it by: Not in a serious rush, but would be nice to get this in the next week or two