Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Feel free to modify and use this filter however you wish. If you do,
- # please give credit to SethBling.
- # http://youtube.com/SethBling
- from pymclevel import TAG_Long
- import random
- def perform(level, box, options):
- for (chunk, slices, point) in level.getChunkSlices(box):
- for e in chunk.Entities:
- e["UUIDMost"] = TAG_Long((random.getrandbits(47)<<16) | (1<<12) | random.getrandbits(12))
- e["UUIDLeast"] = TAG_Long(-((7<<60) | random.getrandbits(60)))
- chunk.dirty = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement