D
Deleted member 17753
Hi there! I am using this code to limit entities per chunk.
But vehicles are just spawnable no matter how many entities there are already, and I have a person doing some weird stuff with pistons and end crystals which seems to get around it.
I'm very new to this so some help would be great.
Code:
on spawn:
if size of entities in chunk of event-entity >= 65:
cancel event
on vehicle create:
if size of entities in chunk of event-entity >= 65:
cancel event
on chunk unload:
delete all entities in event-chunk
But vehicles are just spawnable no matter how many entities there are already, and I have a person doing some weird stuff with pistons and end crystals which seems to get around it.
I'm very new to this so some help would be great.