Skip to content

DuckySoLucky/Skyblock-Item-Emojis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Skyblock-Item-Emojis

A database containing every skyblock item as a Discord emoji. Can be used in webhooks or slash commands!

Version 3

Whats new?

  • The "FurfSky Reborn" Texturepack is now mainly used for the textures
  • Added Discord attachment links to get the image of an emoji
  • This now includes EVERY skyblock item and is updated more regulary
  • This version uses the hashes to prevent emojis with the same texture being uploaded multiple times
  • All emojis have an enchanted variant even if they cannot be enchanted in-game
  • Bugged enchantment glints were fixed

How do I get the emojis?

In the /v3 folder you can find 3 files. emojis.json includes the different hash values and their normal and enchanted emojis. The same goes for the images.json file which includes Discord attachment links for the normal and enchanted emojis. The itemHash.json file includes a list of custom ids (we will talk about those later) which lead to their respective hash value from which you can then get the emoji in the emoji.json or images.json file.

How do I get the custom id?

By default, the custom id is just the items skyblock id (item.ExtraAttributes.​id) but is sometimes modified. The following modifications were made: All ids are uppercase

Pets: PET_{TYPE} TYPE = item.tag.ExtraAttributes.petInfo.type

Pet Skins: PET_SKIN_{SKIN} SKIN = item.tag.ExtraAttributes.petInfo.skin

Mythic Pets: (Flying Fish) PET_{TYPE}_MYTHIC TYPE = item.tag.ExtraAttributes.petInfo.type

Runes: RUNE_{TYPE} TYPE = First object key of: item.tag.ExtraAttributes.runes

Potions: POTION_{TYPE} TYPE = item.tag.ExtraAttributes.potion

Splash Potions: POTION_{TYPE}_SPLASH TYPE = item.tag.ExtraAttributes.potion

Abicases: ABICASE_{MODEL} MODEL = item.tag.ExtraAttributes.model

Backpack Colors: {BACKPACKID}_{COLOR} BACKPACKID = item.tag.ExtraAttributes.​id COLOR = item.tag.ExtraAttributes.backpack_color

Skins: {SKINID} SKINID = item.tag.ExtraAttributes.skin

Version 2

Whats new?

  • Added the enchantment glint to some items

  • Added potions

How do I get the emojis?

In the emojisV2.json file there are all emojis by their skyblock id. You can also choose between normal and enchanted emojis. Both keys will be provided on every skyblock id but only items that can be enchanted (armor, swords, pickaxes, ...) or have the enchantment glint applied without being enchanted actually have a enchanted version of the emoji. We provide both keys to make it easier for you to implement the emojis into your project. Pets, runes and potions work in a different way.

You can get a link to an emoji by adding the discord emoji Id to the end of this URL: https://cdn.discordapp.com/emojis/EMOJI_ID

Example: (Item ID: ROGUE_SWORD)

"ROGUE_SWORD": {
	"normal": {
		"name": "Rogue_Sword",
		"id": "945325276085252156",
		"formatted": "<:Rogue_Sword:945325276085252156>",
		"animated": false
	},
	"enchanted": {
		"name": "E_Rogue_Sword",
		"id": "945816883838451723",
		"formatted": "<a:E_Rogue_Sword:945816883838451723>",
		"animated": true,
		"enchanted": true
	}
}

Normal Items:

Get normal items by their item id found in the ExtraAttributes of the item (item -> tag -> ExtraAttributes -> id)

ExtraAttributes: {
	id: "ROGUE_SWORD"
}

= ROGUE_SWORD

Pets:

Get pets by their pet type found in the ExtraAttributes of the pet (pet -> tag -> ExtraAttributes -> petInfo -> type). After getting the pet type make sure to append _PET. If the pet includes a pet skin (petInfo -> skin) you can just use the id provided there like normal items.

Example:

ExtraAttributes: {
	petInfo: "{\"type\":\"ARMADILLO\",\"active\":false,\"exp\":0.0,\"tier\":\"COMMON\",\"hideInfo\":false,\"candyUsed\":0,\"uuid\":\"a8667fe7-9c16-451b-b651-2a0cf115f992\"}",
	originTag: "PET_MENU",
	id: "PET",
	uuid: "a8667fe7-9c16-451b-b651-2a0cf115f992",
	timestamp: "10/28/21 8:00 AM"
}

= ARMADILLO_PET

Runes:

Get runes using the rune id found in the runes object found the ExtraAttributes of the rune. Make sure to append _RUNE after the id. (rune -> tag -> ExtraAttributes -> runes)

Example:

ExtraAttributes: {
	runes: {
		BLOOD_2: 1
	},
	id: "RUNE"
}

= BLOOD_2_RUNE

Potions:

To get a potion you first need to get the minecraft vanilla potion id. The potion id is found in the first index of the CustomPotionEffects array (potion -> tag -> CustomPotionEffects -> 0 -> Id). Now you will need to the potion type (Whether its a NORMAL potion or a SPLASH potion). This can be found in the ExtraAttributes of the potion (potion -> tag -> ExtraAttributes -> splash). If splash is true the potion is a splash potion.

Example:

CustomPotionEffects: [{
	Ambient: 0,
	Duration: 20,
	Id: 18,
	Amplifier: 7
}]

ExtraAttributes: {
	splash: true
}

= POTION_SPLASH_18

Version 1

How do I get the emojis?

In the emojis.json file there are all emojis by their skyblock id. As pets and runes all have the same skyblock id (PET, RUNE) those work in a different way. You then have the option to get all the information about the emoji (id String, name String, formatted String, animated Boolean)

If you actually use this, it would be nice if you could give some credit as this took a lot of time making

Example: (Item ID: HYPERION)

"HYPERION": {
	"id": "902516371882127370",
	"name": "item_1947",
	"formatted": "<a:item_1947:902516371882127370>",
	"animated": true
}

Normal Items:

Get normal items by their item id found in the ExtraAttributes of the item (item -> tag -> ExtraAttributes -> id)

Example:

ExtraAttributes: {
	id: "GRAPPLING_HOOK"
}

= GRAPPLING_HOOK

Pets:

Get pets by their pet type found in the ExtraAttributes of the pet (pet -> tag -> ExtraAttributes -> petInfo -> type)

Example:

ExtraAttributes: {
	petInfo: "{\"type\":\"ARMADILLO\",\"active\":false,\"exp\":0.0,\"tier\":\"COMMON\",\"hideInfo\":false,\"candyUsed\":0,\"uuid\":\"a8667fe7-9c16-451b-b651-2a0cf115f992\"}",
	originTag: "PET_MENU",
	id: "PET",
	uuid: "a8667fe7-9c16-451b-b651-2a0cf115f992",
	timestamp: "10/28/21 8:00 AM"
}

= ARMADILLO_PET

Runes:

Get runes using the rune id found in the runes object found the ExtraAttributes of the rune. Make sure to add RUNE_ before the id. (rune -> tag -> ExtraAttributes -> runes)

Example:

ExtraAttributes: {
	runes: {
		BLOOD_2: 1
	},
	id: "RUNE"
}

= RUNE_BLOOD_2

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published