#display items not summoning
1 messages Β· Page 1 of 1 (latest)
care to show your code
i was copying it rn actually
if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds: # this is the hidden ability
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
execute console command "execute at %player% run summon item_display at %player% {Glowing:1b,view_range:100f,shadow_radius:1f,item:{id:"" minecraft:armor_stand"",count:1,components:{"" minecraft:custom_model_data"":1,""minecraft:entity_data"":{id:"" minecraft:armor_stand""}}}}"
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:gldragon_breath ~ ~1 ~"
wait 8 seconds
execute console command "execute at %player% run kill @e[type=minecraft:item_display]"
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
send action bar "π Power is Drained" to player
there
can you surround it in ```s please
if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds: # this is the hidden ability
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
** execute console command "execute at %player% run summon item_display at %player% {Glowing:1b,view_range:100f,shadow_radius:1f,item:{id:"" minecraft:armor_stand"",count:1,components:{"" minecraft:custom_model_data"":1,""minecraft:entity_data"":{id:"" minecraft:armor_stand""}}}}"**
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:gldragon_breath ~ ~1 ~"
wait 8 seconds
execute console command "execute at %player% run kill @e[type=minecraft:item_display]"
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
send action bar "π Power is Drained" to player
the bold is what needs fixing
Use:
set {_item} to minecraft:armor_stand
set custom model data of {_item} to 1
spawn an item display at player:
set the display item of the display to {_item}
set glowing of the display to true
#... Particle spawning code here
kill last spawned display entity
probably a more concise way of doing that but you get the point
please dont use console commands
use skript to display particles (via skbee or skript-particle)
i do not follow where to put these in
take a guess
if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds: # this is the hidden ability
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
set {_item} to minecraft:armor_stand
set custom model data of {_item} to 1
spawn an item display at player:
set the display item of the display to {_item}
set glowing of the display to true
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:gldragon_breath ~ ~1 ~"
wait 8 seconds
kill last spawned display entity
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
send action bar "π Power is Drained" to player
like this?
not indented correctly
well where do i indent it then? cuz everywhere else i try to indent it to it gives errors and says it has to be there
nvm, i moved it backwards 3
and it gave no error
but still wont summon the display
You sure your model is made correctly
yep
It summons for me
works when summoned with commands
this is summoned with commands:
dunno then
it summons for me
does everything else work
like the particles and stuff
yep
beats me
idk whats going on with it, it should be spawning??
like are you sure theres nothing else to try?
its not even saying anything in console
im just gonna sleep on it, maybe sum1 will hop in the post and have the answer to why it wont work. ill post the skript 1 last time
if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds:
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
set {_item} to minecraft:armor_stand
set custom model data of {_item} to 1
spawn an item display at player:
set the display item of the display to {_item}
set glowing of the display to true
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~1 ~"
wait 8 seconds
kill last spawned display entity
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
send action bar "π Power is Drained" to player
please
x8ight suggests that you read this embed
Code blocks make it easier for helpers to identify potential errors -- help them help you!
```vb
on chat:
broadcast "This is how you format code!"
```
on chat:
broadcast "This is how you format code!"
On US keyboards, the grave character (`) is located above the tab key on the top left of the keyboard
and also use skript's particle effects
Spawn a particle. This system is more inline with how Bukkit deals with particles, hence the choices in the pattern.
Some particles may be affected differently by these values, so let's break them down:
first number = count, how many particles to spawn at once. (use '0' if you notice the particle kinda flies away.)
particle = the particle to...
so no help at all?
never use commands bro
kay so what do i do about the display not working then?

Use the effects skbee has to modify display entities
but im not tryna use skbee
If you want to touch display entities use skbee, otherwise just donβt touch display ejtities
bro just install skbee its probably the most used and best skript plugin
bitch ass
dont make a post asking for help if you arent even gonna take any
π
Treating skbee like its gonna murder his family
I have skbee, im just not sure how to use it is all. all I know how to do with it is crafting, everything else makes no sense even with help
tf you on abt, you helped once then gave up?
you lit said that it works for you, so thats good enough? like what?
What am I supposed to do if I don't know what the problem is exactly
Would you like me to will the solution into existence for you
Skbee will just make it so you can do more stuff with skript, try using this to spawn the display entity https://skripthub.net/docs/?id=11371 then look at similar documentation on display entities using skbee
thanks, but how exactly do i make it have custom model data and glow?
Same way I've already told you
So glowing you can just apply the glowing effect and setting the item you can use https://skripthub.net/docs/?id=10624
Represents the display ItemType of an Item/Block Display Entity
See Display Entity Data on McWiki for more details.
If you need help spawning it with custom model data you can use this https://skripthub.net/docs/?id=4190
Also Mr ctrl gave you the code to do this
@steel pawn have you tried spawning a different item besides the armor stand, one that doesn't have any sort of changed texture in your pack
I would try that rq and see if it shows up
k, rn im trying to figure out how to implement the skbee skript into mine, idk where to hve it
You should only need to replace the part where your spawning the display
Use the code I sent before to do that
If the glowing code is placed before the code that spawns your display, it will not work
Because it has no entity to point to
it is after is
Can you send it?
sure
Please send it in a code block
Use set glowing of last spawned display entity to true
`if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds:
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
spawn item display at player
set display item of last spawned entity to armor_stand
set glowing of the display to true
set custom model data of {_item} to 1
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~1 ~"
wait 8 seconds
kill last spawned display entity
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
send action bar "π Power is Drained" to player`
The last one referred to the entity in the vanilla skript display entity block
Use that Instead
awesome, it glows now!
Is the model data working
π
I'm fairly certain that's an issue with the model then
i tired last spawned with model data, i tried display. nothing seems to work, it always says "cant understand"
If the armor stand showed up without a model applied idk any other explanation
Just use the model data code that I had
I would also recommend doing this when setting properties of a display entity
Spawn item display at player:
Set display item of entity to diamond sword
I am on phone so I donβt know if I can use code blocks but itβs just a good way to formate it
Mm no
The entity itself has no model data, it's the item it's displaying
So you have to set the item the display is displaying to an item with modeldata
You can use just set the display item of to a armor stand with custom model data 1
Great
wait but how to i make it
Your going to have to spawn it a block above and without pitch
Your trying to spawn it exactly at the player right?
so that it doesn't rotate to where i look, and just rotates in the direction im looking. (i typed that weird) i mean like its pointing the face up when i just want it to be up right but looking staight forwards where i look, not up or down
that 2
The billboard you mean
i guesss???
There is an skbee expression for that!
just like, i dont want it to turn like this:
I would try looking up "billboard" on the docs
I think they just want the yaw to be the same and not the pitch
if im looking down at the ground, i dont want it to look down too, i just want it to point in the direction im looking, so when i look down. it would still look up but in the direction im looking, if yk what i mean
Yeah
like if i look down, it still points my way but not down, like this
So if you do that the entire model will look down, is that what you want?
nahhhh
Ok so right now itβs not looking down or up and only straight? Or it is looking up and down?
here, if i look down and use it, it spawns looking down. i want it so that even if i look down or up, it only faces the direction i point
Ah
You want to set the location of the player to a variable and set the pitch of that variable to 0 then spawn the display at the variable
that makes no sense, im sorry π π ^
I am on phone right now so I can really write the code but I can try to explain it a bit better
Before spawning the display entity set a variable to the players location then on the next line set the pitch of that variable to 0 so if your variable is {_test} then it would be set {_test}βs pitch to 0 and then instead of spawning the display at the player spawn it at the variable so in this instance you would do spawn item display at {_test}
im still confused, like i know what you mean but dont know how to do it typ shyt
In a couple hours I can make the code or guide you more but maybe someone else will help before then
alright, thankyou
do you guys know how to spawn particle spheres, bc they aitn working for me set {_shape} to sphere with radius 3
set {_loc} to location above player
set {_loc}'s pitch to 0
spawn item display at {_loc}
this should work for setting up the location and spawning the display there
are you spawning the shape?
yep
works ty
draw the shape (sphere with radius 1) at player's location
this is from the documentation https://skripthub.net/docs/?id=9449
Draws the given shapes at the given locations. The shapes will be drawn in the order they are given.
The code inside the draw shape section will be executed before drawing begins. You can use event-shape or drawn shape to get the shape being drawn. Modifying this shape affects the end result, but it does not modify the original shape! This m...
Great, love to hear it!!
where would i add this one?
where ever you are creating the particles
that one line will create the particle sphere
should i still use the console command for the particles?
so what do i use to summon them?
the draw part of it does that
draw the shape (sphere with radius 1) at player try that
draw the shape (sphere with radius 1) at player
and if it gives a error send the full event
i have to work on stuff for 30 min, ill lyk if it works whn i come back
@icy latch
` if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds:
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
set {_loc} to location above player
set {_loc}'s pitch to 0
spawn item display at {_loc}
set display item of last spawned entity to armor_stand with custom model data 1
set glowing of last spawned display entity to true
draw the shape (sphere with radius 1) at player
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
play sound "block.amethyst_cluster.break" at volume 2 at pitch 1 to player
push the player forwards at speed 1
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~1 ~"
wait 8 seconds
kill last spawned display entity
send action bar "π Power is Drained" to player`
do you... have skript-particle?
no? wernt u just saying use skbee for particle
for playing a single particle, like you are using console commands for right now. You'd need to integrate shapes by playing a whole bunch of single particles.
skript-particle does the shapes for you
the line draw the shape (sphere with radius 1) at player is skript-particle syntax
ahh
Oh sorry I didnβt realize you did not have skript-particles
is there a link to skript particle i could use?
also how do i choose the particle after i have the plugin-addon?
If you go to the documentation I sent for drawing shapes with it and click on the name. It should lead you to the GitHub.
Like what particle youβre drawing the shape with?
mhm
its restarting
kay
it spawns
but it is under me
and its flame particles
so how do i change which particle it is and where it is located
you change the location you play the shape at.
figured out how to make it not inground*
now what about the prticle
make no sense to me im b fr
i already checked for it
`if difference between now and {EquipShard::%player's uuid%.hidden.lastUsed} is less than 25 seconds:
{EquipShard::%player%.cooldowntime} is 0
send action bar "π Power is Drained" to player
set {EquipShard::%player%.cooldowntime} to 1
wait 25 seconds
send action bar "π Power is Full" to player
set {EquipShard::%player%.cooldowntime} to 0
else:
#player is sneaking
{EquipShard::%player%.shards} is 5
set {EquipShard::%player's uuid%.hidden.lastUsed} to now
set {_loc} to location above player
set {_loc}'s pitch to 0
spawn item display at {_loc}
draw the shape (sphere with radius 1) at {_loc}
set {_shape}'s particle to dragon breath
set display item of last spawned entity to armor_stand with custom model data 1
set glowing of last spawned display entity to true
wait 2 ticks
play sound "block.ender_chest.open" at volume 2 at pitch 1 to player
play sound "block.amethyst_cluster.break" at volume 2 at pitch 1 to player
push the player forwards at speed 1
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply speed to player for 20 seconds
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
apply invisibility to player for 20 seconds
wait 2 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~ ~"
wait 1 tick
execute console command "execute at %player% run particle minecraft:dragon_breath ~ ~1 ~"
wait 8 seconds
kill last spawned display entity
send action bar "π Power is Drained" to player`
it says 0 errors again, but wont change the paricle
particle*
(set shapes particle to dragons breath is the line i used)
well uh you havent actually definted that local variable as a shape, and you arent playing the variable
and you need to set the particle before playing it...
I'll be on in a second and see if I can work smth out
?
console commands for particles π
You cant set the particle of the variable {_shape} if the variable doesnt exist in the first place
And what use is setting the particle after already showing the shape?
I re-worded
Yaw & pitch
set pitch of {_stand} to 0
makes iy ststight iiirc
ai π₯
idk what ur error is or if it's fixed but this is still questionable formating
connorofdeth suggests that you read this embed
Code blocks make it easier for helpers to identify potential errors -- help them help you!
```vb
on chat:
broadcast "This is how you format code!"
```
on chat:
broadcast "This is how you format code!"
On US keyboards, the grave character (`) is located above the tab key on the top left of the keyboard
do this
we already fixed everything except for the type of particle that gets shown for the circle