autofly: more tweaks

This commit is contained in:
cora 2020-11-26 14:21:20 +01:00 committed by Schmappie Eldress
parent 7b0d792a63
commit ca106b1546

View File

@ -240,6 +240,8 @@ local cruise_wason=false
local nfctr=0 local nfctr=0
local nodenames_ground = { local nodenames_ground = {
'mcl_core:dirt', 'mcl_core:dirt',
'mcl_core:dirt_with_grass',
'mcl_core:dirt_with_grass_snow',
'mcl_core:stone', 'mcl_core:stone',
'mcl_core:sand', 'mcl_core:sand',
'mcl_core:redsand', 'mcl_core:redsand',
@ -255,67 +257,165 @@ local nodenames_ground = {
'mcl_core:lava_source', 'mcl_core:lava_source',
'mcl_core:lava_flowing', 'mcl_core:lava_flowing',
'mcl_core:ice', 'mcl_core:ice',
"mcl_anvils:anvil", "mcl_anvils:anvil",
"mcl_anvils:update", "mcl_anvils:anvil_damage_1",
"mcl_armor:boots", "mcl_anvils:anvil_damage_2",
"mcl_armor:chestplate", "mcl_anvils:update_formspec_0_60_0",
"mcl_armor:helmet", "mcl_armor:boots_",
"mcl_armor:leggings", "mcl_armor:boots_chain",
"mcl_banners:banner", "mcl_armor:boots_diamond",
"mcl_banners:hanging", "mcl_armor:boots_gold",
"mcl_banners:respawn", "mcl_armor:boots_iron",
"mcl_banners:standing", "mcl_armor:boots_leather",
"mcl_beds:bed", "mcl_armor:chestplate_",
"mcl_armor:chestplate_chain",
"mcl_armor:chestplate_diamond",
"mcl_armor:chestplate_gold",
"mcl_armor:chestplate_iron",
"mcl_armor:chestplate_leather",
"mcl_armor:helmet_",
"mcl_armor:helmet_chain",
"mcl_armor:helmet_diamond",
"mcl_armor:helmet_gold",
"mcl_armor:helmet_iron",
"mcl_armor:helmet_leather",
"mcl_armor:leggings_",
"mcl_armor:leggings_chain",
"mcl_armor:leggings_diamond",
"mcl_armor:leggings_gold",
"mcl_armor:leggings_iron",
"mcl_armor:leggings_leather",
"mcl_banners:banner_item_",
"mcl_banners:banner_item_white",
"mcl_banners:hanging_banner",
"mcl_banners:respawn_entities",
"mcl_banners:standing_banner",
"mcl_beds:bed_",
"mcl_beds:bed_red_bottom",
"mcl_beds:bed_red_top",
"mcl_beds:bed_white_bottom",
"mcl_beds:sleeping", "mcl_beds:sleeping",
"mcl_beds:spawn", "mcl_beds:spawn",
"mcl_biomes:chorus", "mcl_biomes:chorus_plant",
"mcl_boats:boat", "mcl_boats:boat",
"mcl_books:book", "mcl_books:book",
"mcl_books:bookshelf", "mcl_books:bookshelf",
"mcl_books:signing", "mcl_books:signing",
"mcl_books:writable", "mcl_books:writable_book",
"mcl_books:written", "mcl_books:written_book",
"mcl_bows:arrow", "mcl_bows:arrow",
"mcl_bows:arrow_box",
"mcl_bows:arrow_entity",
"mcl_bows:bow", "mcl_bows:bow",
"mcl_bows:use", "mcl_bows:bow_",
"mcl_bows:bow_0",
"mcl_bows:bow_1",
"mcl_bows:bow_2",
"mcl_bows:use_bow",
"mcl_brewing:stand", "mcl_brewing:stand",
"mcl_buckets:bucket", "mcl_brewing:stand_",
"mcl_brewing:stand_000",
"mcl_brewing:stand_001",
"mcl_brewing:stand_010",
"mcl_brewing:stand_011",
"mcl_brewing:stand_100",
"mcl_brewing:stand_101",
"mcl_brewing:stand_110",
"mcl_brewing:stand_111",
"mcl_buckets:bucket_empty",
"mcl_buckets:bucket_lava",
"mcl_buckets:bucket_river_water",
"mcl_buckets:bucket_water",
"mcl_cake:cake", "mcl_cake:cake",
"mcl_cake:cake_",
"mcl_cake:cake_1",
"mcl_cake:cake_6",
"mcl_cauldrons:cauldron", "mcl_cauldrons:cauldron",
"mcl_cauldrons:cauldron_",
"mcl_cauldrons:cauldron_1",
"mcl_cauldrons:cauldron_1r",
"mcl_cauldrons:cauldron_2",
"mcl_cauldrons:cauldron_2r",
"mcl_cauldrons:cauldron_3",
"mcl_cauldrons:cauldron_3r",
"mcl_chests:chest", "mcl_chests:chest",
"mcl_chests:ender", "mcl_chests:ender_chest",
"mcl_chests:reset", "mcl_chests:reset_trapped_chests",
"mcl_chests:trapped", "mcl_chests:trapped_chest",
"mcl_chests:update", "mcl_chests:trapped_chest_",
"mcl_chests:violet", "mcl_chests:trapped_chest_left",
"mcl_chests:trapped_chest_on",
"mcl_chests:trapped_chest_on_left",
"mcl_chests:trapped_chest_on_right",
"mcl_chests:trapped_chest_right",
"mcl_chests:update_ender_chest_formspecs_0_60_0",
"mcl_chests:update_formspecs_0_51_0",
"mcl_chests:update_shulker_box_formspecs_0_60_0",
"mcl_chests:violet_shulker_box",
"mcl_clock:clock", "mcl_clock:clock",
"mcl_cocoas:cocoa", "mcl_clock:clock_",
"mcl_colorblocks:concrete", "mcl_cocoas:cocoa_1",
"mcl_colorblocks:glazed", "mcl_cocoas:cocoa_2",
"mcl_colorblocks:hardened", "mcl_cocoas:cocoa_3",
"mcl_comparators:comparator", "mcl_colorblocks:concrete_",
"mcl_colorblocks:concrete_powder_",
"mcl_colorblocks:glazed_terracotta_",
"mcl_colorblocks:glazed_terracotta_black",
"mcl_colorblocks:glazed_terracotta_blue",
"mcl_colorblocks:glazed_terracotta_brown",
"mcl_colorblocks:glazed_terracotta_cyan",
"mcl_colorblocks:glazed_terracotta_green",
"mcl_colorblocks:glazed_terracotta_grey",
"mcl_colorblocks:glazed_terracotta_light_blue",
"mcl_colorblocks:glazed_terracotta_lime",
"mcl_colorblocks:glazed_terracotta_magenta",
"mcl_colorblocks:glazed_terracotta_orange",
"mcl_colorblocks:glazed_terracotta_pink",
"mcl_colorblocks:glazed_terracotta_purple",
"mcl_colorblocks:glazed_terracotta_red",
"mcl_colorblocks:glazed_terracotta_silver",
"mcl_colorblocks:glazed_terracotta_white",
"mcl_colorblocks:glazed_terracotta_yellow",
"mcl_colorblocks:hardened_clay",
"mcl_colorblocks:hardened_clay_",
"mcl_colorblocks:hardened_clay_orange",
"mcl_comparators:comparator_",
"mcl_comparators:comparator_off_",
"mcl_comparators:comparator_off_comp",
"mcl_comparators:comparator_off_sub",
"mcl_comparators:comparator_on_",
"mcl_comparators:comparator_on_comp",
"mcl_comparators:comparator_on_sub",
"mcl_compass:compass", "mcl_compass:compass",
"mcl_core:acacialeaves", "mcl_core:acacialeaves",
"mcl_core:acaciasapling", "mcl_core:acaciasapling",
"mcl_core:acaciatree", "mcl_core:acaciatree",
"mcl_core:acaciawood", "mcl_core:acaciawood",
"mcl_core:andesite", "mcl_core:andesite",
"mcl_core:andesite_smooth",
"mcl_core:apple", "mcl_core:apple",
"mcl_core:axe", "mcl_core:apple_gold",
"mcl_core:axe_diamond",
"mcl_core:axe_gold",
"mcl_core:axe_iron",
"mcl_core:axe_stone",
"mcl_core:axe_wood",
"mcl_core:barrier", "mcl_core:barrier",
"mcl_core:bedrock", "mcl_core:bedrock",
"mcl_core:birchsapling", "mcl_core:birchsapling",
"mcl_core:birchtree", "mcl_core:birchtree",
"mcl_core:birchwood", "mcl_core:birchwood",
"mcl_core:bone", "mcl_core:bone_block",
"mcl_core:bowl", "mcl_core:bowl",
"mcl_core:brick", "mcl_core:brick",
"mcl_core:brick_block",
"mcl_core:cactus", "mcl_core:cactus",
"mcl_core:charcoal", "mcl_core:charcoal_lump",
"mcl_core:clay", "mcl_core:clay",
"mcl_core:coal", "mcl_core:clay_lump",
"mcl_core:coalblock", "mcl_core:coalblock",
"mcl_core:coarse", "mcl_core:coal_lump",
"mcl_core:coarse_dirt",
"mcl_core:cobble", "mcl_core:cobble",
"mcl_core:cobblestone", "mcl_core:cobblestone",
"mcl_core:cobweb", "mcl_core:cobweb",
@ -326,44 +426,77 @@ local nodenames_ground = {
"mcl_core:diamond", "mcl_core:diamond",
"mcl_core:diamondblock", "mcl_core:diamondblock",
"mcl_core:diorite", "mcl_core:diorite",
"mcl_core:diorite_smooth",
"mcl_core:dirt", "mcl_core:dirt",
"mcl_core:dirt_with_dry_grass",
"mcl_core:dirt_with_dry_grass_snow",
"mcl_core:dirt_with_grass",
"mcl_core:dirt_with_grass_snow",
"mcl_core:emerald", "mcl_core:emerald",
"mcl_core:emeraldblock", "mcl_core:emeraldblock",
"mcl_core:flint", "mcl_core:flint",
"mcl_core:frosted", "mcl_core:frosted_ice_",
"mcl_core:frosted_ice_0",
"mcl_core:glass", "mcl_core:glass",
"mcl_core:gold", "mcl_core:glass_",
"mcl_core:glass_black",
"mcl_core:glass_blue",
"mcl_core:glass_brown",
"mcl_core:glass_cyan",
"mcl_core:glass_gray",
"mcl_core:glass_green",
"mcl_core:glass_light_blue",
"mcl_core:glass_lime",
"mcl_core:glass_magenta",
"mcl_core:glass_orange",
"mcl_core:glass_pink",
"mcl_core:glass_purple",
"mcl_core:glass_red",
"mcl_core:glass_silver",
"mcl_core:glass_white",
"mcl_core:glass_yellow",
"mcl_core:goldblock", "mcl_core:goldblock",
"mcl_core:gold_ingot",
"mcl_core:gold_nugget",
"mcl_core:granite", "mcl_core:granite",
"mcl_core:grass", "mcl_core:granite_smooth",
"mcl_core:grass_path",
"mcl_core:gravel", "mcl_core:gravel",
"mcl_core:ice", "mcl_core:ice",
"mcl_core:iron",
"mcl_core:ironblock", "mcl_core:ironblock",
"mcl_core:iron_ingot",
"mcl_core:iron_nugget",
"mcl_core:jungleleaves", "mcl_core:jungleleaves",
"mcl_core:junglesapling", "mcl_core:junglesapling",
"mcl_core:jungletree", "mcl_core:jungletree",
"mcl_core:junglewood", "mcl_core:junglewood",
"mcl_core:ladder", "mcl_core:ladder",
"mcl_core:lapisblock", "mcl_core:lapisblock",
"mcl_core:lava", "mcl_core:lava_flowing",
"mcl_core:lava_source",
"mcl_core:leaves", "mcl_core:leaves",
"mcl_core:mat", "mcl_core:mat",
"mcl_core:mossycobble", "mcl_core:mossycobble",
"mcl_core:mycelium", "mcl_core:mycelium",
"mcl_core:mycelium_snow",
"mcl_core:obsidian", "mcl_core:obsidian",
"mcl_core:packed", "mcl_core:packed_ice",
"mcl_core:paper", "mcl_core:paper",
"mcl_core:pick", "mcl_core:pick_diamond",
"mcl_core:pick_gold",
"mcl_core:pick_iron",
"mcl_core:pick_stone",
"mcl_core:pick_wood",
"mcl_core:podzol", "mcl_core:podzol",
"mcl_core:realm", "mcl_core:podzol_snow",
"mcl_core:realm_barrier",
"mcl_core:redsand", "mcl_core:redsand",
"mcl_core:redsandstone", "mcl_core:redsandstone",
"mcl_core:redsandstonecarved", "mcl_core:redsandstonecarved",
"mcl_core:redsandstonesmooth", "mcl_core:redsandstonesmooth",
"mcl_core:redsandstonesmooth2", "mcl_core:redsandstonesmooth2",
"mcl_core:reeds", "mcl_core:reeds",
"mcl_core:replace", "mcl_core:replace_legacy_dry_grass_0_65_0",
"mcl_core:sand", "mcl_core:sand",
"mcl_core:sandstone", "mcl_core:sandstone",
"mcl_core:sandstonecarved", "mcl_core:sandstonecarved",
@ -371,9 +504,14 @@ local nodenames_ground = {
"mcl_core:sandstonesmooth2", "mcl_core:sandstonesmooth2",
"mcl_core:sapling", "mcl_core:sapling",
"mcl_core:shears", "mcl_core:shears",
"mcl_core:shovel", "mcl_core:shovel_diamond",
"mcl_core:shovel_gold",
"mcl_core:shovel_iron",
"mcl_core:shovel_stone",
"mcl_core:shovel_wood",
"mcl_core:slimeblock", "mcl_core:slimeblock",
"mcl_core:snow", "mcl_core:snow",
"mcl_core:snow_",
"mcl_core:snowblock", "mcl_core:snowblock",
"mcl_core:spruceleaves", "mcl_core:spruceleaves",
"mcl_core:sprucesapling", "mcl_core:sprucesapling",
@ -385,34 +523,59 @@ local nodenames_ground = {
"mcl_core:stonebrickcarved", "mcl_core:stonebrickcarved",
"mcl_core:stonebrickcracked", "mcl_core:stonebrickcracked",
"mcl_core:stonebrickmossy", "mcl_core:stonebrickmossy",
"mcl_core:stone_smooth",
"mcl_core:stone_with_coal",
"mcl_core:stone_with_diamond",
"mcl_core:stone_with_emerald",
"mcl_core:stone_with_gold",
"mcl_core:stone_with_iron",
"mcl_core:stone_with_lapis",
"mcl_core:stone_with_redstone",
"mcl_core:stone_with_redstone_lit",
"mcl_core:sugar", "mcl_core:sugar",
"mcl_core:sword", "mcl_core:sword_diamond",
"mcl_core:sword_gold",
"mcl_core:sword_iron",
"mcl_core:sword_stone",
"mcl_core:sword_wood",
"mcl_core:tallgrass", "mcl_core:tallgrass",
"mcl_core:torch", "mcl_core:torch",
"mcl_core:tree", "mcl_core:tree",
"mcl_core:vine", "mcl_core:vine",
"mcl_core:void", "mcl_core:void",
"mcl_core:water", "mcl_core:water_flowing",
"mcl_core:water_source",
"mcl_core:wood", "mcl_core:wood",
"mcl_dispenser:dispenser", "mcl_dispenser:dispenser_down",
"mcl_dispenser:dispenser_up",
"mcl_dispensers:dispenser", "mcl_dispensers:dispenser",
"mcl_dispensers:update", "mcl_dispensers:dispenser_down",
"mcl_doors:acacia", "mcl_dispensers:dispenser_up",
"mcl_doors:birch", "mcl_dispensers:update_formspecs_0_60_0",
"mcl_doors:dark", "mcl_doors:acacia_door",
"mcl_doors:iron", "mcl_doors:birch_door",
"mcl_doors:jungle", "mcl_doors:dark_oak_door",
"mcl_doors:register", "mcl_doors:iron_door",
"mcl_doors:spruce", "mcl_doors:iron_trapdoor",
"mcl_doors:iron_trapdoor_open",
"mcl_doors:jungle_door",
"mcl_doors:register_door",
"mcl_doors:register_trapdoor",
"mcl_doors:spruce_door",
"mcl_doors:trapdoor", "mcl_doors:trapdoor",
"mcl_doors:wooden", "mcl_doors:trapdoor_open",
"mcl_doors:wooden_door",
"mcl_droppers:dropper", "mcl_droppers:dropper",
"mcl_droppers:update", "mcl_droppers:dropper_down",
"mcl_droppers:dropper_up",
"mcl_droppers:update_formspecs_0_51_0",
"mcl_droppers:update_formspecs_0_60_0",
"mcl_dye:black", "mcl_dye:black",
"mcl_dye:blue", "mcl_dye:blue",
"mcl_dye:brown", "mcl_dye:brown",
"mcl_dye:cyan", "mcl_dye:cyan",
"mcl_dye:dark", "mcl_dye:dark_green",
"mcl_dye:dark_grey",
"mcl_dye:green", "mcl_dye:green",
"mcl_dye:grey", "mcl_dye:grey",
"mcl_dye:lightblue", "mcl_dye:lightblue",
@ -423,195 +586,457 @@ local nodenames_ground = {
"mcl_dye:violet", "mcl_dye:violet",
"mcl_dye:white", "mcl_dye:white",
"mcl_dye:yellow", "mcl_dye:yellow",
"mcl_end:chorus", "mcl_end:chorus_flower",
"mcl_end:dragon", "mcl_end:chorus_flower_dead",
"mcl_end:end", "mcl_end:chorus_fruit",
"mcl_end:ender", "mcl_end:chorus_fruit_popped",
"mcl_end:purpur", "mcl_end:chorus_plant",
"mcl_farming:add", "mcl_end:dragon_egg",
"mcl_end:end_bricks",
"mcl_end:ender_eye",
"mcl_end:end_rod",
"mcl_end:end_stone",
"mcl_end:purpur_block",
"mcl_end:purpur_pillar",
"mcl_farming:add_gourd",
"mcl_farming:add_plant",
"mcl_farming:beetroot", "mcl_farming:beetroot",
"mcl_farming:beetroot_",
"mcl_farming:beetroot_0",
"mcl_farming:beetroot_1",
"mcl_farming:beetroot_2",
"mcl_farming:beetroot_item",
"mcl_farming:beetroot_seeds",
"mcl_farming:beetroot_soup",
"mcl_farming:bread", "mcl_farming:bread",
"mcl_farming:carrot", "mcl_farming:carrot",
"mcl_farming:carrot_",
"mcl_farming:carrot_1",
"mcl_farming:carrot_2",
"mcl_farming:carrot_3",
"mcl_farming:carrot_4",
"mcl_farming:carrot_5",
"mcl_farming:carrot_6",
"mcl_farming:carrot_7",
"mcl_farming:carrot_item",
"mcl_farming:carrot_item_gold",
"mcl_farming:cookie", "mcl_farming:cookie",
"mcl_farming:grow", "mcl_farming:grow_plant",
"mcl_farming:growth", "mcl_farming:growth",
"mcl_farming:hay", "mcl_farming:hay_block",
"mcl_farming:hoe", "mcl_farming:hoe_diamond",
"mcl_farming:hoe_gold",
"mcl_farming:hoe_iron",
"mcl_farming:hoe_stone",
"mcl_farming:hoe_wood",
"mcl_farming:melon", "mcl_farming:melon",
"mcl_farming:melontige", "mcl_farming:melon_item",
"mcl_farming:mushroom", "mcl_farming:melon_seeds",
"mcl_farming:place", "mcl_farming:melontige_",
"mcl_farming:melontige_1",
"mcl_farming:melontige_2",
"mcl_farming:melontige_3",
"mcl_farming:melontige_4",
"mcl_farming:melontige_5",
"mcl_farming:melontige_6",
"mcl_farming:melontige_7",
"mcl_farming:melontige_linked",
"mcl_farming:melontige_unconnect",
"mcl_farming:mushroom_brown",
"mcl_farming:mushroom_red",
"mcl_farming:place_seed",
"mcl_farming:potato", "mcl_farming:potato",
"mcl_farming:pumkin", "mcl_farming:potato_",
"mcl_farming:potato_1",
"mcl_farming:potato_2",
"mcl_farming:potato_3",
"mcl_farming:potato_4",
"mcl_farming:potato_5",
"mcl_farming:potato_6",
"mcl_farming:potato_7",
"mcl_farming:potato_item",
"mcl_farming:potato_item_baked",
"mcl_farming:potato_item_poison",
"mcl_farming:pumkin_seeds",
"mcl_farming:pumpkin", "mcl_farming:pumpkin",
"mcl_farming:pumpkintige", "mcl_farming:pumpkin_",
"mcl_farming:pumpkin_1",
"mcl_farming:pumpkin_2",
"mcl_farming:pumpkin_3",
"mcl_farming:pumpkin_4",
"mcl_farming:pumpkin_5",
"mcl_farming:pumpkin_6",
"mcl_farming:pumpkin_7",
"mcl_farming:pumpkin_face",
"mcl_farming:pumpkin_face_light",
"mcl_farming:pumpkin_pie",
"mcl_farming:pumpkin_seeds",
"mcl_farming:pumpkintige_linked",
"mcl_farming:pumpkintige_unconnect",
"mcl_farming:soil", "mcl_farming:soil",
"mcl_farming:stem", "mcl_farming:soil_wet",
"mcl_farming:stem_color",
"mcl_farming:wheat", "mcl_farming:wheat",
"mcl_fences:dark", "mcl_farming:wheat_",
"mcl_farming:wheat_1",
"mcl_farming:wheat_2",
"mcl_farming:wheat_3",
"mcl_farming:wheat_4",
"mcl_farming:wheat_5",
"mcl_farming:wheat_6",
"mcl_farming:wheat_7",
"mcl_farming:wheat_item",
"mcl_farming:wheat_seeds",
"mcl_fences:dark_oak_fence",
"mcl_fences:fence", "mcl_fences:fence",
"mcl_fences:nether", "mcl_fences:nether_brick_fence",
"mcl_fire:basic", "mcl_fire:basic_flame",
"mcl_fire:eternal", "mcl_fire:eternal_fire",
"mcl_fire:fire", "mcl_fire:fire",
"mcl_fire:flint", "mcl_fire:fire_charge",
"mcl_fire:flint_and_steel",
"mcl_fire:smoke", "mcl_fire:smoke",
"mcl_fishing:bobber", "mcl_fishing:bobber",
"mcl_fishing:clownfish", "mcl_fishing:bobber_entity",
"mcl_fishing:fish", "mcl_fishing:clownfish_raw",
"mcl_fishing:fishing", "mcl_fishing:fish_cooked",
"mcl_fishing:pufferfish", "mcl_fishing:fishing_rod",
"mcl_fishing:salmon", "mcl_fishing:fish_raw",
"mcl_flowerpots:flower", "mcl_fishing:pufferfish_raw",
"mcl_fishing:salmon_cooked",
"mcl_fishing:salmon_raw",
"mcl_flowerpots:flower_pot",
"mcl_flowerpots:flower_pot_",
"mcl_flowers:allium", "mcl_flowers:allium",
"mcl_flowers:azure", "mcl_flowers:azure_bluet",
"mcl_flowers:blue", "mcl_flowers:blue_orchid",
"mcl_flowers:dandelion", "mcl_flowers:dandelion",
"mcl_flowers:double", "mcl_flowers:double_fern",
"mcl_flowers:double_fern_top",
"mcl_flowers:double_grass",
"mcl_flowers:double_grass_top",
"mcl_flowers:fern", "mcl_flowers:fern",
"mcl_flowers:lilac", "mcl_flowers:lilac",
"mcl_flowers:oxeye", "mcl_flowers:lilac_top",
"mcl_flowers:oxeye_daisy",
"mcl_flowers:peony", "mcl_flowers:peony",
"mcl_flowers:peony_top",
"mcl_flowers:poppy", "mcl_flowers:poppy",
"mcl_flowers:rose", "mcl_flowers:rose_bush",
"mcl_flowers:rose_bush_top",
"mcl_flowers:sunflower", "mcl_flowers:sunflower",
"mcl_flowers:sunflower_top",
"mcl_flowers:tallgrass", "mcl_flowers:tallgrass",
"mcl_flowers:tulip", "mcl_flowers:tulip_orange",
"mcl_flowers:tulip_pink",
"mcl_flowers:tulip_red",
"mcl_flowers:tulip_white",
"mcl_flowers:waterlily", "mcl_flowers:waterlily",
"mcl_furnaces:flames", "mcl_furnaces:flames",
"mcl_furnaces:furnace", "mcl_furnaces:furnace",
"mcl_furnaces:update", "mcl_furnaces:furnace_active",
"mcl_furnaces:update_formspecs_0_60_0",
"mcl_heads:creeper", "mcl_heads:creeper",
"mcl_heads:skeleton", "mcl_heads:skeleton",
"mcl_heads:wither", "mcl_heads:wither_skeleton",
"mcl_heads:zombie", "mcl_heads:zombie",
"mcl_hoppers:hopper", "mcl_hoppers:hopper",
"mcl_hoppers:update", "mcl_hoppers:hopper_disabled",
"mcl_hoppers:hopper_item",
"mcl_hoppers:hopper_side",
"mcl_hoppers:hopper_side_disabled",
"mcl_hoppers:update_formspec_0_60_0",
"mcl_hunger:exhaustion", "mcl_hunger:exhaustion",
"mcl_hunger:hunger", "mcl_hunger:hunger",
"mcl_hunger:saturation", "mcl_hunger:saturation",
"mcl_inventory:workbench", "mcl_inventory:workbench",
"mcl_itemframes:item", "mcl_itemframes:item",
"mcl_itemframes:respawn", "mcl_itemframes:item_frame",
"mcl_itemframes:update", "mcl_itemframes:respawn_entities",
"mcl_itemframes:update_legacy_item_frames",
"mcl_jukebox:jukebox", "mcl_jukebox:jukebox",
"mcl_jukebox:record", "mcl_jukebox:record_",
"mcl_maps:empty", "mcl_jukebox:record_1",
"mcl_maps:filled", "mcl_jukebox:record_2",
"mcl_jukebox:record_3",
"mcl_jukebox:record_4",
"mcl_jukebox:record_5",
"mcl_jukebox:record_6",
"mcl_jukebox:record_7",
"mcl_jukebox:record_8",
"mcl_jukebox:record_9",
"mcl_maps:empty_map",
"mcl_maps:filled_map",
"mcl_meshhand:hand", "mcl_meshhand:hand",
"mcl_minecarts:activator", "mcl_minecarts:activator_rail",
"mcl_minecarts:check", "mcl_minecarts:activator_rail_on",
"mcl_minecarts:chest", "mcl_minecarts:check_front_up_down",
"mcl_minecarts:command", "mcl_minecarts:chest_minecart",
"mcl_minecarts:detector", "mcl_minecarts:command_block_minecart",
"mcl_minecarts:furnace", "mcl_minecarts:detector_rail",
"mcl_minecarts:get", "mcl_minecarts:detector_rail_on",
"mcl_minecarts:golden", "mcl_minecarts:furnace_minecart",
"mcl_minecarts:hopper", "mcl_minecarts:get_rail_direction",
"mcl_minecarts:is", "mcl_minecarts:get_sign",
"mcl_minecarts:golden_rail",
"mcl_minecarts:golden_rail_on",
"mcl_minecarts:hopper_minecart",
"mcl_minecarts:is_rail",
"mcl_minecarts:minecart", "mcl_minecarts:minecart",
"mcl_minecarts:rail", "mcl_minecarts:rail",
"mcl_minecarts:tnt", "mcl_minecarts:tnt_minecart",
"mcl_minecarts:velocity", "mcl_minecarts:velocity_to_dir",
"mcl_mobitems:beef", "mcl_mobitems:beef",
"mcl_mobitems:blaze", "mcl_mobitems:blaze_powder",
"mcl_mobitems:blaze_rod",
"mcl_mobitems:bone", "mcl_mobitems:bone",
"mcl_mobitems:carrot", "mcl_mobitems:carrot_on_a_stick",
"mcl_mobitems:chicken", "mcl_mobitems:chicken",
"mcl_mobitems:cooked", "mcl_mobitems:cooked_beef",
"mcl_mobitems:ender", "mcl_mobitems:cooked_chicken",
"mcl_mobitems:cooked_mutton",
"mcl_mobitems:cooked_porkchop",
"mcl_mobitems:cooked_rabbit",
"mcl_mobitems:ender_eye",
"mcl_mobitems:feather", "mcl_mobitems:feather",
"mcl_mobitems:ghast", "mcl_mobitems:ghast_tear",
"mcl_mobitems:gunpowder", "mcl_mobitems:gunpowder",
"mcl_mobitems:leather", "mcl_mobitems:leather",
"mcl_mobitems:magma", "mcl_mobitems:magma_cream",
"mcl_mobitems:milk", "mcl_mobitems:milk_bucket",
"mcl_mobitems:mutton", "mcl_mobitems:mutton",
"mcl_mobitems:nether", "mcl_mobitems:nether_star",
"mcl_mobitems:porkchop", "mcl_mobitems:porkchop",
"mcl_mobitems:rabbit", "mcl_mobitems:rabbit",
"mcl_mobitems:rotten", "mcl_mobitems:rabbit_foot",
"mcl_mobitems:rabbit_hide",
"mcl_mobitems:rabbit_stew",
"mcl_mobitems:rotten_flesh",
"mcl_mobitems:saddle", "mcl_mobitems:saddle",
"mcl_mobitems:shulker", "mcl_mobitems:shulker_shell",
"mcl_mobitems:slimeball", "mcl_mobitems:slimeball",
"mcl_mobitems:spider", "mcl_mobitems:spider_eye",
"mcl_mobitems:string", "mcl_mobitems:string",
"mcl_mobs:nametag", "mcl_mobs:nametag",
"mcl_mobspawners:doll", "mcl_mobspawners:doll",
"mcl_mobspawners:respawn", "mcl_mobspawners:respawn_entities",
"mcl_mobspawners:spawner", "mcl_mobspawners:spawner",
"mcl_mushrooms:brown", "mcl_mushrooms:brown_mushroom_block_cap_corner",
"mcl_mushrooms:mushroom", "mcl_mushrooms:brown_mushroom_block_cap_side",
"mcl_mushrooms:red", "mcl_mushrooms:mushroom_brown",
"mcl_mushrooms:replace", "mcl_mushrooms:mushroom_red",
"mcl_mushrooms:mushroom_stew",
"mcl_mushrooms:red_mushroom_block_cap_corner",
"mcl_mushrooms:red_mushroom_block_cap_side",
"mcl_mushrooms:replace_legacy_mushroom_caps",
"mcl_nether:glowstone", "mcl_nether:glowstone",
"mcl_nether:glowstone_dust",
"mcl_nether:magma", "mcl_nether:magma",
"mcl_nether:nether", "mcl_nether:nether_brick",
"mcl_nether:netherbrick", "mcl_nether:netherbrick",
"mcl_nether:nether_lava_flowing",
"mcl_nether:nether_lava_source",
"mcl_nether:netherrack", "mcl_nether:netherrack",
"mcl_nether:nether_wart",
"mcl_nether:nether_wart_",
"mcl_nether:nether_wart_0",
"mcl_nether:nether_wart_1",
"mcl_nether:nether_wart_2",
"mcl_nether:nether_wart_block",
"mcl_nether:nether_wart_item",
"mcl_nether:quartz", "mcl_nether:quartz",
"mcl_nether:red", "mcl_nether:quartz_block",
"mcl_nether:soul", "mcl_nether:quartz_chiseled",
"mcl_nether:quartz_ore",
"mcl_nether:quartz_pillar",
"mcl_nether:quartz_smooth",
"mcl_nether:red_nether_brick",
"mcl_nether:soul_sand",
"mcl_observers:observer", "mcl_observers:observer",
"mcl_ocean:dead", "mcl_observers:observer_down",
"mcl_ocean:dried", "mcl_observers:observer_down_off",
"mcl_observers:observer_down_on",
"mcl_observers:observer_off",
"mcl_observers:observer_on",
"mcl_observers:observer_up",
"mcl_observers:observer_up_off",
"mcl_observers:observer_up_on",
"mcl_ocean:dead_",
"mcl_ocean:dead_brain_coral_block",
"mcl_ocean:dried_kelp",
"mcl_ocean:dried_kelp_block",
"mcl_ocean:kelp", "mcl_ocean:kelp",
"mcl_ocean:kelp_",
"mcl_ocean:kelp_dirt",
"mcl_ocean:kelp_gravel",
"mcl_ocean:kelp_redsand",
"mcl_ocean:kelp_sand",
"mcl_ocean:prismarine", "mcl_ocean:prismarine",
"mcl_ocean:sea", "mcl_ocean:prismarine_brick",
"mcl_ocean:prismarine_crystals",
"mcl_ocean:prismarine_dark",
"mcl_ocean:prismarine_shard",
"mcl_ocean:seagrass", "mcl_ocean:seagrass",
"mcl_ocean:seagrass_",
"mcl_ocean:seagrass_dirt",
"mcl_ocean:seagrass_gravel",
"mcl_ocean:seagrass_redsand",
"mcl_ocean:seagrass_sand",
"mcl_ocean:sea_lantern",
"mcl_ocean:sea_pickle_",
"mcl_ocean:sea_pickle_1_",
"mcl_ocean:sea_pickle_1_dead_brain_coral_block",
"mcl_ocean:sea_pickle_1_off_",
"mcl_ocean:sea_pickle_1_off_dead_brain_coral_block",
"mcl_paintings:painting", "mcl_paintings:painting",
"mcl_playerplus:surface", "mcl_playerplus:surface",
"mcl_player:preview", "mcl_player:preview",
"mcl_portals:end", "mcl_portals:end_portal_frame",
"mcl_portals:end_portal_frame_eye",
"mcl_portals:portal", "mcl_portals:portal",
"mcl_portals:portal_end",
"mcl_potions:awkward", "mcl_potions:awkward",
"mcl_potions:dragon", "mcl_potions:dragon_breath",
"mcl_potions:fermented", "mcl_potions:fermented_spider_eye",
"mcl_potions:fire", "mcl_potions:fire_resistance",
"mcl_potions:glass", "mcl_potions:glass_bottle",
"mcl_potions:harming", "mcl_potions:harming",
"mcl_potions:harming_2",
"mcl_potions:harming_2_splash",
"mcl_potions:harming_splash",
"mcl_potions:healing", "mcl_potions:healing",
"mcl_potions:healing_2",
"mcl_potions:healing_2_splash",
"mcl_potions:healing_splash",
"mcl_potions:invisibility", "mcl_potions:invisibility",
"mcl_potions:invisibility_plus",
"mcl_potions:invisibility_plus_splash",
"mcl_potions:invisibility_splash",
"mcl_potions:leaping", "mcl_potions:leaping",
"mcl_potions:leaping_plus",
"mcl_potions:leaping_plus_splash",
"mcl_potions:leaping_splash",
"mcl_potions:mundane", "mcl_potions:mundane",
"mcl_potions:night", "mcl_potions:night_vision",
"mcl_potions:night_vision_arrow",
"mcl_potions:night_vision_lingering",
"mcl_potions:night_vision_plus",
"mcl_potions:night_vision_plus_arrow",
"mcl_potions:night_vision_plus_lingering",
"mcl_potions:night_vision_plus_splash",
"mcl_potions:night_vision_splash",
"mcl_potions:poison", "mcl_potions:poison",
"mcl_potions:poison_2",
"mcl_potions:poison_2_splash",
"mcl_potions:poison_splash",
"mcl_potions:regeneration", "mcl_potions:regeneration",
"mcl_potions:river", "mcl_potions:river_water",
"mcl_potions:slowness", "mcl_potions:slowness",
"mcl_potions:speckled", "mcl_potions:slowness_plus",
"mcl_potions:slowness_plus_splash",
"mcl_potions:slowness_splash",
"mcl_potions:speckled_melon",
"mcl_potions:strength", "mcl_potions:strength",
"mcl_potions:strength_2",
"mcl_potions:strength_2_lingering",
"mcl_potions:strength_2_splash",
"mcl_potions:strength_lingering",
"mcl_potions:strength_plus",
"mcl_potions:strength_plus_lingering",
"mcl_potions:strength_plus_splash",
"mcl_potions:strength_splash",
"mcl_potions:swiftness", "mcl_potions:swiftness",
"mcl_potions:swiftness_plus",
"mcl_potions:swiftness_plus_splash",
"mcl_potions:swiftness_splash",
"mcl_potions:thick", "mcl_potions:thick",
"mcl_potions:water", "mcl_potions:water",
"mcl_potions:water_breathing",
"mcl_potions:water_splash",
"mcl_potions:weakness", "mcl_potions:weakness",
"mcl_signs:respawn", "mcl_potions:weakness_lingering",
"mcl_signs:set", "mcl_potions:weakness_plus",
"mcl_signs:standing", "mcl_potions:weakness_plus_lingering",
"mcl_potions:weakness_plus_splash",
"mcl_potions:weakness_splash",
"mcl_signs:respawn_entities",
"mcl_signs:set_text_",
"mcl_signs:standing_sign",
"mcl_signs:standing_sign22_5",
"mcl_signs:standing_sign45",
"mcl_signs:standing_sign67_5",
"mcl_signs:text", "mcl_signs:text",
"mcl_signs:wall", "mcl_signs:wall_sign",
"mcl_skins:skin", "mcl_skins:skin_id",
"mcl_skins:skin_select",
"mcl_sponges:sponge", "mcl_sponges:sponge",
"mcl_sponges:sponge_wet",
"mcl_sponges:sponge_wet_river_water",
"mcl_sprint:sprint", "mcl_sprint:sprint",
"mcl_stairs:slab", "mcl_stairs:slab_",
"mcl_stairs:stair", "mcl_stairs:slab_concrete_",
"mcl_stairs:stairs", "mcl_stairs:slab_purpur_block",
"mcl_supplemental:nether", "mcl_stairs:slab_quartzblock",
"mcl_supplemental:red", "mcl_stairs:slab_redsandstone",
"mcl_stairs:slab_sandstone",
"mcl_stairs:slab_stone",
"mcl_stairs:slab_stonebrick",
"mcl_stairs:slab_stone_double",
"mcl_stairs:slab_wood",
"mcl_stairs:stair_",
"mcl_stairs:stair_cobble",
"mcl_stairs:stair_concrete_",
"mcl_stairs:stair_sandstone",
"mcl_stairs:stair_stonebrick",
"mcl_stairs:stair_stonebrickcracked",
"mcl_stairs:stair_stonebrickcracked_inner",
"mcl_stairs:stair_stonebrickcracked_outer",
"mcl_stairs:stair_stonebrick_inner",
"mcl_stairs:stair_stonebrickmossy",
"mcl_stairs:stair_stonebrickmossy_inner",
"mcl_stairs:stair_stonebrickmossy_outer",
"mcl_stairs:stair_stonebrick_outer",
"mcl_stairs:stairs_wood",
"mcl_supplemental:nether_brick_fence_gate",
"mcl_supplemental:nether_brick_fence_gate_open",
"mcl_supplemental:red_nether_brick_fence",
"mcl_supplemental:red_nether_brick_fence_gate",
"mcl_supplemental:red_nether_brick_fence_gate_open",
"mcl_throwing:arrow", "mcl_throwing:arrow",
"mcl_throwing:bow", "mcl_throwing:bow",
"mcl_throwing:egg", "mcl_throwing:egg",
"mcl_throwing:ender", "mcl_throwing:egg_entity",
"mcl_throwing:flying", "mcl_throwing:ender_pearl",
"mcl_throwing:ender_pearl_entity",
"mcl_throwing:flying_bobber",
"mcl_throwing:flying_bobber_entity",
"mcl_throwing:snowball", "mcl_throwing:snowball",
"mcl_throwing:snowball_entity",
"mcl_tnt:tnt", "mcl_tnt:tnt",
"mcl_tools:axe", "mcl_tools:axe_diamond",
"mcl_tools:pick", "mcl_tools:axe_gold",
"mcl_tools:axe_iron",
"mcl_tools:axe_stone",
"mcl_tools:axe_wood",
"mcl_tools:pick_diamond",
"mcl_tools:pick_gold",
"mcl_tools:pick_iron",
"mcl_tools:pick_stone",
"mcl_tools:pick_wood",
"mcl_tools:shears", "mcl_tools:shears",
"mcl_tools:shovel", "mcl_tools:shovel_diamond",
"mcl_tools:sword", "mcl_tools:shovel_gold",
"mcl_tools:shovel_iron",
"mcl_tools:shovel_stone",
"mcl_tools:shovel_wood",
"mcl_tools:sword_diamond",
"mcl_tools:sword_gold",
"mcl_tools:sword_iron",
"mcl_tools:sword_stone",
"mcl_tools:sword_wood",
"mcl_torches:flames", "mcl_torches:flames",
"mcl_torches:torch", "mcl_torches:torch",
"mcl_torches:torch_wall",
"mcl_walls:andesite", "mcl_walls:andesite",
"mcl_walls:brick", "mcl_walls:brick",
"mcl_walls:cobble", "mcl_walls:cobble",
@ -627,24 +1052,41 @@ local nodenames_ground = {
"mcl_walls:stonebrick", "mcl_walls:stonebrick",
"mcl_walls:stonebrickmossy", "mcl_walls:stonebrickmossy",
"mcl_wool:black", "mcl_wool:black",
"mcl_wool:black_carpet",
"mcl_wool:blue", "mcl_wool:blue",
"mcl_wool:blue_carpet",
"mcl_wool:brown", "mcl_wool:brown",
"mcl_wool:brown_carpet",
"mcl_wool:cyan", "mcl_wool:cyan",
"mcl_wool:dark", "mcl_wool:cyan_carpet",
"mcl_wool:dark_blue",
"mcl_wool:gold", "mcl_wool:gold",
"mcl_wool:green", "mcl_wool:green",
"mcl_wool:green_carpet",
"mcl_wool:grey", "mcl_wool:grey",
"mcl_wool:light", "mcl_wool:grey_carpet",
"mcl_wool:light_blue",
"mcl_wool:light_blue_carpet",
"mcl_wool:lime", "mcl_wool:lime",
"mcl_wool:lime_carpet",
"mcl_wool:magenta", "mcl_wool:magenta",
"mcl_wool:magenta_carpet",
"mcl_wool:orange", "mcl_wool:orange",
"mcl_wool:orange_carpet",
"mcl_wool:pink", "mcl_wool:pink",
"mcl_wool:pink_carpet",
"mcl_wool:purple", "mcl_wool:purple",
"mcl_wool:purple_carpet",
"mcl_wool:red", "mcl_wool:red",
"mcl_wool:red_carpet",
"mcl_wool:silver", "mcl_wool:silver",
"mcl_wool:silver_carpet",
"mcl_wool:white", "mcl_wool:white",
"mcl_wool:white_carpet",
"mcl_wool:yellow", "mcl_wool:yellow",
} "mcl_wool:yellow_carpet",
}
function autofly.cruise() function autofly.cruise()
if not minetest.settings:get_bool('afly_cruise') then if not minetest.settings:get_bool('afly_cruise') then
@ -656,9 +1098,9 @@ function autofly.cruise()
return end return end
local lp=minetest.localplayer:get_pos() local lp=minetest.localplayer:get_pos()
local pos1 = vector.add(lp,{x=8,y=100,z=8}) local pos1 = vector.add(lp,{x=16,y=100,z=16})
local pos2 = vector.add(lp,{x=-8,y=-100,z=-8}) local pos2 = vector.add(lp,{x=-16,y=-100,z=-16})
local nds=minetest.find_nodes_in_area(pos1, pos2, nodenames_ground) local nds=minetest.find_nodes_in_area_under_air(pos1, pos2, nodenames_ground)
local y=0 local y=0
local found=false local found=false