MC: Bee Trap is renamed and trap
This commit is contained in:
parent
a332d4935d
commit
1710e15e49
|
@ -57,7 +57,7 @@ item_table = {
|
||||||
"Shulker Box": ItemData(45042, False),
|
"Shulker Box": ItemData(45042, False),
|
||||||
"Dragon Egg Shard": ItemData(45043, True),
|
"Dragon Egg Shard": ItemData(45043, True),
|
||||||
"Spyglass": ItemData(45044, True),
|
"Spyglass": ItemData(45044, True),
|
||||||
"Bee Trap (Minecraft)": ItemData(45100, False),
|
"Bee Trap": ItemData(45100, False),
|
||||||
|
|
||||||
"Blaze Rods": ItemData(None, True),
|
"Blaze Rods": ItemData(None, True),
|
||||||
"Defeat Ender Dragon": ItemData(None, True),
|
"Defeat Ender Dragon": ItemData(None, True),
|
||||||
|
|
|
@ -65,7 +65,7 @@ class MinecraftWorld(World):
|
||||||
item_name_to_id = {name: data.code for name, data in item_table.items()}
|
item_name_to_id = {name: data.code for name, data in item_table.items()}
|
||||||
location_name_to_id = {name: data.id for name, data in advancement_table.items()}
|
location_name_to_id = {name: data.id for name, data in advancement_table.items()}
|
||||||
|
|
||||||
data_version = 5
|
data_version = 6
|
||||||
|
|
||||||
def _get_mc_data(self):
|
def _get_mc_data(self):
|
||||||
exits = [connection[0] for connection in default_connections]
|
exits = [connection[0] for connection in default_connections]
|
||||||
|
@ -168,6 +168,8 @@ class MinecraftWorld(World):
|
||||||
nonexcluded_items = ["Sharpness III Book", "Infinity Book", "Looting III Book"]
|
nonexcluded_items = ["Sharpness III Book", "Infinity Book", "Looting III Book"]
|
||||||
if name in nonexcluded_items: # prevent books from going on excluded locations
|
if name in nonexcluded_items: # prevent books from going on excluded locations
|
||||||
item.never_exclude = True
|
item.never_exclude = True
|
||||||
|
if name == "Bee Trap":
|
||||||
|
item.trap = True
|
||||||
return item
|
return item
|
||||||
|
|
||||||
def mc_update_output(raw_data, server, port):
|
def mc_update_output(raw_data, server, port):
|
||||||
|
|
Loading…
Reference in New Issue