UNPKG

mineflayer-mouse

Version:

First-class **battle-tested** simple API for emulating real Minecraft mouse control in Mineflayer. You should use it for digging (mining) or placing blocks and entity attacking or using and using items!

212 lines (211 loc) 5.38 kB
{ "version": "1.21.4", "attackable": [ "acacia_boat", "acacia_chest_boat", "allay", "armadillo", "armor_stand", "axolotl", "bamboo_chest_raft", "bamboo_raft", "bat", "bee", "birch_boat", "birch_chest_boat", "blaze", "bogged", "breeze", "camel", "cat", "cave_spider", "cherry_boat", "cherry_chest_boat", "chest_minecart", "chicken", "cod", "command_block_minecart", "cow", "creaking", "creeper", "dark_oak_boat", "dark_oak_chest_boat", "dolphin", "donkey", "drowned", "elder_guardian", "end_crystal", "ender_dragon", "enderman", "endermite", "evoker", "falling_block", "fox", "frog", "furnace_minecart", "ghast", "giant", "glow_item_frame", "glow_squid", "goat", "guardian", "hoglin", "hopper_minecart", "horse", "husk", "illusioner", "iron_golem", "item_frame", "jungle_boat", "jungle_chest_boat", "leash_knot", "llama", "magma_cube", "mangrove_boat", "mangrove_chest_boat", "minecart", "mooshroom", "mule", "oak_boat", "oak_chest_boat", "ocelot", "painting", "pale_oak_boat", "pale_oak_chest_boat", "panda", "parrot", "phantom", "pig", "piglin", "piglin_brute", "pillager", "player", "polar_bear", "pufferfish", "rabbit", "ravager", "salmon", "sheep", "shulker", "shulker_bullet", "silverfish", "skeleton", "skeleton_horse", "slime", "sniffer", "snow_golem", "spawner_minecart", "spider", "spruce_boat", "spruce_chest_boat", "squid", "stray", "strider", "tadpole", "tnt", "tnt_minecart", "trader_llama", "tropical_fish", "turtle", "vex", "villager", "vindicator", "wandering_trader", "warden", "wind_charge", "witch", "wither", "wither_skeleton", "wolf", "zoglin", "zombie", "zombie_horse", "zombie_villager", "zombified_piglin" ], "notAttackable": [ "area_effect_cloud", "arrow", "block_display", "breeze_wind_charge", "dragon_fireball", "egg", "ender_pearl", "evoker_fangs", "experience_bottle", "experience_orb", "eye_of_ender", "fireball", "firework_rocket", "fishing_bobber", "interaction", "item", "item_display", "lightning_bolt", "llama_spit", "marker", "ominous_item_spawner", "potion", "small_fireball", "snowball", "spectral_arrow", "text_display", "trident", "wither_skull" ], "entityRenames": { "Boat": "oak_boat", "EnderCrystal": "end_crystal", "EntityHorse": "horse", "EyeOfEnderSignal": "eye_of_ender", "FallingSand": "falling_block", "FireworksRocketEntity": "firework_rocket", "Fishing Float": "fishing_bobber", "Fishing Hook": "fishing_bobber", "LavaSlime": "magma_cube", "MinecartRideable": "minecart", "Mob": false, "Monster": false, "MushroomCow": "mooshroom", "Ozelot": "ocelot", "PigZombie": "zombified_piglin", "PrimedTnt": "tnt", "SnowMan": "snow_golem", "ThrownEgg": "egg", "ThrownEnderpearl": "ender_pearl", "ThrownExpBottle": "experience_bottle", "ThrownPotion": "potion", "VillagerGolem": "iron_golem", "WitherBoss": "wither", "XPOrb": "experience_orb", "activated_tnt": "tnt", "armorstand": "armor_stand", "boat": "oak_boat", "chest_boat": "oak_chest_boat", "commandblock_minecart": "command_block_minecart", "creaking_transient": "creaking", "ender_crystal": "end_crystal", "endercrystal": "end_crystal", "evocation_fangs": "evoker_fangs", "evocation_illager": "evoker", "eye_of_ender_signal": "eye_of_ender", "falling_objects": "falling_block", "firecharge": "fireball", "fireworks_rocket": "firework_rocket", "fishing_hook": "fishing_bobber", "illusion_illager": "illusioner", "item_frames": "item_frame", "item_stack": "item", "snowman": "snow_golem", "thrown_enderpearl": "ender_pearl", "thrown_exp bottle": "experience_bottle", "thrown_exp_bottle": "experience_bottle", "thrown_potion": "potion", "tipped_arrow": "arrow", "villager_golem": "iron_golem", "vindication_illager": "vindicator", "xp_bottle": "experience_bottle", "xp_orb": "experience_orb", "zombie_pigman": "zombified_piglin" } }