#cant see item display

1 messages · Page 1 of 1 (latest)

cerulean grail
onyx saffron
#

f3+b

#

should show up as a blue line

cerulean grail
#

still doesnt work

onyx saffron
#

send the spawning portion of the code

cerulean grail
#

wait i see it

#

but idk why they are like invisible

onyx saffron
#

you are setting the item wrong ig

sick galleon
#

I think the texture is broken.

onyx saffron
#

broken textures show up at black and purble cubes

cerulean grail
#

i dont have texture pack

sick galleon
#

Heres the skript: on script load:
loop all item displays:
kill loop-entity

set {textures::pig} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWIxNzYwZTM3NzhmODA4NzA0NmI4NmJlYzZhMGE4M2E1Njc2MjVmMzBmMGQ2YmNlODY2ZDRiZWQ5NWRiYTZjMSJ9fX0="
set {textures::sheep} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODRlNWNkYjBlZGIzNjJjYjQ1NDU4NmQxZmQwZWJlOTcxNDIzZjAxNWIwYjFiZmM5NWY4ZDVhZjhhZmU3ZTgxMCJ9fX0="
set {textures::cow} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGY4Y2UzOTE1YTIxMTY4ZDgzOTQyMTQ1NTJjZGI1NjUyZTg1NWU5ZTM4MjAwMWQ1OTY5NzJmZTNjMDA5ZWE3ZCJ9fX0="
set {textures::chicken} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTMzYjUyOWIyZGI4ZDlkMTgxYzE0NGFlMTRhNWE3ODI2ZTVkZDIzMzFlMGQxMDIwZjQ1YmIyYmJhY2Y3MWZjIn19fQ=="
set {textures::wolf} to "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOThhZjAzOTllNTgyY2ZmN2NmY2Q2M2I
#

Hm, something is wrong with textures, i dont think their official texturesm

cerulean grail
#

it worked before

#

hmm

#

does this not work
function CustomPetTexture(pet: text) :: item:
set {_tex} to {textures::%{_pet}%}
set {_h} to player head with nbt from "{""minecraft:profile"":{id:[I;0,0,0,0],properties:[{name:""textures"",value:""%{_tex}%""}]}}"
return {_h}

sick galleon
#

Not really. The version matters.

cerulean grail
#

my sk info

sick galleon
#

Imma verify the whole skript with the skript documentary

cerulean grail
#

maybe ill remove skyrayfall

onyx saffron
#

thats a great idea

sick galleon
#

Potential Issues/Optimizations:
loop all item displays: This syntax is likely provided by an addon (like SkBee or DisplayEntityUtils) and is correct within that context. The effect kill loop-entity is a standard way to remove entities.
CustomPetTexture({_type}) Function: The function itself uses NBT syntax that requires a specific addon (likely SkBee). Assuming you have the required addons, the function syntax and return type are correct.
spawn item display at player: The syntax spawn %entity type% at %location% is standard Skript. The use of item display specifically requires a modern Skript version and potentially an addon.
set display scale of {_pet} to vector(1,1,1): This syntax for display entities is specific to the modern display entity update and usually requires an addon like SkBee to access easily.
spherical vector radius...: This is a specific expression pattern, likely provided by an addon, which is used correctly here to calculate a location offset based on yaw and distance.
loop 17 times: The standard loop %number% times in Skript starts the loop-number at 1 and goes up to the specified number (1 to 17).
Variable Deletion in /petclear: Deleting variables like {pets::%player%::%loop-number%} when the loop runs from 1 to 17 (or 0 to 16, depending on the loop implementation) effectively clears the list. This logic is correct.
Summary
The Skript is functionally correct provided you have the necessary addons installed (specifically for NBT, display entities, and potentially vector manipulations). The core Skript logic and flow control (if statements, loops, functions) adhere to the documented language structure.

cerulean grail
#

is that AI

onyx saffron
#

looks like it

sick galleon
#

Yeah, i made it look through skript documentary, dw its google not gptm

cerulean grail
#

other ppl said they can see the hitbox only

sick galleon
#

Maybe the syntax is wrong.

cerulean grail
#

it has no errors shouldnt be

#

i will reverify the base64 textures

#

im gonna remove all plugins except skbee and skript

#

i still cant see it

#

😭

onyx saffron
#

it should at least show as default head

#

check console for skBee errors

#

when spawning

cerulean grail
#

no errors tho

#

is skbee 3.6.6 too old?

#

thats probably the casei m on 1.21.1

sick galleon
#

3.7.0 and newer require

onyx saffron
#

well current version is 3.14 so

cerulean grail
#

3.14 doesnt work

#

hmm

sick galleon
#

Try 3.70

cerulean grail
#

alright

#

doesnt work im gona change server version to 1.21.4

#

hopefully that helps

#

it works!

#

ty all