#Rosestacker stack size in skript?
1 messages · Page 1 of 1 (latest)
prob have to use reflect
unless the entity name has the quantity of mobs in it, like "Zombie x5" or something
in which case you can just replace stuff in the string
the display name returns none so i dont know how they do it
how would i do this?
"%name of (entity)%" should not return none
broadcast "%name of victim%"``` this is just returning none?
then whatever display above it thats showing the count is an armourstand or a text display
okay so what do i have to do?
find that entity
loop entities in radius 2 of victim:
broadcast "%name of loop-entity%"``` yeah so i did this and its juts returning 2 nones..
then you gotta do some reflect stuff
presumably with this expression
by importing one of these
could you send them in a message please?
top of this
org.bukkit.event.entity.EntityDeathEvent
dev.rosewood.rosestacker.RoseStacker
dev.rosewood.rosestacker.event.EntityStackMultipleDeathEvent
dev.rosewood.rosestacker.manager.StackManager
dev.rosewood.rosestacker.manager.StackSettingManager
dev.rosewood.rosestacker.stack.StackedEntity
dev.rosewood.rosestacker.stack.StackedItem
dev.rosewood.rosestacker.stack.StackingThread
dev.rosewood.rosestacker.stack.settings.EntityStackSettings
dev.rosewood.rosestacker.utils.EntityUtils
on EntityDeathEvent:
set {_e} to event.getEntity().getStackSize()
broadcast "%{_e}%"``` am i dumb? this is returning none
org.bukkit.event.entity.EntityDeathEvent
com.google.common.base.Preconditions
dev.rosewood.rosestacker.RoseStacker
dev.rosewood.rosestacker.event.EntityStackMultipleDeathEvent
dev.rosewood.rosestacker.manager.StackManager
dev.rosewood.rosestacker.manager.StackSettingManager
dev.rosewood.rosestacker.stack.StackedBlock
dev.rosewood.rosestacker.stack.StackedEntity
dev.rosewood.rosestacker.stack.StackedItem
dev.rosewood.rosestacker.stack.StackedSpawner
dev.rosewood.rosestacker.stack.StackingThread
dev.rosewood.rosestacker.stack.settings.BlockStackSettings
dev.rosewood.rosestacker.stack.settings.EntityStackSettings
dev.rosewood.rosestacker.stack.settings.ItemStackSettings
dev.rosewood.rosestacker.stack.settings.SpawnerStackSettings
dev.rosewood.rosestacker.utils.EntityUtils
dev.rosewood.rosestacker.utils.ItemUtils
on EntityStackMultipleDeathEvent:
set {_e} to event.getEntityKillCount()
broadcast "%{_e}% number"``` update: trying this and still returning none
not sure then
I just tried this, and it returns the stack size number
updated everything and it works now
You managed to drop the same amount of drops as the stack size??
i just managed to get the number to send .
Ahhh, if you manage anything more. Keep it updated in here xD
Im trying to make it so if 100 pigs die, it drops 100 redstone etc
but its so confusing imo
drop {_var} of (item) at (location)