mc-assets 0.1.4 → 0.1.6
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 +173 -8
- package/dist/atlasCreator.d.ts +1 -0
- package/dist/atlasCreator.js +13 -9
- package/dist/atlasParser.js +7 -9
- package/dist/blockStatesModels.json +12946 -2872
- package/dist/blocksAtlasLatest.png +0 -0
- package/dist/blocksAtlases.json +390 -0
- package/dist/itemsAtlasLatest.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/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_a_pattern_1.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a_pattern_2.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a_pattern_3.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a_pattern_4.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a_pattern_5.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_a_pattern_6.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_1.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_2.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_3.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_4.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_5.png +0 -0
- package/dist/other-textures/latest/entity/fish/tropical_b_pattern_6.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/projectiles/arrow.png +0 -0
- package/dist/other-textures/latest/entity/projectiles/spectral_arrow.png +0 -0
- package/dist/other-textures/latest/entity/projectiles/tipped_arrow.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/package.json +3 -2
package/README.MD
CHANGED
|
@@ -16,8 +16,8 @@ npm i mc-assets
|
|
|
16
16
|
- **Version Accurate** - Includes all released versions starting from 1.7.10.
|
|
17
17
|
- **Memory Efficient** - Small installation size, for the fastest download & loading time.
|
|
18
18
|
- **Simple & Complete API** - Works in browsers out of the box and provides parsers for all the data this library provides.
|
|
19
|
-
- **Easy to Use Items Textures** - Includes hand-crafted isometric textures for some blocks
|
|
20
|
-
|
|
19
|
+
- **Easy to Use Items Textures** - Includes hand-crafted isometric textures for some blocks.
|
|
20
|
+
- **Block Entities Models** - Includes community-crafted models for block entities.
|
|
21
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.
|
|
23
23
|
|
|
@@ -25,17 +25,182 @@ This module was originally designed as standalone package for [https://mcraft.fu
|
|
|
25
25
|
> Tested on Node.js 18 and above.
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
All blockstates + models + all atlas textures for all versions bundled (uncompressed): 4.
|
|
29
|
-
|
|
30
|
-
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.
|
|
31
|
-
|
|
28
|
+
All blockstates + models + all atlas textures for all versions bundled with rsbuild (uncompressed): 4.69 MB.
|
|
29
|
+
|
|
30
|
+
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.
|
|
31
|
+
|
|
32
|
+
<details>
|
|
33
|
+
<summary>Included Block Entities (Additional Block Models) (130):</summary>
|
|
34
|
+
|
|
35
|
+
- ✅ sign
|
|
36
|
+
- ✅ wall_sign
|
|
37
|
+
- ✅ acacia_sign
|
|
38
|
+
- ✅ acacia_wall_sign
|
|
39
|
+
- ✅ birch_sign
|
|
40
|
+
- ✅ birch_wall_sign
|
|
41
|
+
- ✅ dark_oak_sign
|
|
42
|
+
- ✅ dark_oak_wall_sign
|
|
43
|
+
- ✅ jungle_sign
|
|
44
|
+
- ✅ jungle_wall_sign
|
|
45
|
+
- ✅ oak_sign
|
|
46
|
+
- ✅ oak_wall_sign
|
|
47
|
+
- ✅ spruce_sign
|
|
48
|
+
- ✅ spruce_wall_sign
|
|
49
|
+
- ✅ crimson_sign
|
|
50
|
+
- ✅ crimson_wall_sign
|
|
51
|
+
- ✅ warped_sign
|
|
52
|
+
- ✅ warped_wall_sign
|
|
53
|
+
- ✅ mangrove_sign
|
|
54
|
+
- ✅ mangrove_wall_sign
|
|
55
|
+
- ✅ decorated_pot
|
|
56
|
+
- ✅ acacia_hanging_sign
|
|
57
|
+
- ✅ acacia_wall_hanging_sign
|
|
58
|
+
- ✅ bamboo_hanging_sign
|
|
59
|
+
- ✅ bamboo_sign
|
|
60
|
+
- ✅ bamboo_wall_hanging_sign
|
|
61
|
+
- ✅ bamboo_wall_sign
|
|
62
|
+
- ✅ birch_hanging_sign
|
|
63
|
+
- ✅ birch_wall_hanging_sign
|
|
64
|
+
- ✅ cherry_hanging_sign
|
|
65
|
+
- ✅ cherry_sign
|
|
66
|
+
- ✅ cherry_wall_hanging_sign
|
|
67
|
+
- ✅ cherry_wall_sign
|
|
68
|
+
- ✅ crimson_hanging_sign
|
|
69
|
+
- ✅ crimson_wall_hanging_sign
|
|
70
|
+
- ✅ dark_oak_hanging_sign
|
|
71
|
+
- ✅ dark_oak_wall_hanging_sign
|
|
72
|
+
- ✅ jungle_hanging_sign
|
|
73
|
+
- ✅ jungle_wall_hanging_sign
|
|
74
|
+
- ✅ mangrove_hanging_sign
|
|
75
|
+
- ✅ mangrove_wall_hanging_sign
|
|
76
|
+
- ✅ oak_hanging_sign
|
|
77
|
+
- ✅ oak_wall_hanging_sign
|
|
78
|
+
- ✅ spruce_hanging_sign
|
|
79
|
+
- ✅ spruce_wall_hanging_sign
|
|
80
|
+
- ✅ warped_hanging_sign
|
|
81
|
+
- ✅ warped_wall_hanging_sign
|
|
82
|
+
- ✅ black_banner
|
|
83
|
+
- ✅ black_bed
|
|
84
|
+
- ✅ black_shulker_box
|
|
85
|
+
- ✅ black_wall_banner
|
|
86
|
+
- ✅ blue_banner
|
|
87
|
+
- ✅ blue_bed
|
|
88
|
+
- ✅ blue_shulker_box
|
|
89
|
+
- ✅ blue_wall_banner
|
|
90
|
+
- ✅ brown_banner
|
|
91
|
+
- ✅ brown_bed
|
|
92
|
+
- ✅ brown_shulker_box
|
|
93
|
+
- ✅ brown_wall_banner
|
|
94
|
+
- ✅ bubble_column
|
|
95
|
+
- ✅ chest
|
|
96
|
+
- ✅ creeper_head
|
|
97
|
+
- ✅ creeper_wall_head
|
|
98
|
+
- ✅ cyan_banner
|
|
99
|
+
- ✅ cyan_bed
|
|
100
|
+
- ✅ cyan_shulker_box
|
|
101
|
+
- ✅ cyan_wall_banner
|
|
102
|
+
- ✅ dragon_head
|
|
103
|
+
- ✅ dragon_wall_head
|
|
104
|
+
- ✅ ender_chest
|
|
105
|
+
- ✅ gray_banner
|
|
106
|
+
- ✅ gray_bed
|
|
107
|
+
- ✅ gray_shulker_box
|
|
108
|
+
- ✅ gray_wall_banner
|
|
109
|
+
- ✅ green_banner
|
|
110
|
+
- ✅ green_bed
|
|
111
|
+
- ✅ green_shulker_box
|
|
112
|
+
- ✅ green_wall_banner
|
|
113
|
+
- ✅ light_blue_banner
|
|
114
|
+
- ✅ light_blue_bed
|
|
115
|
+
- ✅ light_blue_shulker_box
|
|
116
|
+
- ✅ light_blue_wall_banner
|
|
117
|
+
- ✅ light_gray_banner
|
|
118
|
+
- ✅ light_gray_bed
|
|
119
|
+
- ✅ light_gray_shulker_box
|
|
120
|
+
- ✅ light_gray_wall_banner
|
|
121
|
+
- ✅ lime_banner
|
|
122
|
+
- ✅ lime_bed
|
|
123
|
+
- ✅ lime_shulker_box
|
|
124
|
+
- ✅ lime_wall_banner
|
|
125
|
+
- ✅ magenta_banner
|
|
126
|
+
- ✅ magenta_bed
|
|
127
|
+
- ✅ magenta_shulker_box
|
|
128
|
+
- ✅ magenta_wall_banner
|
|
129
|
+
- ✅ orange_banner
|
|
130
|
+
- ✅ orange_bed
|
|
131
|
+
- ✅ orange_shulker_box
|
|
132
|
+
- ✅ orange_wall_banner
|
|
133
|
+
- ✅ piglin_head
|
|
134
|
+
- ✅ piglin_wall_head
|
|
135
|
+
- ✅ pink_banner
|
|
136
|
+
- ✅ pink_bed
|
|
137
|
+
- ✅ pink_shulker_box
|
|
138
|
+
- ✅ pink_wall_banner
|
|
139
|
+
- ✅ player_head
|
|
140
|
+
- ✅ player_wall_head
|
|
141
|
+
- ✅ purple_banner
|
|
142
|
+
- ✅ purple_bed
|
|
143
|
+
- ✅ purple_shulker_box
|
|
144
|
+
- ✅ purple_wall_banner
|
|
145
|
+
- ✅ red_banner
|
|
146
|
+
- ✅ red_bed
|
|
147
|
+
- ✅ red_shulker_box
|
|
148
|
+
- ✅ red_wall_banner
|
|
149
|
+
- ✅ shulker_box
|
|
150
|
+
- ✅ skeleton_skull
|
|
151
|
+
- ✅ skeleton_wall_skull
|
|
152
|
+
- ✅ trapped_chest
|
|
153
|
+
- ✅ white_banner
|
|
154
|
+
- ✅ white_bed
|
|
155
|
+
- ✅ white_shulker_box
|
|
156
|
+
- ✅ white_wall_banner
|
|
157
|
+
- ✅ wither_skeleton_skull
|
|
158
|
+
- ✅ wither_skeleton_wall_skull
|
|
159
|
+
- ✅ yellow_banner
|
|
160
|
+
- ✅ yellow_bed
|
|
161
|
+
- ✅ yellow_shulker_box
|
|
162
|
+
- ✅ yellow_wall_banner
|
|
163
|
+
- ✅ zombie_head
|
|
164
|
+
- ✅ zombie_wall_head
|
|
165
|
+
- ❌ black_candle
|
|
166
|
+
- ❌ blue_candle
|
|
167
|
+
- ❌ brown_candle
|
|
168
|
+
- ❌ candle
|
|
169
|
+
- ❌ cyan_candle
|
|
170
|
+
- ❌ end_gateway
|
|
171
|
+
- ❌ end_portal
|
|
172
|
+
- ❌ gray_candle
|
|
173
|
+
- ❌ green_candle
|
|
174
|
+
- ❌ light_blue_candle
|
|
175
|
+
- ❌ light_gray_candle
|
|
176
|
+
- ❌ lime_candle
|
|
177
|
+
- ❌ magenta_candle
|
|
178
|
+
- ❌ orange_candle
|
|
179
|
+
- ❌ pink_candle
|
|
180
|
+
- ❌ pink_petals
|
|
181
|
+
- ❌ powder_snow_cauldron
|
|
182
|
+
- ❌ purple_candle
|
|
183
|
+
- ❌ red_candle
|
|
184
|
+
- ❌ repeater
|
|
185
|
+
- ❌ sea_pickle
|
|
186
|
+
- ❌ structure_void
|
|
187
|
+
- ❌ turtle_egg
|
|
188
|
+
- ❌ water_cauldron
|
|
189
|
+
- ❌ white_candle
|
|
190
|
+
- ❌ yellow_candle
|
|
191
|
+
|
|
192
|
+
</details>
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
[Atlas explorer (web demo)](https://zardoy.github.io/mc-assets/).
|
|
32
197
|
|
|
33
198
|
## Usage
|
|
34
199
|
|
|
35
200
|
Following atlases are generated:
|
|
36
201
|
|
|
37
202
|
- Items
|
|
38
|
-
- Blocks
|
|
203
|
+
- Blocks (block entities included)
|
|
39
204
|
- Particles
|
|
40
205
|
|
|
41
206
|
```ts
|
|
@@ -148,4 +313,4 @@ const ButtonHighlighted = styled(Button)`
|
|
|
148
313
|
`
|
|
149
314
|
```
|
|
150
315
|
|
|
151
|
-
|
|
316
|
+
Please, don't use json / image files directly as their format is not stable and can change in the future, use the parsers instead.
|
package/dist/atlasCreator.d.ts
CHANGED
package/dist/atlasCreator.js
CHANGED
|
@@ -16,7 +16,7 @@ export const getAtlasSize = (numberOfTiles, tileSize) => {
|
|
|
16
16
|
height: size * tileSize
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
export const makeTextureAtlas = ({ input, getLoadedImage, tileSize = 16, getCanvas = () => document.createElement('canvas'), }) => {
|
|
19
|
+
export const makeTextureAtlas = ({ input, getLoadedImage, tileSize = 16, getCanvas = (imgSize) => typeof document !== 'undefined' && document.createElement ? document.createElement('canvas') : new globalThis.Canvas(imgSize, imgSize, 'png'), }) => {
|
|
20
20
|
const tilesCount = input.length;
|
|
21
21
|
const imgSize = getAtlasSize(tilesCount, tileSize).width;
|
|
22
22
|
const MAX_CANVAS_SIZE = 16_384;
|
|
@@ -58,11 +58,14 @@ export const makeTextureAtlas = ({ input, getLoadedImage, tileSize = 16, getCanv
|
|
|
58
58
|
let renderWidth = tileSize * (inputData.tileWidthMult ?? 1);
|
|
59
59
|
let renderHeight = tileSize;
|
|
60
60
|
if (inputData.useOriginalSize || inputData.renderWidth || inputData.renderHeight) {
|
|
61
|
+
const texWidth = inputData.renderWidth ?? img.width;
|
|
62
|
+
const texHeight = inputData.renderHeight ?? img.height;
|
|
61
63
|
// todo check have enough space
|
|
62
|
-
renderWidth = Math.ceil(
|
|
63
|
-
renderHeight = Math.ceil(
|
|
64
|
-
su =
|
|
65
|
-
sv =
|
|
64
|
+
renderWidth = Math.ceil(texWidth / tileSize) * tileSize;
|
|
65
|
+
renderHeight = Math.ceil(texHeight / tileSize) * tileSize;
|
|
66
|
+
su = texWidth / imgSize;
|
|
67
|
+
sv = texHeight / imgSize;
|
|
68
|
+
// renderWidth and renderHeight take full tile size so everything is aligned to the grid
|
|
66
69
|
if (renderHeight > imgSize || renderWidth > imgSize) {
|
|
67
70
|
throw new Error('Texture ' + keyValue + ' is too big');
|
|
68
71
|
}
|
|
@@ -81,8 +84,8 @@ export const makeTextureAtlas = ({ input, getLoadedImage, tileSize = 16, getCanv
|
|
|
81
84
|
goToNextRow();
|
|
82
85
|
}
|
|
83
86
|
const renderSourceDefaultSize = Math.min(img.width, img.height);
|
|
84
|
-
const renderSourceWidth = inputData.renderSourceWidth ?? renderSourceDefaultSize;
|
|
85
|
-
const renderSourceHeight = inputData.renderSourceHeight ?? renderSourceDefaultSize;
|
|
87
|
+
const renderSourceWidth = inputData.useOriginalSize ? img.width : inputData.renderSourceWidth ?? renderSourceDefaultSize;
|
|
88
|
+
const renderSourceHeight = inputData.useOriginalSize ? img.height : inputData.renderSourceHeight ?? renderSourceDefaultSize;
|
|
86
89
|
try {
|
|
87
90
|
g.drawImage(img, inputData.renderSourceStartX ?? 0, inputData.renderSourceStartY ?? 0, renderSourceWidth, renderSourceHeight, x, y, renderWidth, renderHeight);
|
|
88
91
|
}
|
|
@@ -98,12 +101,13 @@ export const makeTextureAtlas = ({ input, getLoadedImage, tileSize = 16, getCanv
|
|
|
98
101
|
...su == suSv && sv == suSv ? {} : {
|
|
99
102
|
su,
|
|
100
103
|
sv,
|
|
101
|
-
width: renderWidth,
|
|
102
|
-
height: renderHeight
|
|
104
|
+
// width: renderWidth,
|
|
105
|
+
// height: renderHeight
|
|
103
106
|
}
|
|
104
107
|
};
|
|
105
108
|
}
|
|
106
109
|
return {
|
|
110
|
+
canvas,
|
|
107
111
|
json: {
|
|
108
112
|
suSv,
|
|
109
113
|
tileSize,
|
package/dist/atlasParser.js
CHANGED
|
@@ -20,7 +20,7 @@ export class AtlasParser {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
addByVersion(this.atlasStore, 'latest', itemsAtlases.latest.textures, 'latest');
|
|
23
|
-
this.atlasHasLegacyImage = !!
|
|
23
|
+
this.atlasHasLegacyImage = !!legacyImage;
|
|
24
24
|
if (legacyImage && itemsAtlases.legacy) {
|
|
25
25
|
for (const key of Object.keys(itemsAtlases.legacy.textures)) {
|
|
26
26
|
const [version, name] = key.split('/');
|
|
@@ -81,13 +81,8 @@ export class AtlasParser {
|
|
|
81
81
|
img: image
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
const { json } = makeTextureAtlas({
|
|
84
|
+
const { json, canvas } = makeTextureAtlas({
|
|
86
85
|
input: Object.keys(newTextures),
|
|
87
|
-
getCanvas() {
|
|
88
|
-
canvas = document.createElement('canvas');
|
|
89
|
-
return canvas;
|
|
90
|
-
},
|
|
91
86
|
getLoadedImage: (name) => {
|
|
92
87
|
const texture = newTextures[name];
|
|
93
88
|
const image = texture.img;
|
|
@@ -96,8 +91,8 @@ export class AtlasParser {
|
|
|
96
91
|
delete texture.img;
|
|
97
92
|
return {
|
|
98
93
|
image,
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
renderWidth: texture.su * imgSize,
|
|
95
|
+
renderHeight: texture.sv * imgSize,
|
|
101
96
|
renderSourceStartX: texture.u * imgSize,
|
|
102
97
|
renderSourceStartY: texture.v * imgSize,
|
|
103
98
|
renderSourceWidth: texture.su * imgSize,
|
|
@@ -125,6 +120,9 @@ export class AtlasParser {
|
|
|
125
120
|
const getLoadedImage = async (url) => {
|
|
126
121
|
const img = new Image();
|
|
127
122
|
img.src = url;
|
|
123
|
+
if (img.complete) {
|
|
124
|
+
return img;
|
|
125
|
+
}
|
|
128
126
|
await new Promise((resolve, reject) => {
|
|
129
127
|
img.onload = resolve;
|
|
130
128
|
img.onerror = reject;
|