mc-assets 0.2.31 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +107 -4
- package/dist/blockStatesModels.json +13058 -0
- package/dist/blocksAtlasLatest.png +0 -0
- package/dist/blocksAtlasLegacy.png +0 -0
- package/dist/blocksAtlases.json +70 -0
- package/dist/itemDefinitions.d.ts +12 -0
- package/dist/itemDefinitions.js +159 -0
- package/dist/itemDefinitions.json +14788 -0
- package/dist/itemDefinitions.test.d.ts +1 -0
- package/dist/itemDefinitions.test.js +389 -0
- package/dist/itemsAtlasLatest.png +0 -0
- package/dist/itemsAtlasLegacy.png +0 -0
- package/dist/itemsAtlases.json +145 -0
- package/dist/itemsRenderer.js +11 -7
- package/dist/itemsRenderer.test.js +38 -0
- package/dist/other-textures/1.21/entity/banner/flow.png +0 -0
- package/dist/other-textures/1.21/mob_effect/bad_omen.png +0 -0
- package/dist/other-textures/1.21.2/entity/bee/bee_stinger.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_1.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_2.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_3.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_4.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_5.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_a_pattern_6.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_1.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_2.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_3.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_4.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_5.png +0 -0
- package/dist/other-textures/1.21.2/entity/fish/tropical_b_pattern_6.png +0 -0
- package/dist/other-textures/1.21.2/entity/projectiles/arrow.png +0 -0
- package/dist/other-textures/1.21.2/entity/projectiles/spectral_arrow.png +0 -0
- package/dist/other-textures/1.21.2/entity/projectiles/tipped_arrow.png +0 -0
- package/dist/other-textures/1.21.2/gui/sprites/container/loom/pattern_slot.png +0 -0
- package/dist/other-textures/1.21.4/entity/signs/hanging/pale_oak.png +0 -0
- package/dist/other-textures/1.21.4/entity/signs/pale_oak.png +0 -0
- package/dist/other-textures/1.21.4/entity/slime/magmacube.png +0 -0
- package/dist/other-textures/1.21.4/gui/container/brewing_stand.png +0 -0
- package/dist/other-textures/1.21.4/gui/sprites/container/bundle/slot_background.png +0 -0
- package/dist/other-textures/1.21.4/gui/sprites/container/bundle/slot_highlight_back.png +0 -0
- package/dist/other-textures/1.21.4/gui/sprites/container/bundle/slot_highlight_front.png +0 -0
- package/dist/other-textures/1.21.4/gui/sprites/toast/system.png +0 -0
- package/dist/other-textures/latest/colormap/foliage.png +0 -0
- package/dist/other-textures/latest/colormap/grass.png +0 -0
- package/dist/other-textures/latest/effect/dither.png +0 -0
- package/dist/other-textures/latest/entity/allay/allay.png +0 -0
- package/dist/other-textures/latest/entity/axolotl/axolotl_blue.png +0 -0
- package/dist/other-textures/latest/entity/axolotl/axolotl_cyan.png +0 -0
- package/dist/other-textures/latest/entity/axolotl/axolotl_gold.png +0 -0
- package/dist/other-textures/latest/entity/axolotl/axolotl_lucy.png +0 -0
- package/dist/other-textures/latest/entity/axolotl/axolotl_wild.png +0 -0
- package/dist/other-textures/latest/entity/banner/base.png +0 -0
- package/dist/other-textures/latest/entity/banner/circle.png +0 -0
- package/dist/other-textures/latest/entity/banner/curly_border.png +0 -0
- package/dist/other-textures/latest/entity/banner/flower.png +0 -0
- package/dist/other-textures/latest/entity/banner/gradient.png +0 -0
- package/dist/other-textures/latest/entity/banner/gradient_up.png +0 -0
- package/dist/other-textures/latest/entity/banner/guster.png +0 -0
- package/dist/other-textures/latest/entity/banner/piglin.png +0 -0
- package/dist/other-textures/latest/entity/banner/rhombus.png +0 -0
- package/dist/other-textures/latest/entity/banner_base.png +0 -0
- package/dist/other-textures/latest/entity/beacon_beam.png +0 -0
- package/dist/other-textures/latest/entity/bed/black.png +0 -0
- package/dist/other-textures/latest/entity/bed/blue.png +0 -0
- package/dist/other-textures/latest/entity/bed/brown.png +0 -0
- package/dist/other-textures/latest/entity/bed/cyan.png +0 -0
- package/dist/other-textures/latest/entity/bed/gray.png +0 -0
- package/dist/other-textures/latest/entity/bed/green.png +0 -0
- package/dist/other-textures/latest/entity/bed/light_blue.png +0 -0
- package/dist/other-textures/latest/entity/bed/light_gray.png +0 -0
- package/dist/other-textures/latest/entity/bed/lime.png +0 -0
- package/dist/other-textures/latest/entity/bed/magenta.png +0 -0
- package/dist/other-textures/latest/entity/bed/orange.png +0 -0
- package/dist/other-textures/latest/entity/bed/pink.png +0 -0
- package/dist/other-textures/latest/entity/bed/purple.png +0 -0
- package/dist/other-textures/latest/entity/bed/red.png +0 -0
- package/dist/other-textures/latest/entity/bed/white.png +0 -0
- package/dist/other-textures/latest/entity/bed/yellow.png +0 -0
- package/dist/other-textures/latest/entity/bee/bee.png +0 -0
- package/dist/other-textures/latest/entity/bee/bee_angry.png +0 -0
- package/dist/other-textures/latest/entity/bee/bee_angry_nectar.png +0 -0
- package/dist/other-textures/latest/entity/bee/bee_nectar.png +0 -0
- package/dist/other-textures/latest/entity/bell/bell_body.png +0 -0
- package/dist/other-textures/latest/entity/blaze.png +0 -0
- package/dist/other-textures/latest/entity/boat/acacia.png +0 -0
- package/dist/other-textures/latest/entity/boat/bamboo.png +0 -0
- package/dist/other-textures/latest/entity/boat/birch.png +0 -0
- package/dist/other-textures/latest/entity/boat/cherry.png +0 -0
- package/dist/other-textures/latest/entity/boat/dark_oak.png +0 -0
- package/dist/other-textures/latest/entity/boat/jungle.png +0 -0
- package/dist/other-textures/latest/entity/boat/mangrove.png +0 -0
- package/dist/other-textures/latest/entity/boat/oak.png +0 -0
- package/dist/other-textures/latest/entity/boat/spruce.png +0 -0
- package/dist/other-textures/latest/entity/camel/camel.png +0 -0
- package/dist/other-textures/latest/entity/cat/all_black.png +0 -0
- package/dist/other-textures/latest/entity/cat/black.png +0 -0
- package/dist/other-textures/latest/entity/cat/british_shorthair.png +0 -0
- package/dist/other-textures/latest/entity/cat/calico.png +0 -0
- package/dist/other-textures/latest/entity/cat/jellie.png +0 -0
- package/dist/other-textures/latest/entity/cat/ocelot.png +0 -0
- package/dist/other-textures/latest/entity/cat/persian.png +0 -0
- package/dist/other-textures/latest/entity/cat/ragdoll.png +0 -0
- package/dist/other-textures/latest/entity/cat/red.png +0 -0
- package/dist/other-textures/latest/entity/cat/siamese.png +0 -0
- package/dist/other-textures/latest/entity/cat/tabby.png +0 -0
- package/dist/other-textures/latest/entity/cat/white.png +0 -0
- package/dist/other-textures/latest/entity/chest/christmas.png +0 -0
- package/dist/other-textures/latest/entity/chest/christmas_left.png +0 -0
- package/dist/other-textures/latest/entity/chest/christmas_right.png +0 -0
- package/dist/other-textures/latest/entity/chest/ender.png +0 -0
- package/dist/other-textures/latest/entity/chest/normal.png +0 -0
- package/dist/other-textures/latest/entity/chest/normal_left.png +0 -0
- package/dist/other-textures/latest/entity/chest/normal_right.png +0 -0
- package/dist/other-textures/latest/entity/chest/trapped.png +0 -0
- package/dist/other-textures/latest/entity/chest/trapped_left.png +0 -0
- package/dist/other-textures/latest/entity/chest/trapped_right.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/acacia.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/bamboo.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/birch.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/cherry.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/dark_oak.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/jungle.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/mangrove.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/oak.png +0 -0
- package/dist/other-textures/latest/entity/chest_boat/spruce.png +0 -0
- package/dist/other-textures/latest/entity/chicken.png +0 -0
- package/dist/other-textures/latest/entity/conduit/base.png +0 -0
- package/dist/other-textures/latest/entity/conduit/break_particle.png +0 -0
- package/dist/other-textures/latest/entity/conduit/cage.png +0 -0
- package/dist/other-textures/latest/entity/conduit/wind.png +0 -0
- package/dist/other-textures/latest/entity/conduit/wind_vertical.png +0 -0
- package/dist/other-textures/latest/entity/creeper/creeper.png +0 -0
- package/dist/other-textures/latest/entity/creeper/creeper_armor.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/angler_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/archer_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/arms_up_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/blade_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/brewer_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/burn_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/danger_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/decorated_pot_base.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/decorated_pot_side.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/explorer_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/friend_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/heart_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/heartbreak_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/howl_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/miner_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/mourner_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/plenty_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/prize_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/sheaf_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/shelter_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/skull_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/decorated_pot/snort_pottery_pattern.png +0 -0
- package/dist/other-textures/latest/entity/dolphin.png +0 -0
- package/dist/other-textures/latest/entity/elytra.png +0 -0
- package/dist/other-textures/latest/entity/enchanting_table_book.png +0 -0
- package/dist/other-textures/latest/entity/end_crystal/end_crystal.png +0 -0
- package/dist/other-textures/latest/entity/end_crystal/end_crystal_beam.png +0 -0
- package/dist/other-textures/latest/entity/end_gateway_beam.png +0 -0
- package/dist/other-textures/latest/entity/end_portal.png +0 -0
- package/dist/other-textures/latest/entity/enderdragon/dragon.png +0 -0
- package/dist/other-textures/latest/entity/enderdragon/dragon_exploding.png +0 -0
- package/dist/other-textures/latest/entity/enderdragon/dragon_eyes.png +0 -0
- package/dist/other-textures/latest/entity/enderdragon/dragon_fireball.png +0 -0
- package/dist/other-textures/latest/entity/enderman/enderman.png +0 -0
- package/dist/other-textures/latest/entity/enderman/enderman_eyes.png +0 -0
- package/dist/other-textures/latest/entity/endermite.png +0 -0
- package/dist/other-textures/latest/entity/experience_orb.png +0 -0
- package/dist/other-textures/latest/entity/fish/cod.png +0 -0
- package/dist/other-textures/latest/entity/fish/pufferfish.png +0 -0
- package/dist/other-textures/latest/entity/fish/salmon.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b.png +0 -0
- package/dist/other-textures/latest/entity/fox/fox.png +0 -0
- package/dist/other-textures/latest/entity/fox/fox_sleep.png +0 -0
- package/dist/other-textures/latest/entity/fox/snow_fox.png +0 -0
- package/dist/other-textures/latest/entity/fox/snow_fox_sleep.png +0 -0
- package/dist/other-textures/latest/entity/frog/cold_frog.png +0 -0
- package/dist/other-textures/latest/entity/frog/temperate_frog.png +0 -0
- package/dist/other-textures/latest/entity/frog/warm_frog.png +0 -0
- package/dist/other-textures/latest/entity/ghast/ghast.png +0 -0
- package/dist/other-textures/latest/entity/ghast/ghast_shooting.png +0 -0
- package/dist/other-textures/latest/entity/goat/goat.png +0 -0
- package/dist/other-textures/latest/entity/guardian.png +0 -0
- package/dist/other-textures/latest/entity/guardian_beam.png +0 -0
- package/dist/other-textures/latest/entity/guardian_elder.png +0 -0
- package/dist/other-textures/latest/entity/hoglin/hoglin.png +0 -0
- package/dist/other-textures/latest/entity/hoglin/zoglin.png +0 -0
- package/dist/other-textures/latest/entity/horse/armor/horse_armor_diamond.png +0 -0
- package/dist/other-textures/latest/entity/horse/armor/horse_armor_gold.png +0 -0
- package/dist/other-textures/latest/entity/horse/armor/horse_armor_iron.png +0 -0
- package/dist/other-textures/latest/entity/horse/armor/horse_armor_leather.png +0 -0
- package/dist/other-textures/latest/entity/horse/donkey.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_black.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_brown.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_chestnut.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_creamy.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_darkbrown.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_gray.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_markings_white.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_markings_whitefield.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_skeleton.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_white.png +0 -0
- package/dist/other-textures/latest/entity/horse/horse_zombie.png +0 -0
- package/dist/other-textures/latest/entity/horse/mule.png +0 -0
- package/dist/other-textures/latest/entity/illager/evoker.png +0 -0
- package/dist/other-textures/latest/entity/illager/evoker_fangs.png +0 -0
- package/dist/other-textures/latest/entity/illager/illusioner.png +0 -0
- package/dist/other-textures/latest/entity/illager/pillager.png +0 -0
- package/dist/other-textures/latest/entity/illager/ravager.png +0 -0
- package/dist/other-textures/latest/entity/illager/vex.png +0 -0
- package/dist/other-textures/latest/entity/illager/vex_charging.png +0 -0
- package/dist/other-textures/latest/entity/illager/vindicator.png +0 -0
- package/dist/other-textures/latest/entity/iron_golem/iron_golem.png +0 -0
- package/dist/other-textures/latest/entity/iron_golem/iron_golem_crackiness_high.png +0 -0
- package/dist/other-textures/latest/entity/iron_golem/iron_golem_crackiness_low.png +0 -0
- package/dist/other-textures/latest/entity/iron_golem/iron_golem_crackiness_medium.png +0 -0
- package/dist/other-textures/latest/entity/lead_knot.png +0 -0
- package/dist/other-textures/latest/entity/llama/creamy.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/black.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/blue.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/brown.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/cyan.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/gray.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/green.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/light_blue.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/light_gray.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/lime.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/magenta.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/orange.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/pink.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/purple.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/red.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/trader_llama.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/white.png +0 -0
- package/dist/other-textures/latest/entity/llama/decor/yellow.png +0 -0
- package/dist/other-textures/latest/entity/llama/spit.png +0 -0
- package/dist/other-textures/latest/entity/minecart.png +0 -0
- package/dist/other-textures/latest/entity/panda/aggressive_panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/brown_panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/lazy_panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/playful_panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/weak_panda.png +0 -0
- package/dist/other-textures/latest/entity/panda/worried_panda.png +0 -0
- package/dist/other-textures/latest/entity/parrot/parrot_blue.png +0 -0
- package/dist/other-textures/latest/entity/parrot/parrot_green.png +0 -0
- package/dist/other-textures/latest/entity/parrot/parrot_grey.png +0 -0
- package/dist/other-textures/latest/entity/parrot/parrot_red_blue.png +0 -0
- package/dist/other-textures/latest/entity/parrot/parrot_yellow_blue.png +0 -0
- package/dist/other-textures/latest/entity/phantom.png +0 -0
- package/dist/other-textures/latest/entity/pig/pig.png +0 -0
- package/dist/other-textures/latest/entity/pig/pig_saddle.png +0 -0
- package/dist/other-textures/latest/entity/piglin/piglin.png +0 -0
- package/dist/other-textures/latest/entity/piglin/piglin_brute.png +0 -0
- package/dist/other-textures/latest/entity/piglin/zombified_piglin.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/alex.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/ari.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/efe.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/kai.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/makena.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/noor.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/steve.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/sunny.png +0 -0
- package/dist/other-textures/latest/entity/player/slim/zuri.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/alex.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/ari.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/efe.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/kai.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/makena.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/noor.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/steve.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/sunny.png +0 -0
- package/dist/other-textures/latest/entity/player/wide/zuri.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/black.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/brown.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/caerbannog.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/gold.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/salt.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/toast.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/white.png +0 -0
- package/dist/other-textures/latest/entity/rabbit/white_splotched.png +0 -0
- package/dist/other-textures/latest/entity/shield/bricks.png +0 -0
- package/dist/other-textures/latest/entity/shield/half_horizontal.png +0 -0
- package/dist/other-textures/latest/entity/shield/half_horizontal_bottom.png +0 -0
- package/dist/other-textures/latest/entity/shield/piglin.png +0 -0
- package/dist/other-textures/latest/entity/shield/stripe_bottom.png +0 -0
- package/dist/other-textures/latest/entity/shield/stripe_top.png +0 -0
- package/dist/other-textures/latest/entity/shield/triangle_top.png +0 -0
- package/dist/other-textures/latest/entity/shield/triangles_top.png +0 -0
- package/dist/other-textures/latest/entity/shield_base.png +0 -0
- package/dist/other-textures/latest/entity/shield_base_nopattern.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_black.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_blue.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_brown.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_cyan.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_gray.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_green.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_light_blue.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_light_gray.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_lime.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_magenta.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_orange.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_pink.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_purple.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_red.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_white.png +0 -0
- package/dist/other-textures/latest/entity/shulker/shulker_yellow.png +0 -0
- package/dist/other-textures/latest/entity/shulker/spark.png +0 -0
- package/dist/other-textures/latest/entity/signs/acacia.png +0 -0
- package/dist/other-textures/latest/entity/signs/bamboo.png +0 -0
- package/dist/other-textures/latest/entity/signs/birch.png +0 -0
- package/dist/other-textures/latest/entity/signs/cherry.png +0 -0
- package/dist/other-textures/latest/entity/signs/crimson.png +0 -0
- package/dist/other-textures/latest/entity/signs/dark_oak.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/acacia.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/bamboo.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/birch.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/cherry.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/crimson.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/dark_oak.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/jungle.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/mangrove.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/oak.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/spruce.png +0 -0
- package/dist/other-textures/latest/entity/signs/hanging/warped.png +0 -0
- package/dist/other-textures/latest/entity/signs/jungle.png +0 -0
- package/dist/other-textures/latest/entity/signs/mangrove.png +0 -0
- package/dist/other-textures/latest/entity/signs/oak.png +0 -0
- package/dist/other-textures/latest/entity/signs/spruce.png +0 -0
- package/dist/other-textures/latest/entity/signs/warped.png +0 -0
- package/dist/other-textures/latest/entity/silverfish.png +0 -0
- package/dist/other-textures/latest/entity/skeleton/skeleton.png +0 -0
- package/dist/other-textures/latest/entity/skeleton/stray.png +0 -0
- package/dist/other-textures/latest/entity/skeleton/stray_overlay.png +0 -0
- package/dist/other-textures/latest/entity/skeleton/wither_skeleton.png +0 -0
- package/dist/other-textures/latest/entity/slime/slime.png +0 -0
- package/dist/other-textures/latest/entity/sniffer/sniffer.png +0 -0
- package/dist/other-textures/latest/entity/snow_golem.png +0 -0
- package/dist/other-textures/latest/entity/spider/cave_spider.png +0 -0
- package/dist/other-textures/latest/entity/spider/spider.png +0 -0
- package/dist/other-textures/latest/entity/spider_eyes.png +0 -0
- package/dist/other-textures/latest/entity/squid/glow_squid.png +0 -0
- package/dist/other-textures/latest/entity/squid/squid.png +0 -0
- package/dist/other-textures/latest/entity/strider/strider.png +0 -0
- package/dist/other-textures/latest/entity/strider/strider_cold.png +0 -0
- package/dist/other-textures/latest/entity/strider/strider_saddle.png +0 -0
- package/dist/other-textures/latest/entity/tadpole/tadpole.png +0 -0
- package/dist/other-textures/latest/entity/trident.png +0 -0
- package/dist/other-textures/latest/entity/trident_riptide.png +0 -0
- package/dist/other-textures/latest/entity/turtle/big_sea_turtle.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/armorer.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/butcher.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/cartographer.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/cleric.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/farmer.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/fisherman.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/fletcher.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/leatherworker.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/librarian.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/mason.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/nitwit.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/shepherd.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/toolsmith.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession/weaponsmith.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession_level/diamond.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession_level/emerald.png +0 -0
- package/dist/other-textures/latest/entity/villager/profession_level/gold.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/desert.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/jungle.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/plains.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/savanna.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/snow.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/swamp.png +0 -0
- package/dist/other-textures/latest/entity/villager/type/taiga.png +0 -0
- package/dist/other-textures/latest/entity/villager/villager.png +0 -0
- package/dist/other-textures/latest/entity/wandering_trader.png +0 -0
- package/dist/other-textures/latest/entity/warden/warden.png +0 -0
- package/dist/other-textures/latest/entity/warden/warden_bioluminescent_layer.png +0 -0
- package/dist/other-textures/latest/entity/warden/warden_heart.png +0 -0
- package/dist/other-textures/latest/entity/warden/warden_pulsating_spots_1.png +0 -0
- package/dist/other-textures/latest/entity/warden/warden_pulsating_spots_2.png +0 -0
- package/dist/other-textures/latest/entity/witch.png +0 -0
- package/dist/other-textures/latest/entity/wither/wither.png +0 -0
- package/dist/other-textures/latest/entity/wither/wither_armor.png +0 -0
- package/dist/other-textures/latest/entity/wither/wither_invulnerable.png +0 -0
- package/dist/other-textures/latest/entity/wolf/wolf.png +0 -0
- package/dist/other-textures/latest/entity/wolf/wolf_angry.png +0 -0
- package/dist/other-textures/latest/entity/wolf/wolf_tame.png +0 -0
- package/dist/other-textures/latest/entity/zombie/drowned.png +0 -0
- package/dist/other-textures/latest/entity/zombie/drowned_outer_layer.png +0 -0
- package/dist/other-textures/latest/entity/zombie/husk.png +0 -0
- package/dist/other-textures/latest/entity/zombie/zombie.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/armorer.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/butcher.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/cartographer.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/cleric.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/farmer.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/fisherman.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/fletcher.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/leatherworker.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/librarian.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/mason.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/nitwit.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/shepherd.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/toolsmith.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession/weaponsmith.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession_level/diamond.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession_level/emerald.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/profession_level/gold.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/desert.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/jungle.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/plains.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/savanna.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/snow.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/swamp.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/type/taiga.png +0 -0
- package/dist/other-textures/latest/entity/zombie_villager/zombie_villager.png +0 -0
- package/dist/other-textures/latest/environment/clouds.png +0 -0
- package/dist/other-textures/latest/environment/end_sky.png +0 -0
- package/dist/other-textures/latest/environment/moon_phases.png +0 -0
- package/dist/other-textures/latest/environment/rain.png +0 -0
- package/dist/other-textures/latest/environment/snow.png +0 -0
- package/dist/other-textures/latest/environment/sun.png +0 -0
- package/dist/other-textures/latest/font/accented.png +0 -0
- package/dist/other-textures/latest/font/ascii.png +0 -0
- package/dist/other-textures/latest/font/ascii_sga.png +0 -0
- package/dist/other-textures/latest/font/asciillager.png +0 -0
- package/dist/other-textures/latest/font/nonlatin_european.png +0 -0
- package/dist/other-textures/latest/gui/advancements/backgrounds/adventure.png +0 -0
- package/dist/other-textures/latest/gui/advancements/backgrounds/end.png +0 -0
- package/dist/other-textures/latest/gui/advancements/backgrounds/husbandry.png +0 -0
- package/dist/other-textures/latest/gui/advancements/backgrounds/nether.png +0 -0
- package/dist/other-textures/latest/gui/advancements/backgrounds/stone.png +0 -0
- package/dist/other-textures/latest/gui/advancements/window.png +0 -0
- package/dist/other-textures/latest/gui/container/creative_inventory/tab_inventory.png +0 -0
- package/dist/other-textures/latest/gui/container/creative_inventory/tab_item_search.png +0 -0
- package/dist/other-textures/latest/gui/container/creative_inventory/tab_items.png +0 -0
- package/dist/other-textures/latest/gui/container/dispenser.png +0 -0
- package/dist/other-textures/latest/gui/container/generic_54.png +0 -0
- package/dist/other-textures/latest/gui/container/hopper.png +0 -0
- package/dist/other-textures/latest/gui/demo_background.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/acacia.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/bamboo.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/birch.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/cherry.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/crimson.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/dark_oak.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/jungle.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/mangrove.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/oak.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/spruce.png +0 -0
- package/dist/other-textures/latest/gui/hanging_signs/warped.png +0 -0
- package/dist/other-textures/latest/gui/presets/isles.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_0.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_1.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_2.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_3.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_4.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_5.png +0 -0
- package/dist/other-textures/latest/gui/title/background/panorama_overlay.png +0 -0
- package/dist/other-textures/latest/gui/title/edition.png +0 -0
- package/dist/other-textures/latest/gui/title/minceraft.png +0 -0
- package/dist/other-textures/latest/gui/title/minecraft.png +0 -0
- package/dist/other-textures/latest/gui/title/mojangstudios.png +0 -0
- package/dist/other-textures/latest/map/map_background.png +0 -0
- package/dist/other-textures/latest/map/map_background_checkerboard.png +0 -0
- package/dist/other-textures/latest/misc/enchanted_glint_entity.png +0 -0
- package/dist/other-textures/latest/misc/enchanted_glint_item.png +0 -0
- package/dist/other-textures/latest/misc/forcefield.png +0 -0
- package/dist/other-textures/latest/misc/nausea.png +0 -0
- package/dist/other-textures/latest/misc/powder_snow_outline.png +0 -0
- package/dist/other-textures/latest/misc/pumpkinblur.png +0 -0
- package/dist/other-textures/latest/misc/shadow.png +0 -0
- package/dist/other-textures/latest/misc/spyglass_scope.png +0 -0
- package/dist/other-textures/latest/misc/underwater.png +0 -0
- package/dist/other-textures/latest/misc/unknown_pack.png +0 -0
- package/dist/other-textures/latest/misc/unknown_server.png +0 -0
- package/dist/other-textures/latest/misc/vignette.png +0 -0
- package/dist/other-textures/latest/misc/white.png +0 -0
- package/dist/other-textures/latest/mob_effect/absorption.png +0 -0
- package/dist/other-textures/latest/mob_effect/conduit_power.png +0 -0
- package/dist/other-textures/latest/mob_effect/darkness.png +0 -0
- package/dist/other-textures/latest/mob_effect/fire_resistance.png +0 -0
- package/dist/other-textures/latest/mob_effect/glowing.png +0 -0
- package/dist/other-textures/latest/mob_effect/haste.png +0 -0
- package/dist/other-textures/latest/mob_effect/health_boost.png +0 -0
- package/dist/other-textures/latest/mob_effect/hero_of_the_village.png +0 -0
- package/dist/other-textures/latest/mob_effect/instant_damage.png +0 -0
- package/dist/other-textures/latest/mob_effect/instant_health.png +0 -0
- package/dist/other-textures/latest/mob_effect/invisibility.png +0 -0
- package/dist/other-textures/latest/mob_effect/jump_boost.png +0 -0
- package/dist/other-textures/latest/mob_effect/levitation.png +0 -0
- package/dist/other-textures/latest/mob_effect/luck.png +0 -0
- package/dist/other-textures/latest/mob_effect/mining_fatigue.png +0 -0
- package/dist/other-textures/latest/mob_effect/regeneration.png +0 -0
- package/dist/other-textures/latest/mob_effect/resistance.png +0 -0
- package/dist/other-textures/latest/mob_effect/saturation.png +0 -0
- package/dist/other-textures/latest/mob_effect/slow_falling.png +0 -0
- package/dist/other-textures/latest/mob_effect/slowness.png +0 -0
- package/dist/other-textures/latest/mob_effect/speed.png +0 -0
- package/dist/other-textures/latest/mob_effect/strength.png +0 -0
- package/dist/other-textures/latest/mob_effect/unluck.png +0 -0
- package/dist/other-textures/latest/mob_effect/weakness.png +0 -0
- package/dist/other-textures/latest/models/armor/chainmail_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/chainmail_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/diamond_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/diamond_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/gold_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/gold_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/iron_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/iron_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/leather_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/leather_layer_1_overlay.png +0 -0
- package/dist/other-textures/latest/models/armor/leather_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/leather_layer_2_overlay.png +0 -0
- package/dist/other-textures/latest/models/armor/netherite_layer_1.png +0 -0
- package/dist/other-textures/latest/models/armor/netherite_layer_2.png +0 -0
- package/dist/other-textures/latest/models/armor/turtle_layer_1.png +0 -0
- package/dist/other-textures/latest/painting/back.png +0 -0
- package/dist/other-textures/latest/painting/burning_skull.png +0 -0
- package/dist/other-textures/latest/painting/bust.png +0 -0
- package/dist/other-textures/latest/painting/courbet.png +0 -0
- package/dist/other-textures/latest/painting/creebet.png +0 -0
- package/dist/other-textures/latest/painting/donkey_kong.png +0 -0
- package/dist/other-textures/latest/painting/earth.png +0 -0
- package/dist/other-textures/latest/painting/fighters.png +0 -0
- package/dist/other-textures/latest/painting/fire.png +0 -0
- package/dist/other-textures/latest/painting/graham.png +0 -0
- package/dist/other-textures/latest/painting/match.png +0 -0
- package/dist/other-textures/latest/painting/pigscene.png +0 -0
- package/dist/other-textures/latest/painting/pointer.png +0 -0
- package/dist/other-textures/latest/painting/pool.png +0 -0
- package/dist/other-textures/latest/painting/sea.png +0 -0
- package/dist/other-textures/latest/painting/skeleton.png +0 -0
- package/dist/other-textures/latest/painting/skull_and_roses.png +0 -0
- package/dist/other-textures/latest/painting/stage.png +0 -0
- package/dist/other-textures/latest/painting/sunset.png +0 -0
- package/dist/other-textures/latest/painting/void.png +0 -0
- package/dist/other-textures/latest/painting/wanderer.png +0 -0
- package/dist/other-textures/latest/painting/water.png +0 -0
- package/dist/other-textures/latest/painting/wind.png +0 -0
- package/dist/other-textures/latest/painting/wither.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/amethyst.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/copper.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/diamond.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/diamond_darker.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/emerald.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/gold.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/gold_darker.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/iron.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/iron_darker.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/lapis.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/netherite.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/netherite_darker.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/quartz.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/redstone.png +0 -0
- package/dist/other-textures/latest/trims/color_palettes/trim_palette.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/coast.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/coast_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/dune.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/dune_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/eye.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/eye_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/host.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/host_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/raiser.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/raiser_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/rib.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/rib_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/sentry.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/sentry_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/shaper.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/shaper_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/silence.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/silence_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/snout.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/spire.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/tide.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/tide_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/vex.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/ward.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/ward_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/wayfinder.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/wayfinder_leggings.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/wild.png +0 -0
- package/dist/other-textures/latest/trims/models/armor/wild_leggings.png +0 -0
- package/dist/stores.d.ts +10 -1
- package/dist/stores.js +8 -0
- package/dist/types.d.ts +88 -0
- package/dist/types.js +117 -1
- package/package.json +5 -2
package/README.MD
CHANGED
|
@@ -10,6 +10,7 @@ npm i mc-assets
|
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
|
+
- **NEW ITEMS FORMAT SUPPORT!!!** - Get different item models based on conditions (using item, display context, etc)
|
|
13
14
|
- **Automatic Updates** - This library is automatically updated and published to npm.
|
|
14
15
|
- **Fully Typed** - Today is nothing can be done without TypeScript. We ship best type definitions possible.
|
|
15
16
|
- **Early Access** - It always includes the latest pre and rc (release candidate) version.
|
|
@@ -19,7 +20,7 @@ npm i mc-assets
|
|
|
19
20
|
- **Easy to Use Items Textures** - Includes hand-crafted isometric textures for some blocks.
|
|
20
21
|
- **Block Entities Models** - Includes community-crafted models for block entities.
|
|
21
22
|
|
|
22
|
-
This module was originally designed as standalone package for [https://mcraft.fun](mcraft.fun) (repo) project so it is easier to maintain, but now it became a library that I think can cover any use case where you need to work with minecraft assets. This library means block states, models data and texture contents, it doesn't cover minecraft-data use cases. With the best block model parser you can build your own renderers, editors, etc.
|
|
23
|
+
This module was originally designed as standalone package for [https://mcraft.fun](mcraft.fun) ([repo](https://github.com/zardoy/minecraft-web-client/)) project so it is easier to maintain, but now it became a library that I think can cover any use case where you need to work with minecraft assets. This library means block states, models data and texture contents, it doesn't cover minecraft-data use cases. With the best block model parser you can build your own renderers, editors, etc.
|
|
23
24
|
|
|
24
25
|
For contributing & building instructions see [building](#building) section.
|
|
25
26
|
|
|
@@ -27,9 +28,9 @@ For contributing & building instructions see [building](#building) section.
|
|
|
27
28
|
> Tested on Node.js 18 and above.
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
All blockstates + models + all atlas textures for all versions bundled with rsbuild (uncompressed):
|
|
31
|
+
All blockstates + models + all atlas textures for all versions bundled with rsbuild (uncompressed): 5.02 MB.
|
|
31
32
|
|
|
32
|
-
This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2
|
|
33
|
+
This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4.
|
|
33
34
|
|
|
34
35
|
<details>
|
|
35
36
|
<summary>Included Block Entities (Additional Block Models) (136):</summary>
|
|
@@ -181,7 +182,7 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
|
|
|
181
182
|
|
|
182
183
|
[Atlas explorer (web demo)](https://zardoy.github.io/mc-assets/).
|
|
183
184
|
|
|
184
|
-
[External Models Playground](https://mcraft.fun/playground.
|
|
185
|
+
[External Models Playground](https://mcraft.fun/playground/) ([Beta Version](https://s.mcraft.fun/playground/)).
|
|
185
186
|
|
|
186
187
|
## Usage
|
|
187
188
|
|
|
@@ -315,6 +316,108 @@ const ButtonHighlighted = styled(Button)`
|
|
|
315
316
|
|
|
316
317
|
Please, don't use json / image files directly as their format is not stable and can change in the future, use the parsers instead.
|
|
317
318
|
|
|
319
|
+
### Item Definitions
|
|
320
|
+
|
|
321
|
+
The library provides a powerful system to handle dynamic item models that change based on various conditions:
|
|
322
|
+
|
|
323
|
+
```ts
|
|
324
|
+
import { getLoadedItemDefinitionsStore } from 'mc-assets'
|
|
325
|
+
import { getItemDefinition } from 'mc-assets/dist/itemsDefinitions'
|
|
326
|
+
import itemDefinitions from 'mc-assets/dist/itemDefinitions.json'
|
|
327
|
+
|
|
328
|
+
const store = getLoadedItemDefinitionsStore(itemDefinitions)
|
|
329
|
+
// we have zod schema as well as typescript types for item definitions
|
|
330
|
+
|
|
331
|
+
// Example 1: Bow animation when pulling
|
|
332
|
+
const bowModel = getItemDefinition(store, {
|
|
333
|
+
version: 'latest',
|
|
334
|
+
name: 'bow',
|
|
335
|
+
properties: { // full autocomplete of supported properties
|
|
336
|
+
'minecraft:using_item': true,
|
|
337
|
+
'minecraft:use_duration': 20 // Time in ticks, affects pull-back animation
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
// Returns: { model: 'minecraft:item/bow_pulling_2' } for full pull-back
|
|
341
|
+
|
|
342
|
+
// Example 2: Bundle with items in inventory
|
|
343
|
+
const bundleModel = getItemDefinition(store, {
|
|
344
|
+
version: 'latest',
|
|
345
|
+
name: 'brown_bundle',
|
|
346
|
+
properties: {
|
|
347
|
+
'minecraft:display_context': 'gui',
|
|
348
|
+
'minecraft:bundle/has_selected_item': true
|
|
349
|
+
}
|
|
350
|
+
})
|
|
351
|
+
// Returns composite model showing bundle with items when in inventory
|
|
352
|
+
|
|
353
|
+
// Example 3: Clock showing time in different dimensions
|
|
354
|
+
const clockModel = getItemDefinition(store, {
|
|
355
|
+
version: 'latest',
|
|
356
|
+
name: 'clock',
|
|
357
|
+
properties: {
|
|
358
|
+
'minecraft:time': 0.5,
|
|
359
|
+
'minecraft:context_dimension': 'minecraft:overworld'
|
|
360
|
+
}
|
|
361
|
+
})
|
|
362
|
+
// Returns appropriate clock face model based on time
|
|
363
|
+
|
|
364
|
+
// Example 4: Compass pointing to targets
|
|
365
|
+
const compassModel = getItemDefinition(store, {
|
|
366
|
+
version: 'latest',
|
|
367
|
+
name: 'compass',
|
|
368
|
+
properties: {
|
|
369
|
+
'minecraft:compass': 16,
|
|
370
|
+
'minecraft:context_dimension': 'minecraft:overworld',
|
|
371
|
+
'minecraft:has_component': false // true for lodestone compass
|
|
372
|
+
}
|
|
373
|
+
})
|
|
374
|
+
// Returns compass model pointing in the right direction
|
|
375
|
+
|
|
376
|
+
// Example 5: Armor with trims
|
|
377
|
+
const armorModel = getItemDefinition(store, {
|
|
378
|
+
version: 'latest',
|
|
379
|
+
name: 'chainmail_boots',
|
|
380
|
+
properties: {
|
|
381
|
+
'minecraft:trim_material': 'minecraft:diamond'
|
|
382
|
+
}
|
|
383
|
+
})
|
|
384
|
+
// Returns: { model: 'minecraft:item/chainmail_boots_diamond_trim' }
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
The item definition system supports various property types:
|
|
388
|
+
|
|
389
|
+
- `minecraft:using_item`: Boolean for items being actively used
|
|
390
|
+
- `minecraft:use_duration`: Number of ticks an item has been used
|
|
391
|
+
- `minecraft:display_context`: Where the item is being displayed ('gui', 'ground', 'fixed', etc.)
|
|
392
|
+
- `minecraft:time`: Time value for clock animations
|
|
393
|
+
- `minecraft:context_dimension`: Current dimension affecting item behavior
|
|
394
|
+
- `minecraft:compass`: Direction value for compass
|
|
395
|
+
- `minecraft:has_component`: Special properties like lodestone tracking
|
|
396
|
+
- `minecraft:trim_material`: Material used for armor trims
|
|
397
|
+
- `minecraft:bundle/has_selected_item`: Bundle content state
|
|
398
|
+
- And more...
|
|
399
|
+
|
|
400
|
+
Each model can include:
|
|
401
|
+
|
|
402
|
+
- Base model path
|
|
403
|
+
- Tint information
|
|
404
|
+
- Special rendering instructions
|
|
405
|
+
- Watch properties for dynamic updates
|
|
406
|
+
|
|
407
|
+
Handy method `getItemDefinitionModelResolved` is provided which includes the resolved texture information:
|
|
408
|
+
|
|
409
|
+
```ts
|
|
410
|
+
import { ItemsRenderer } from 'mc-assets'
|
|
411
|
+
|
|
412
|
+
const renderer = new ItemsRenderer(/* ... */)
|
|
413
|
+
const resolvedModel = getItemDefinitionModelResolved(store, {
|
|
414
|
+
version: 'latest',
|
|
415
|
+
name: 'bow',
|
|
416
|
+
properties: { /* ... */ }
|
|
417
|
+
}, renderer)
|
|
418
|
+
// Returns texture info ready to render
|
|
419
|
+
```
|
|
420
|
+
|
|
318
421
|
## Building
|
|
319
422
|
|
|
320
423
|
```bash
|