#(xamotex1000) custom blocks arent responding to damaging events

29 messages · Page 1 of 1 (latest)

feral mica
#

I have some note blocks with custom models that im using to make custom blocks, but whenever i add an "on player damages block" or "on player stops damaging block" statement, every block works except for the remodeled one. That includes normal note blocks.

hollow sparrowBOT
#

(xamotex1000) custom blocks arent responding to damaging events

hollow sparrowBOT
#

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.

novel plinth
#

!debug

lament roostBOT
# novel plinth !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!

feral mica
#

i put it on a left click thing instead of damaging but it still doesnt stop

novel plinth
lament roostBOT
# novel plinth !logcheck https://paste.denizenscript.com/View/128083
Server Version

Paper version git-Paper-496 (MC: 1.20.4)

Plugin Version(s)

Citizens: 2.0.33-SNAPSHOT (build 3385) -- (:warning:Outdated build, behind by 248)
Denizen: 1.3.0-SNAPSHOT (build 1804-REL) -- (Current build :white_check_mark:)
Depenizen: 2.1.1 (build 864) -- (Outdated build, behind by 1)
dDiscordBot: 0.7 (build 303) -- (Current build :white_check_mark:)

Checked For

@novel plinth

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.3 :white_check_mark:

Other Noteworthy Plugin(s)

MythicMobs: 5.6.2-3e052553, ProtocolLib: 5.2.0-SNAPSHOT-679

Possibly Relevant Plugin(s)

NametagEdit: 4.5.23 - Some scoreboard or name-edit plugins may lead to scoreboard control instability.
ViaVersion: 5.0.3 - Mixed client vs server versions can sometimes cause packet-related issues.
HeadDatabase: 4.19.8 - HeadDatabase has been known to cause issues with skins.
ModelEngine: R4.0.6.1 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.

novel plinth
#

!paste

lament roostBOT
feral mica
#

everythings working but the damages and stops damaging

novel plinth
#

I don't see the "damages" event, just the "stop damages"

feral mica
#

i replaced it with left clicks because it wasnt working

#

cant find an alternative like "stops clicking" or anything or else i wouldnt have needed help

novel plinth
#

could you try with the on player damages event and submit the debug for that?

feral mica
#

literally nothing

novel plinth
#

and this works on normal blocks, but not the changed note blocks?

feral mica
#

yeah

#

i punched stone and then the block in this onehttps://paste.denizenscript.com/View/128087

novel plinth
#

what's the text in chat when you look at the changed block and type /ex narrate <player.cursor_on.material>?

feral mica
novel plinth
#

i copied your script exactly, changed the left click to damages, and haven't encountered any problems. what specifically is the issue?

feral mica
#

in that case oraxen might be messing with some stuff

#

it uses the same method for blocks

novel plinth
#

Side note, you're a version behind the latest Paper 1.20.4 release. May have something to do with it, but wise to update regardless