The complete migration from `minecraft-assets` to [`mc-assets`](https://npmjs.com/mc-assets). Now all block states & block models are processed dynamically! So it is now easily possible to implement custom models - no post-install work anymore: the building is now 3x faster and 4x faster in docker - drop 10x total deploy size - display world ~1.5x faster - fix snow & repeater state parser (they didn't render correctly) rsbuild pipeline! - the initial app load is faster ~1.2 - much fewer requests are made & cached - dev reloads are fast now Resource pack changes: - now textures are reloaded much more quickly on the fly - add hotkey to quickly reload textures (for debugging) assigned to F3+T (open dev widget is now assigned to F3+Y) - add a way to disable resource pack instead of uninstalling it - items render from resource pack are now support - resource pack widgets & icons are now supported
76 lines
3.4 KiB
TypeScript
76 lines
3.4 KiB
TypeScript
import absorption from 'mc-assets/dist/other-textures/latest/mob_effect/absorption.png'
|
|
import glowing from 'mc-assets/dist/other-textures/latest/mob_effect/glowing.png'
|
|
import instant_health from 'mc-assets/dist/other-textures/latest/mob_effect/instant_health.png'
|
|
import nausea from 'mc-assets/dist/other-textures/latest/mob_effect/nausea.png'
|
|
import slow_falling from 'mc-assets/dist/other-textures/latest/mob_effect/slow_falling.png'
|
|
import weakness from 'mc-assets/dist/other-textures/latest/mob_effect/weakness.png'
|
|
import bad_omen from 'mc-assets/dist/other-textures/latest/mob_effect/bad_omen.png'
|
|
import haste from 'mc-assets/dist/other-textures/latest/mob_effect/haste.png'
|
|
import invisibility from 'mc-assets/dist/other-textures/latest/mob_effect/invisibility.png'
|
|
import night_vision from 'mc-assets/dist/other-textures/latest/mob_effect/night_vision.png'
|
|
import slowness from 'mc-assets/dist/other-textures/latest/mob_effect/slowness.png'
|
|
import wither from 'mc-assets/dist/other-textures/latest/mob_effect/wither.png'
|
|
import blindness from 'mc-assets/dist/other-textures/latest/mob_effect/blindness.png'
|
|
import health_boost from 'mc-assets/dist/other-textures/latest/mob_effect/health_boost.png'
|
|
import jump_boost from 'mc-assets/dist/other-textures/latest/mob_effect/jump_boost.png'
|
|
import poison from 'mc-assets/dist/other-textures/latest/mob_effect/poison.png'
|
|
import speed from 'mc-assets/dist/other-textures/latest/mob_effect/speed.png'
|
|
import conduit_power from 'mc-assets/dist/other-textures/latest/mob_effect/conduit_power.png'
|
|
import hero_of_the_village from 'mc-assets/dist/other-textures/latest/mob_effect/hero_of_the_village.png'
|
|
import levitation from 'mc-assets/dist/other-textures/latest/mob_effect/levitation.png'
|
|
import regeneration from 'mc-assets/dist/other-textures/latest/mob_effect/regeneration.png'
|
|
import strength from 'mc-assets/dist/other-textures/latest/mob_effect/strength.png'
|
|
import dolphins_grace from 'mc-assets/dist/other-textures/latest/mob_effect/dolphins_grace.png'
|
|
import hunger from 'mc-assets/dist/other-textures/latest/mob_effect/hunger.png'
|
|
import luck from 'mc-assets/dist/other-textures/latest/mob_effect/luck.png'
|
|
import resistance from 'mc-assets/dist/other-textures/latest/mob_effect/resistance.png'
|
|
import unluck from 'mc-assets/dist/other-textures/latest/mob_effect/unluck.png'
|
|
import fire_resistance from 'mc-assets/dist/other-textures/latest/mob_effect/fire_resistance.png'
|
|
import instant_damage from 'mc-assets/dist/other-textures/latest/mob_effect/instant_damage.png'
|
|
import mining_fatigue from 'mc-assets/dist/other-textures/latest/mob_effect/mining_fatigue.png'
|
|
import saturation from 'mc-assets/dist/other-textures/latest/mob_effect/saturation.png'
|
|
import water_breathing from 'mc-assets/dist/other-textures/latest/mob_effect/water_breathing.png'
|
|
import darkness from 'mc-assets/dist/other-textures/latest/mob_effect/darkness.png'
|
|
|
|
interface Images {
|
|
[key: string]: string;
|
|
}
|
|
|
|
// Export an object containing image URLs
|
|
export const images: Images = {
|
|
absorption,
|
|
glowing,
|
|
instant_health,
|
|
nausea,
|
|
slow_falling,
|
|
weakness,
|
|
bad_omen,
|
|
haste,
|
|
invisibility,
|
|
night_vision,
|
|
slowness,
|
|
wither,
|
|
blindness,
|
|
health_boost,
|
|
jump_boost,
|
|
poison,
|
|
speed,
|
|
conduit_power,
|
|
hero_of_the_village,
|
|
levitation,
|
|
regeneration,
|
|
strength,
|
|
dolphins_grace,
|
|
hunger,
|
|
luck,
|
|
resistance,
|
|
unluck,
|
|
bad_luck: unluck,
|
|
good_luck: luck,
|
|
fire_resistance,
|
|
instant_damage,
|
|
mining_fatigue,
|
|
saturation,
|
|
water_breathing,
|
|
darkness
|
|
}
|