#I am wanting to know what the best way

1 messages · Page 1 of 1 (latest)

regal pollen
#

I feel that looping through many different locations to see if the player is breaking a block there would get laggy at some point

#

Would it be better to use the chunk position to store a list of locations that the player can't break to cut down on how many locations are checked?

swift garnet
#

Add a metadata to the block and check if it has a metadata and protect it I guess

craggy dome
#

I want to add unbrelable tag and some enchant to a armor

#

What's the shortest way to do it instead of writing one by one

alpine bramble
#

As long as the area is square. Why not check if the block is within the cuboid region

alpine bramble
#

because it should be said?, why would you add meta data to every single block when you can check for a region.

alpine bramble
#

of course you dont need worldedit

#

you simply save a region as 2 locations and check if the damaged block is within those 2 locations.