/minespect

A combined resourcepack and datapack implementing item inspection animations in vanilla Minecraft.

Primary LanguagePython

minespect

minespect adds the inspect weapon functionality from CoD, CS, and TF2 into vanilla Minecraft (no mods required).

Currently, only Java edition 1.17 (snapshot 21w07a) is supported.

Installing

homepagehomepage

  1. Download the resourcepack to .minecraft/resourcepacks
  2. Download the datapack to .minecraft/saves/YOURWORLD/datapacks

If you're not sure where to find .minecraft/, pause the game and select 'Resource Packs'. From there, select 'Open Resource Pack Folder' and navigate up one level.

Usage

For now, the only functionality is to type /function inspect:inspect into the chat. If you forget the command, type /reload and click the prompt.

Todo

  1. Fix attackSpeed modifier system, conditions
  2. Get length of animation somehow to know when to end, or just make all have same length
  3. Add inspecting left hand animation too
    1. If tool in both hands, use second delayed scoreboard value for left hand animation
    2. Else, just use regular scoreboard for left hand
  4. Add in keybind or other trigger for inspecting
    1. Standing still for a while, bring up prompt in chat?
  5. Custom animations for enchanted items?
    1. Add smoke particles to inspect fire aspect sword
    2. Fancy twirl for sharpness or efficiency tools
    3. Swirling XP orbs for mending tools?
  6. Multiple animations per item? Maybe select from menu?
  7. Ping system datapack...