Implement get_filler_item_name for various games (#451)

This commit is contained in:
Alchav
2022-05-19 09:37:26 -04:00
committed by GitHub
parent e6e44b8747
commit dbf0458575
10 changed files with 44 additions and 2 deletions

View File

@@ -128,6 +128,9 @@ class MinecraftWorld(World):
self.world.itempool += itempool
def get_filler_item_name(self) -> str:
return self.world.random.choices(list(junk_weights.keys()), weights=list(junk_weights.values()))[0]
def set_rules(self):
set_advancement_rules(self.world, self.player)
set_completion_rules(self.world, self.player)