Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
fix melon slice and release 1.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Jun 1, 2021
1 parent ace11ea commit e5c0e74
Show file tree
Hide file tree
Showing 72 changed files with 13 additions and 6 deletions.
2 changes: 0 additions & 2 deletions generator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ async function getItemFromCIT(baseDir: string, propertiesDir: string, vanillaDir

if (Object.keys(textures).length === 0) {
// some properties are weird and just don't put a model or texture, so we just assume it's fine if we replace .properties with .png
console.log('no textures for', propertiesDir)
let textureDir = propertiesDir.replace(/(\.properties)$/, '.png')
try {
textureDir = await makeAnimationFromMcmeta(textureDir)
Expand Down Expand Up @@ -508,7 +507,6 @@ async function main() {
for await (const dir of await getFiles('renders/vanilla'))
vanillaRenders.push(dir)

await makeDir('./textures')
await makeDir(`./matchers`)

await addPack('ectoplasm') // completionists update
Expand Down
3 changes: 1 addition & 2 deletions matchers/vanilla.json
Original file line number Diff line number Diff line change
Expand Up @@ -9401,8 +9401,7 @@
"damage": 0
},
"textures": {
"layer0": "packs\\vanilla\\textures\\items\\melon.png",
"texture": "renders\\vanilla\\melon.png"
"layer0": "packs\\vanilla\\textures\\items\\melon.png"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "skyblock-assets",
"version": "1.1.10",
"version": "1.1.11",
"description": "TypeScript library for getting urls (hosted on GitHub) to Hypixel SkyBlock item images from several resource packs.",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
Binary file modified renders/vanilla/bat_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/bee_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/blaze_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/cat_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/cave_spider_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/chicken_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/cod_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/cow_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/creeper_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/dolphin_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/donkey_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/drowned_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/elder_guardian_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/enderman_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/endermite_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/evoker_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/fox_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/ghast_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/guardian_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/hoglin_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/horse_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/husk_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/llama_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified renders/vanilla/magma_cube_spawn_egg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed renders/vanilla/melon.png
Binary file not shown.
Binary file modified renders/vanilla/mooshroom_spawn_egg.png
Binary file modified renders/vanilla/mule_spawn_egg.png
Binary file modified renders/vanilla/ocelot_spawn_egg.png
Binary file modified renders/vanilla/panda_spawn_egg.png
Binary file modified renders/vanilla/parrot_spawn_egg.png
Binary file modified renders/vanilla/phantom_spawn_egg.png
Binary file modified renders/vanilla/pig_spawn_egg.png
Binary file modified renders/vanilla/piglin_brute_spawn_egg.png
Binary file modified renders/vanilla/piglin_spawn_egg.png
Binary file modified renders/vanilla/pillager_spawn_egg.png
Binary file modified renders/vanilla/polar_bear_spawn_egg.png
Binary file modified renders/vanilla/pufferfish_spawn_egg.png
Binary file modified renders/vanilla/rabbit_spawn_egg.png
Binary file modified renders/vanilla/ravager_spawn_egg.png
Binary file modified renders/vanilla/salmon_spawn_egg.png
Binary file modified renders/vanilla/sheep_spawn_egg.png
Binary file modified renders/vanilla/shulker_spawn_egg.png
Binary file modified renders/vanilla/silverfish_spawn_egg.png
Binary file modified renders/vanilla/skeleton_horse_spawn_egg.png
Binary file modified renders/vanilla/skeleton_spawn_egg.png
Binary file modified renders/vanilla/slime_spawn_egg.png
Binary file modified renders/vanilla/spawn_egg.png
Binary file modified renders/vanilla/spider_spawn_egg.png
Binary file modified renders/vanilla/squid_spawn_egg.png
Binary file modified renders/vanilla/stray_spawn_egg.png
Binary file modified renders/vanilla/strider_spawn_egg.png
Binary file modified renders/vanilla/template_spawn_egg.png
Binary file modified renders/vanilla/trader_llama_spawn_egg.png
Binary file modified renders/vanilla/tropical_fish_spawn_egg.png
Binary file modified renders/vanilla/turtle_spawn_egg.png
Binary file modified renders/vanilla/vex_spawn_egg.png
Binary file modified renders/vanilla/villager_spawn_egg.png
Binary file modified renders/vanilla/vindicator_spawn_egg.png
Binary file modified renders/vanilla/wandering_trader_spawn_egg.png
Binary file modified renders/vanilla/witch_spawn_egg.png
Binary file modified renders/vanilla/wither_skeleton_spawn_egg.png
Binary file modified renders/vanilla/wolf_spawn_egg.png
Binary file modified renders/vanilla/zoglin_spawn_egg.png
Binary file modified renders/vanilla/zombie_horse_spawn_egg.png
Binary file modified renders/vanilla/zombie_spawn_egg.png
Binary file modified renders/vanilla/zombie_villager_spawn_egg.png
Binary file modified renders/vanilla/zombified_piglin_spawn_egg.png
10 changes: 10 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,15 @@ describe('skyblock-assets', () => {

assert.strictEqual(itemTextureUrl, `${skyblockAssets.baseUrl}/packs/vanilla/textures/items/dye_powder_black.png`)
})

it('Check melon slice', async() => {
const itemTextureUrl = await skyblockAssets.getTextureUrl({
id: 'minecraft:melon',
pack: 'vanilla',
})
console.log(itemTextureUrl)

// assert.strictEqual(itemTextureUrl, `${skyblockAssets.baseUrl}/packs/vanilla/textures/items/dye_powder_black.png`)
})
})
})

0 comments on commit e5c0e74

Please sign in to comment.