#(chronos1981) unable to get created npc to pickup items

30 messages · Page 1 of 1 (latest)

spice wagon
#

tried using this - adjust <entry[WoodsMan].created_npc> can_pickup_items:true

lusty locustBOT
#

(chronos1981) unable to get created npc to pickup items

lusty locustBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

merry vault
#

!haste

fallen crestBOT
spice wagon
#

if i do this /npc pickupitems ingame it works.

sand osprey
#

!debug

fallen crestBOT
# sand osprey !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

sand osprey
#

Could you run a debug real quick

spice wagon
#

line 28 where the adjust command runs

spice wagon
#

!help

fallen crestBOT
# spice wagon !help
Bot Command Help
**Available Informational Commands:**

help shows help output
hello shows a source code link
update [project ...] shows an update link for the named project(s)
github [project ...] shows a GitHub link for the named project(s)
issues [project ...] shows an issue posting link for the named project(s)
info <name ...> shows a prewritten informational notice reply
rule [rule ...] shows the identified rule
quote [quote] shows a random quote that matches the search (if any)

**Available Utility Commands:**

logcheck <link> gathers information from a server log paste
versioncheck <version text> checks whether a project version is current
script <link> checks a linked script for basic syntax validity

**Available Meta Docs Commands:**

command [name] [usage/tags] to search commands
mechanism [name] to search mechanisms
tag [name] to search tags
objecttype [name] to search object types
event [name] to search world script events
action [name] to search NPC assignment actions
language [name] to search language docs
guide [name] to search the beginner's guide pages
search [keyword] to search all meta docs

spice wagon
#

!mechanism can_pickup_items

fallen crestBOT
merry vault
fallen crestBOT
# merry vault !logcheck https://paste.denizenscript.com/View/129707
Server Version

CraftBukkit version 4418-Spigot-aa7842e-fa10c50 (MC: 1.21.4)

Plugin Version(s)

Citizens: 2.0.37-SNAPSHOT (build 3666) -- (Outdated build, behind by 13)
Denizen: 1.3.1-SNAPSHOT (build 7121-DEV) -- (Outdated build, behind by 2)

Checked For

@merry vault

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.5 :white_check_mark:

Possibly Relevant Plugin(s)

Multiverse-Core: 4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.

merry vault
#

It may be because you’re on CraftBukkit, could you try with either Spigot or Paper?

spice wagon
#

It's not craftBukkit. I'm running Spigot /edit strange is it CraftBukkit or Spigot log says it's both

spice wagon
#

running buildtools again making sure it's just Spigot

merry vault
#

@spice wagon has this issue been fixed?

winged raptor
#

Wouldn't this be due to NPCs having their own item pickup logic? Looking a bit it looks like can_pickup_items affects the normal entity, but looks like NPCs have their own tick logic to pickup items? I can at least confirm this was easy to recreate on 1.20.4 on Paper.

pale remnantBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@spice wagon

wanton raven
#

CraftBukkit hasn't been a thing on it's own for a very long time

#

(And I'd heavily recommend moving to Paper, especially now that they've hard-forked)

#

Either way, if there's an option for this in Citizens that isn't supported by Denizen can mark this as a feature request