#Open Denizen Discussion Thread

1 messages · Page 16 of 1

humble flower
#

you ever catch yourself writing a help thread here and figuring the answer out by yourself

low radish
#

that's called rubber ducky debugging and it's quite common

#

you can harness it into a skill

humble flower
#

oh! that thing where some people have a literal rubber ducky they explain their problem to?

#

i see

mossy tide
#

I hadn't made a help thread for several months until the one two days ago and we never had a real solution since my issue was so stupid

fleet kernel
#

figure out i figured it out writing it

#

and then /resolved immediately

#

ducky takes too logn

mossy tide
#

I just schizo babble as I complain that its not working, then I realize my issue

graceful laurel
#

usually explaining how I’m doing things/what I want to have it be, presenting possible solutions, refuting/nit-picking my solutions, and constantly repeating that whole process until I’m at a satisfied point with it all

sinful spindle
#

New voice channel for this discord just has prerecorded sounds of someone saying 'okay' and 'hmmm' and such on loop to explain your code to

grim quail
#

Attempted to update to 1.21.11 recently from 1.20.4, and as predicted I have like 20 exceptions.

#

Most of them were from custom enchantments, ones a bad material for an item script, and another is #1350649389135302748.

So hopefully I can fully upgrade when that bug gets squashed.

foggy gorge
#

i figured out how to give items a max stack of up to 99; but didn't we have some mechanism somewhere that let us change it to more than 99?

#

oh wait, that should be a denizen forum question lel

humble flower
humble flower
#

just discovered you can do subscripts on procs as well

#

yup yes uh huh you heard me right

#
test_proc:
    type: procedure
    debug: false
    test:
    - determine "omg! subscripts in a proc! no way!"
    script:
    - determine "boring normal proc"

test_task:
    type: task
    debug: false
    script:
    - narrate <proc[test_proc]>
    - narrate <proc[test_proc.test]>
hallow scaffold
wild cosmos
mossy egret
#

i had a gigantic proc script with like 20 subscripts it was not good design

grim quail
#

I think subscripts can go on most script containers.

#

Monkey posted something about keys regarding subscripts recently.

sinful spindle
#

To krilliant, who said he was wrong lol

low radish
#

^

grim quail
#

I'm gonna miss custom enchantments because I could specify what they can be enchanted onto and what they're compatible with, and if I use a datapack I'm gonna have to tell denizen how to do that in almost every instance it wants to apply enchantments.

#

Oh wait, datapacks can also tell enchantments some of the keys that denizen has. So I can do it, but if I wanna match a hyper specific denizen item that's gonna be worth a thread.

foggy ember
#

But there could be specific edge cases of things Denizen allowed that'd be annoying in data packs yeah

grim quail
#

I don't think any of my custom enchants targeted specific denizen stuff, thankfully.

foggy ember
#

I don't know if something like this would be possible on a technical level in the enchantment itself with how Mojang made it

#

But you can always just cancel an event

grim quail
#

Sure can, if I really really need to intercept enchantments. I already do a lot of intercepting and custom item nonsense to begin with.

#

Enchantment json supports tags, so I guess in theory? Worth a thread if I need to.

grim quail
#

That was kind of easy.

spiral yew
#

denizens equipment map uses helmet, chestplate, leggins, and boots. MC's components are internally head chest legs and feet. That was a confusing trying to figure that out for a bit there lol

grim quail
#

There was a change for slots using feet instead of boots

#

For attribute modifiers.

#

So that was fun.

spiral yew
#

When will denizen add Hytale support??

#

(sarcasm)

#

(unless?)

humble flower
#

when will hytale add hytale support (launcher keeps crashing)

spiral yew
#

I just bought it

#

installing pretty fast

#

70mb/s

humble flower
#

you're not getting stuck at the "downloading patch" part?

#

lucky

spiral yew
#

no its validating patch

#

and its done

humble flower
#

are you in usa or europe by any chance

spiral yew
#

USA

#

well

#

canada

#

but same thing for all intents and purposes

humble flower
#

yea

#

they seem to be prioritizing na/eu downloads

spiral yew
humble flower
#

and throttling others

spiral yew
#

lets go to actives only

humble flower
#

im not an active yet bro 😭

spiral yew
#

Wait really? I thought I see you here all the time lol

humble flower
#

yea im like halfway through lvl 9

spiral yew
#

:<

#

chatter than

fleet kernel
#

past present future krillaints

halcyon jungle
#

The ghost of Krilliant past

#

So where's the other two?

hallow scaffold
#

Its just me or Jenkins source is slow at the moment

humble flower
# fleet kernel

and there were more, but i wasnt denizzlin so i didnt join here with them

#

xDDDD

spiral yew
#

I swear this shit is my sleep paralysis demon

#

Not looking for help just to vent lmao

#

vehicle.boat_type is deprecated and warns you to switch to vehicle.color, which then throws an error ONLY IF YOU CHECK IF .color is truthy, and says it was deprecated for .type.

#

why not just have player.is_in_boat 🙁

mossy tide
#

Dude same I was fighting with item components last night trying to modify a tool component and literally tried for an hour or two until I realized it required a rules component which was formatted crazily

spiral yew
#

Also - if <true> and !<false>: should be a pass and yet the if block still doesnt run

#

leading me to lose my mind

#

Again, not seeking assistance just venting because I'm obviously doing something stupid but I'm going to brute force it until it works.

mossy tide
#

That's the way to do jt

spiral yew
#

it was literally an extra colon

#

- if <player.is_inside_vehicle> && !<player.vehicle.type.contains[boat]>::

#

That was why it wouldn't work

#

lmfao

spiral yew
#

Oh and .sitting and .is_sitting both existing and not being context aware drove me into a rage lol

#

And instead of .sitting returning false on entities that can't sit it just throws an error xD

humble flower
spiral yew
#

D:

humble flower
#

the moar u kno ⭐ 🌈

spiral yew
#

Ive been using is_truthy

#

instead of if_null[null]

#

wait

humble flower
#

i mix em

spiral yew
#

wouldn't if_null[null] just always be true

humble flower
#

but generally truthy is more handful

humble flower
#

if it doesnt error it does nothing

spiral yew
#

i just assumed if_null[null] was checking if the thing inside the braces was null

#

idk why

humble flower
#

LMFAO

spiral yew
#

to be fair denizens is amazing but is a little jank

#

xD

humble flower
spiral yew
#

what other things would you put inside the []

humble flower
#

c, c++ and c# are kinda jank too

#

lua is super jank

humble flower
spiral yew
#

for FiveM, like 7 years ago ors omething now, I wrote a wrapper around some rockstar natives and they r equired floating points exclusively. So I had to write a lua script to detect floats.

#

I wonder if I can find it

#

I used to work on fivem long long ago

#

in the before times

humble flower
#

its just more useful to have it be null xD

in some scripts, i do .if_null[false]

#

which now that i think of, is a better way of writing the ifnull.istruthy thing

#

same stuff

spiral yew
#

we actually did some unit testing and tried like 5 different ways to see which was fastest

#

Ah

#

makes sense

humble flower
#

i only ever interact with it for cheat engine

#

and oh my god its such a pain

spiral yew
#

haha

#

Back in the day I used to be buddy buddy with Darklord and his circle.

spiral yew
#

haha

humble flower
#

oh its dead, yeah im reviving it

spiral yew
#

lets unify .is_sitting

#

I have a dream

low radish
#

NPC.is_sitting and entity.sitting are two fairly different tags just a roughly similar concept

spiral yew
#

Denizen 2 will have this feature I'll fund it

#

Hytale unified support

low radish
#

Denizen2 doesn't have citizens at all

#

citizens never ported when d2 existed

spiral yew
#

Now we're cooking with gas.

#

Wait is Denizen 2 a thing

humble flower
#

as much of a thing as unicorns and dragons

#

as in yes, but in the distant past

#

long dead and extinct

low radish
#

#d2sponge message

spiral yew
#

That's a completely reasonable reason to cancel that project.

#

Jesus.

graceful laurel
#

hytale port when 😔

spiral yew
#

Have you folks been playing?

#

I havent played since day 1

graceful laurel
#

yeah a fair bit, very fun to mod and mess around lol

#

not very fun to look through the server jar though

#

complete clusterfuck

spiral yew
#

I'm not young enough and it's not as much of a divergence enough for me to want to no life it yet, especially in the middle of a minecraft with the bros session that I'm already doing.

#

Yeah I would love ot make mods for it.

#

But I'm not super fond of the character artstyle.

graceful laurel
#

mods are all server side right now so adding items, blocks, armor, and stuff like that is really easy

humble flower
#

super good for early dev

spiral yew
#

Was very stable for me.

humble flower
graceful laurel
#

you only really ever touch code if you want to do more technical stuff like modifying ui per player or permissions etc

spiral yew
#

6 years ago so I assume not

humble flower
#

someone will definitely do it

#

we just have to give it time

low radish
#

eg for the most part on sponge we ignored the whole idea of properties and just autoimported whatever sponge made available

#

which spigot hasn't been able to do until like, just right the fuck now in the past couple major minecraft versions

#

but the level of rewrite to change to that would not be worthwhile

humble flower
#

oh yeah was about to ask that

low radish
#

(since it was mostly only done that way to reduce development work need on our end)

humble flower
#

thanks monkey peepaw

#

your stories are always interesting

low radish
spiral yew
#

What's being worked on right now in Denizens?

#

Anything interesting?

#

I don't keep up to date with what development ideas are formulating

#

Did that entity display thing ever get incorporated?

#

dmodels i think it was called

fringe hamlet
fringe hamlet
#

I got some 1.21 additions and back-of-sign support, but I don't think there's any "big projects" being worked on atm

mossy tide
#

How are we doing for full item components support?

graceful laurel
mossy tide
#

Ye figured

foggy gorge
#

meanwhile, fun fact,

#

!command give

weary mothBOT
# foggy gorge !command give
Group

item

Syntax

give [<item>|...] (quantity:<#>) (unlimit_stack_size) (to:<inventory>) (slot:<slot>) (allowed_slots:<slot-matcher>) (ignore_leftovers)

Short Description

Gives the player an item or xp.

Description

Gives the linked player items.

Optionally specify a slot to put the items into. If the slot is already filled, the next available slot will be used.
If the inventory is full, the items will be dropped on the ground at the inventory's location.
For player inventories, only the storage contents are valid - to equip armor or an offhand item, use !command equip.

Specifying "unlimit_stack_size" will allow an item to stack up to 64. This is useful for stacking items
with a max stack size that...

foggy gorge
#

well i can't find the changelog/news/where-ever it was but uh

#

(unlimit_stack_size) isn't required with components_patch lasagna

#

you can just specify 1-99 now

#

i mean, in components_patch.max_stack_size

#

components_patch.pot_decorations can implement new textures implemented from resource packs, so you can implement your own fancy pot decorations

grim quail
#

Behr really out here hoping to make a B pot decoration.

foggy gorge
#

i need a lasagna pot decoration

#

components_patch.glider set to <map> / null lets you make items that you put in your chest piece act like an elytra

#

not equipable? fine, components_patch.equippable.slot set to chest

#
components_patch:
  tool:
    rules: <list>
    can_destroy_blocks_in_creative: byte:0

prevents the item from breaking things in creative, like swords do

humble flower
#

when was that set as a limit

foggy gorge
#

iunno lol

humble flower
#

i remember back in the days it was 127 iirc

#

or 255

#

reddit post 11 years ago confirming it was indeed 255

foggy gorge
#

You can also make items fully edible now 😂

#

Changing their eat speed, the hunger and saturation levels they heal, whether or not you can eat it when full like potions do, and the sound it makes when you nom

#

Oh and the animation

grim quail
#

Oh to eat the lasagna sword...

foggy gorge
grim quail
#

Weird seeing dungeon soup mentioned outside my friend discord.

mossy tide
#

Haha I just watched through that again last night

foggy gorge
#

!haste

weary mothBOT
foggy gorge
#

i present, the most rediculous item i could slap together

#

it's a stick that:

  • looks like a diamond sword
  • stacks up to 99
  • if you add a tintable textured resource pack for swords, makes this greeen
  • can make you glide when holding it (lmfao thats hilarious)
  • doesn't break blocks in creative
  • hits multiple entities at once but is obnoxious to do so
  • stabs instead of whacks
  • can be eaten
    • when eaten, gives you diamondz
#

that glide thing is really funny to me - that could open a whole new world for people who want to wear their stuff and sometimes glide

#

oooooo, custom fireworks that let you glide instead

#

brilliant

foggy gorge
grim quail
#

I had the funni idea of making a bread sword, and each time you eat it the texture changes.

foggy gorge
#

i had a great idea, but

#
nice_fireworks_bro:
  type: item
  material: firework_rocket
  display name: Super Fireworkz
  mechanisms:
    components_patch:
      # item_model: string:d:super_firework
      fireworks:
        flight_duration: int:127
      use_remainder:
        count: int:32
        id: string:minecraft:gunpowder
      use_cooldown:
        cooldown_group: string:wee:woo
        seconds: float:10
      equippable:
        slot: string:mainhand
      glider: <map>```

can't make it both offhand and mainhand 😅

#

was going to give it a recipe that required a stack of gunpowder (and gave you 32 when you used it); but i forgot recipes don't like quantities

#

restricted by the technology of my time /s

#

oooh boy-so

#

i was looking at components_patch.recipes and thought "eh, why would i do that when i have denizzle to do that bit - im not gonna strugglebus minecraft's recipe structure"

#

it's actually a component that makes the user learn something, like from the item knowledge_book

#

that would be a cool way to implement Denizen items' craftability; selling them at a shop, or from an NPC, or from a trade menu

#

"Hungry for something spicier than uncooked potatoes, rotten_flesh, and cooked_chicken? buy our custom food recipes to learn how to make the FANCY foods!" starring gyros, lasagna, and tacoooos

#

ie, on use:

#

!mechanism playertag.learn

weary mothBOT
#
Possible Confusion

Did you mean to search for playertag.level?

foggy gorge
#

oh no i had forgotten

#

!mechanism playertag.discover_recipe

weary mothBOT
analog solar
#

@sinful spindle

What do I need to do to be able to write in the chat and discuss my pr

#

or can I write about this directly here?

sinful spindle
#

Get a role added by mcmonkey. You should probably make a thread in this channel for it if you haven't already

analog solar
mossy tide
#

look at what stupidity I found in the script for my crop system I made like a year ago

graceful laurel
#

lol

wild cosmos
foggy gorge
#

obviously would be both too chaotic to ping the masses and to maintain such a role, but was thinking of what a role for "pingable denizzles" would look like

#

terrible idea aside, i want to make moar GUI driven stuff

#

is there anyone that would be interested in making a new blackjack script lasagna

grim quail
#

Pingizzles

#

Deningales

#

Pingizens

#

Make the role icon the minecraft beacon.

foggy gorge
foggy gorge
#

@humble flower how is your showcase different than a combination of the uh

#

!tag points_around_

weary mothBOT
# foggy gorge !tag points_around_
Cannot Specify Searched Tag

Multiple possible tags: <LocationTag.points_around_x[radius=<#.#>;points=<#>]>, <LocationTag.points_around_y[radius=<#.#>;points=<#>]>, <LocationTag.points_around_z[radius=<#.#>;points=<#>]>.

foggy gorge
#

those'ns?

humble flower
#

cus i never figured out how to use those to form a full sphere xD

foggy gorge
#

oh heck

humble flower
#

because

#

if you mean just rotating it 180 degrees

#

it doesnt look the same

#

since the lattice makes the points aaaalllllmoooooost equidistant

foggy gorge
#

(was just curious btw not hazing you lol)

humble flower
#

points_around would be denser in the poles

foggy gorge
#

poles thonk

humble flower
humble flower
#

those them poles

low radish
foggy gorge
#

if i spent time learning jarva more i'd want to fix the broken things for us to have an official release before the 1.26 shiet comes along kek

shrewd estuary
#

Do you guys have a preferred site for Java instruction? I’m ready to start learning it.

graceful laurel
#

learning by doing is a lot more fun and effective imo

#

you could go the route of opening a denizen pr or making a plugin on your own. if you want to pr to denizen first. I’d recommend having a look through the denizen threads and filtering by the easy pr tag. discuss within the post about how you might go about its implementation, open the pr, receive feedback, apply feedback, and then boom profit :)

mossy tide
humble flower
#

shit, thats kind of encouraging. i might give contributing to denizen a try

foggy gorge
#

everyone stepping up to contribute to the great denizzle cause

cloud sigil
#

for most of them cursed solutions exist, but a built-in denizen command or tag would just make way more sense

hallow scaffold
foggy gorge
humble flower
#

how to make pretty particles

mossy tide
#

Insane idea, make a 3d model using block bench and spawn the projectile with an Item, bonus points if on the model you use a animated texture

spiral yew
#

Denizen can spawn a bajillion boats per tick and still not lower tps lol, no clue why you'd use this but good to know.

#
    debug: false
    type: world
    events:
        on tick:
            - repeat 1000:
                - create acacia_boat test <server.online_players.first.location> save:test
                - remove <entry[test].created_npc>```

This reduces my server to only 12 tps
#

only

#

1000 npcs created and murdered per second

foggy ember
#

That's not per second, that's per tick

spiral yew
#

Oh, damn. That's even worse.

#

so 20000

foggy ember
#

Which is 20,000 NPCs a second

spiral yew
#

If anyone runs into performance issues with denizen they doing something crazy

#

Are there any known performance chokepoints with Denizen?

#

Not that it matters in my use case

foggy ember
#

That's more Citizens than Denizen though at that point

spiral yew
#

Ah, true true.

#

so 10000 per second (500 per tick) seems to run at 20tps

#

So the answer lies somewhere between 10000-20000 on a 7800x3D

#

running the game on the same machine

#

and listening to youtube, discord, and 10 tabs open

#

Reminds me of when I had my Dell XPS windows xp machine back in like 2007 with the cupholder.exe on my desktop popping open the CD tray

hallow scaffold
#

next you want to create a normal npc, you created id 102012930230 😄

spiral yew
#

omg lmao

#

true

#

I never use NPC id's luckily manually

#

I only use /sel when looking at them T_T

foggy ember
#

Not an official recommendation in any way, but assuming you haven't created any actual NPCs since, I believe you could just lower the last id in the save file?

#

At your own risk™ though

spiral yew
#

never

#

i need to pump those numbers up

#

I am appaled at the different formatting in both of these messages

hallow scaffold
sinful spindle
#

I wonder what data type stores the ids

humble flower
#

text file

sinful spindle
#

That's....

unkempt torrent
#

it's in saves.yml

sinful spindle
#

I don't know if you're trolling me or that was more ambiguous than i thought

#

Once it is read from the text file, it needs to be stored in some java number data type

#

I said that because it could theoretically overflow

unkempt torrent
#

oh that was the question lmao

spiral yew
#

I know what my goal is later on

unkempt torrent
#

looks like it's normal integer

spiral yew
#

I'll be sure to submit a very rudely written bug report "why can't I summon several billion NPCs to heat up my office"

sinful spindle
#

If i put intmax-1 into the next id slot in saves and made 2 npcs, would my server then crash on start?

spiral yew
#

!tias

weary mothBOT
# spiral yew !tias
Info: tias

Try it and see!

If somebody pulled this up for you, you're probably asking a question of the public channel that's easier and faster to figure out by just attempting your idea in-game and looking at the result of that attempt.

spiral yew
sinful spindle
#

Too bad i'm

#

!nothone

#

.>

spiral yew
#

Haha

sinful spindle
#

Evidenced by my mobile typing

#

!nothome

weary mothBOT
# sinful spindle !nothome
Info: nothome

We sometimes see users opening support threads or replying to them while not able to test things.

This is often revealed in messages like "I'm not home right now and wanted to ask", or "I can't access my server but I think I remember the details", ...

This often leads to one of two problems:
• The user asks questions they could have answered themself if they were at their server. This is a problem because it wastes the limited resource of our expert helper team on simple questions that would never have been asked if it were not for the fact that the user wasn't near their server.
• A helper enters the thread to actively assist but is unable to provide any help because the user is unable to actually act on any responses. Many threads start with requests for basic followup information such as server logs or other demonstrative data from the server, that of course they can only provide when they have access to that data.

In both cases, helper time is wasted and the user don't actually get to act on any responses faster than they would have been able to had they simply waited til they were able to access their server before asking for help.

sinful spindle
#

Currently eating sushi lol

spiral yew
#

If it's from the sea it can stay there

#

I hate seafood T_T

unkempt torrent
#

why is my minecraft folder 10gigs

spiral yew
#

2.147 billion npcs

foggy ember
#

Lots of screenshots

unkempt torrent
#

maybe because minecraft 1.1

#

aya once said playing it will break something

spiral yew
#

Can't wait for Minecraft 6.7

unkempt torrent
#

@sinful spindle it throws a boring error

foggy ember
#

Yeah playing vastly different versions on the same instance can be funky at times, idk if that's a reasonable side effect though o.O

#

But that's why I use Prism

grim quail
#

Dumped multimc when I switched to linux.

#

Prism my beloved.

foggy ember
#

They just added in-app skin switching as well, now it's perfect imo

unkempt torrent
#

why an extra client if you can use SkinRestorer, Denizen and behr's Skin Command

foggy ember
#

I play on more than just my servers lol

unkempt torrent
#

whaaat, you play this game?

foggy ember
#

Ofc, haven't you been to the weekly annual Denizen VCs?

unkempt torrent
#

no, the last denizen vc was a year ago

#

it's been a while

foggy ember
#

Once my brain is too dead to do code I usually stream MC

#

It was 2 days ago :(

unkempt torrent
#

oh I was sick

#

couldn't attend it sorry :(

#

im still am kinda

foggy ember
#

Maybe I'll stream again tonight, wrap up the components stuff now that the decision making part is done

#

Oh

unkempt torrent
#

went from 3 weeks holiday into 3 days work into another 1 1/2 weeks of sickness

foggy ember
#

That emoji is so mentally associated with Behr in my mind, I keep forgetting other people use it as well lol

sinful spindle
#

Lol i bet the strong majority of the helpers haven't actually played minecraft in years

low radish
#

what the hell is a mince raft

grim quail
#

I can't tell if that's sarcastic or not.

spiral yew
#

Anyone familiar with the vscode plugin? Sometimes the pretty colors stop working. No amount of fixing and writing good code seems to fix rendering the colors.

mossy egret
#

For me color issues are usually fixed by closing and reopening the file

humble flower
#

just switching the current tab fixes it, no need to close

#

i always have at least 2 scripts open in a vscode window at a time, so when colors break, i just use the switch tab keybind and gg

mossy egret
#

Smart

spiral yew
#

Is there a reason why the colors are breaking?

#

if you try to follow along with it you will quickly get lead into a weird spot of it just misunderstanding denizen scripting

low radish
#

github copilot will make a mess there yeah

#

you can either turn it off or configure it to exclude .dsc

spiral yew
#

It just confuses me when I'm using it because it gives so many wrong suggestions haha

#

so I am like fighting against it and my own bad ideas at the same time

low radish
#

i don't see broken colors in there

spiral yew
#

No, it's working fine right now.

#

Next time it breaks I'll screenshot it.

#

It's usually when I go back to a file and add a new line.

low radish
#

when you do, make a thread for it

spiral yew
#

The new lines are in correct syntax but don't get colored right

#

Sure thing!

#

This happened after I hooked up my github account to vscode like an hour ago by the way the copilot stuff

#

I pushed my plugin folder to my actual account

#

and then this started happening

#

there we go

mossy tide
#

Wonder if I can train my copilot on my denizen code so it's not rock stupid sometimes

spiral yew
#

I think you would have to train the model itself no amount of feeding it code will make it understand it intrinsically

#

you would need to do some data annotation

#

feeding it code, as in, just sending it through the llm and trying to expand the context to make it understand.

spiral yew
#

Where are all these categories readable from?

#minecraft:swords
#minecraft:enchantable

for datapacks?

#

I was wondering if I could find a list somewhere of all of them and their contents lol

#
Minecraft Wiki

An item tag is a group of items. They are used when a recipe allows multiple different items as inputs and control many other gameplay features. See below for the use of each item tag. They can also be used when testing for item arguments in commands with #<resource location>, which succeeds if the item matches any of the items specified in the ...

#

Looks like it might be this page.

storm shore
#

!post

#

!makeapost

weary mothBOT
# storm shore !makeapost
Info: makeapost

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

mossy tide
#

Hey I had a basic question, when we fully convert to the new formatting and mech support for item components, we'll need to convert our items to new ones to properly stack and be read by Denizen right

I'm meaning like currently we use the components_patch mech and soon there will instead be directly a mech for like max_stack. We'll need to convert using a script to respawn the items

#

Oh it won't be exactly necessary because the original items will still have the denizen script NBT tag applied, so they'll still be read as that item, but it'll just not stack properly

#

Ignore me I guess?

humble flower
mossy tide
#

I wonder if I should hold off on making a full item system until after we get Aya's update

#

I was gunna go crazy making custom stack sizes for ingots and a bunch of micro crafting materials

humble flower
#

currently doing everything else that doesnt involve what aya's update would cover

foggy ember
#

components_patch isn't going to break or anything, we're just going to add a nicer way to do it

#

If you still wanted to use it after the nicer version is added for some reason, you could technically

mossy tide
#

Oh neat, is it going to be depreciated eventually?

mossy egret
#

Probably not right? It would still be useful for some people who want lower-level control over stuff

foggy ember
mossy tide
#

nice

#

glad to hear that since I can read the component patch stuff like item model and reapply the item model to a new item

sinful spindle
#

you could do that trivially with a dedicated tag too lol

humble flower
#

ive got a simple question thats just curiosity

#

why is ⁨list.parse⁩ ever so slightly faster than ⁨list.parse_tag⁩?

#

is it just less code since it doesnt have to take into consideration the ⁨<[parse_value]>⁩?

wild cosmos
#

shouldnt it be other way around?

humble flower
#

it aint tho

#

.parse⁩ is ~10% faster than ⁨.parse_tag⁩ according to my measurements

wild cosmos
#

also wtf is that example

#

overcomplicated ListTag.get

humble flower
#

LMFAO youre right

low radish
#

examples are written to be minimal complete "here's a one liner you can ⁨/ex⁩ and see the syntax of the tag" not meant to be useful

low radish
#

parse⁩ does some string parsing wonk, whereas ⁨parse_tag⁩ just hits up the normal core engine, so it depends how much string ya gotta parse and whether the core engine is smart about the tag you gave or not

#

(some tags are static, some are well-compiled, some are dirty-compiled)

#

oh also depends on the size of the list probably

humble flower
rigid idolBOT
humble flower
#

ayy thats a nice levelup message

#

now as for "on what subtags", i have no clue which ones would or wouldnt impact that so we'll live without knowing xD

humble flower
mossy tide
#

What kind of things are you needing a list that big?

humble flower
#

never

#

just tested it cus monkey said so

#

so technically yes just takes an unreasonably huge list for parse_tag to win

spiral yew
#

Idk who needs to hear this but you can stop minecraft from pausing when you tab out by pressing F3+P

humble flower
#

i'm going back in time to slap 2022 me

#

what do you MEAN "imagine it" bro

grim quail
#

Ironic.

#

Since you can just pull corners via a cuboidtag.

#

Which might have existed then?

#

#changelog message 2021.

#

¯_(ツ)_/¯

humble flower
#

i'll find out tomorrow though

humble flower
# mossy tide What kind of things are you needing a list that big?

⁨```yaml

  • define points <proc[fibonacci_lattice_2d].context[<[config.arrow_quantity]>]>
  • define points <[points].parse[rotate_around_x[<[reflection].yaw.add[<[increment.yaw]>].to_radians>].rotate_around_y[<[reflection].pitch.add[<[increment.pitch]>].to_radians>].mul[<[config.portal.diameter]>].add[<[reflection]>].with_world[<[reflection].world>].with_yaw[<[reflection].yaw>].with_pitch[<[reflection].pitch>]]>
i was doing this. which was why i was worried on parse's speed lmao
#

that's gotta be one of my biggest monster tags

grim quail
#

That's almost #1098024603756015726

mossy tide
#

Oh man I wish I had one of my largest tags still, but I got kicked from the dev server I was on :(

low radish
spiral yew
#

True but this lets you just alt tab without having the chat take up some of your screen as well.

#

Not a huge deal either way, but I was often using ESC to alt tab lol (and alt tabbing also opened up the ESC menu)

#

or click off rather

foggy ember
dawn flower
#

Windowned fullscreen >>>

#

I despise fullscreen

halcyon jungle
#

I'm glad that borderless windowed is becoming the norm in games to replace fullscreen

graceful laurel
#

me when i have to get flashed with a black screen for 3 seconds while i switch out of fullscreen mode

spiral yew
#

I will say that borderless fullscreen never does seem to run as good as fullscreen (I have two high refresh rate monitors)

#

Windows supposedly fixed the issue years ago, but they reintroduced it at some point. An issue I will add that has been solved on Linux for like 20 years.

humble flower
#

we need a windows-like linux asap

#

i want to switch but i dont want to lose familiarity

unkempt torrent
sinful spindle
#

I feel like if you're willing to accept the tradeoffs of linux, you'd find learning a popular distro a valueable skill

grim quail
#

People don't recognize the fact that I'm on linux at first.

foggy ember
wild cosmos
unkempt torrent
low radish
#

window full screen is fine, because it is literally just a window covering the screen, no nonsense

#

regular window is best though

#

the times people see to not like windows are usually either (1) on a tiny shitty laptop or (2) on a tiny shitty desktop monitor

#

which. like. it's 2042 guys, a 4k high refresh rate monitor is like two nickles and a smile on amazon

#

i've got 3 4k monitors (Center, leftside, rightside) and it is not an expensive setup

#

if you're on a computer all day you oughtta give yourself some screen real estate

foggy gorge
#

screen real estate lol

#

i do agree, it is comforting

spiral yew
#

I'm on a 7900XTX, 7800x3D, 64GB DDR5 and two DELL 1440p 160hz refresh rate monitors over modern display port cables.

#

27 inches

#

But like I said, Windows did at one point fix the variable refresh rate issue and then reintroduced it.

spiral yew
#

finally got that thing working

spiral yew
#

Any advice for working on the wiki?

#

Or where to begin?

#

A lot of the generated examples are in rough shape lol.

#

A lot of them that can't use player for instance are using player T_T

low radish
# spiral yew Or where to begin?

defined in Denizen source, you can submit PRs to add decent examples. Every meta entry has a link to where in source it's defined. Find some good (non-generated) example entries and use them as a format reference

spiral yew
#

Alrighty, I'm reading the wiki now.

#

the one that says contributing

spiral yew
#

Should each example be its own commit or should I do a bunch at once and then make the commit

spiral yew
#

Also, I noticed speed and glowing don't show up in the auto-complete for the adjust command. I will look into fixing that as well.

#

(Both work on player, I tested them, in spite of them not auto-completing)

fringe hamlet
spiral yew
#

No I just mean if I'm editing ab unch of examples would I make each one its own commit before pushing

#

But I have determined that to be the best approach

#

in-case any are rejected.

fringe hamlet
#

They're easily fixable and don't need separate commits

#

If you're doing one example per pull request, that would be a lot

#

I'd generally say that for adding examples, try to stick to one file per pull request

#

If anything needs to be changed, you can make a separate commit with any changes

spiral yew
#

So this is a bad idea

#

lol

#

I didn't push anything of course, yet.

#

And it's all in the same file so far.

low radish
fringe hamlet
#

...bad isn't the right word, I'd use unnecessary

spiral yew
#

I am using github desktop as well

#

That's what I used to pull the repository

#

Fair enough, I'll stop that.

fringe hamlet
#

I had one large commit with all my initial changes, and a couple small one after for any fixes or things I forgot

spiral yew
#

Alright, cool. I know this defeats the purpose of trying to do this on my own and help out the project, but how would I stop EntityTag.type from outputting a deprecation error when used on an NPCTag?

#

You I believe had mentioned it was due to ObjectTag.type matching it and throwing an error because NPCTag.type isn't registered.

#

deprecation error*

#

I feel like including a line in the description that says "For NPC's use another tag <tag here instead>" is probably bad manners or something along those lines not sure how to describe it. Instead of just fixing it.

#

It does properly return NPC though, so that's what's strange about it haha.

fringe hamlet
spiral yew
#

Alrighty

#

I'll do that after I finish up what I'm doing now, don't want to sidetrack too much lol

#

I'm mainly just tackling things I ran into in the past week with some examples.

spiral yew
#

What's everyone working on this week?

wild cosmos
#

valentine gift for my gf 😭

spiral yew
#

Nice!

wild cosmos
#

what about you?

spiral yew
#

I made this pretty picture 5 seconds ago.

#

It's so bad it's good.

#

I submitted a few pull requests to the github just for some documentation stuff. I don't know enough Java to contribute features at the moment.

Other than that I finished my Time Cycling plugin for my players to stop asking me to make it daytime.

#

They can jsut right click a bell now and it will make it daytime.

#

Oh and I added another enchantment to my server. Stomp I - II.

Lets you use fall damage and flying into walls to launch other players around and deal a bit of damage to them. It's actually super fun to use haha.

wild cosmos
#

TIL timetags are flaggable

storm shore
#

Hey guys, is there a way to keep posts visible on my client side? Basically I would like to be able to see all the posts I started and that are not closed yet, but even by subscribing them they disapear :(

wild cosmos
#

search by your name

#

easiest way probably

spiral yew
#

That's what I do

storm shore
#

Yes, that's what I do but a bit annoying... Sad that discord did not manage to improve this feature

grim quail
wild cosmos
grim quail
#

!o flaggableobject

#

So it is.

#

!object flaggableobject

weary mothBOT
# grim quail !object flaggableobject

"FlaggableObject" is a pseudo-ObjectType that represents any type of object that can hold flags,
for use with !command flag or any other flag related tags and mechanisms.

Just because an ObjectType implements FlaggableObject, does not mean a specific instance of that object type is flaggable.
For example, LocationTag implements FlaggableObject, but a LocationTag-Vector (a location without a world) cannot hold a flag.

Prefix

none

Base Type

None

Format

N/A

grim quail
#

There we go.

#

Yeah that's ...

#

I'm not sure what a valid use case would be for that.

wild cosmos
low radish
#

you might flag a timetag for like... maybe some form of daily stat counter, flag <[today]> players_joined:++, idk

spiral yew
#

can you increment flags like that? 😮

fringe hamlet
#

!l data actions

weary mothBOT
# fringe hamlet !l data actions

Several commands function as a way to modify data values,
including !command flag, !command yaml, and !command define.
These commands each allow for a set of generic data change operations.

These operations can be used with a syntax like "<key>:<action>:<value>"
For example "mykey:+:5" will add 5 to the value at 'mykey'.

The following actions are available:

Actions that take no input value:
Increment: '++': raises the value numerically up by 1. Example: - define x:++
Decrement: '--': lowers the value numerically down by 1. Example: - define x:--
Remove: '!': removes the value entirely. Example: - define x:!

Actions that take an input value:
Add: '+': adds the input value to the value at the key. Example: - define x:+:5
Subtract: '-': subtracts the input value from ...

Group

Useful Lists

spiral yew
#

Anyone here familiar with tethers/leads in MC? I was wondering if there was a way to make them unbreakable.

#

Because I know if you run to far ahead of mobs, they just snap.

#

But I was curious if there was something in the code that allowed you to stop that from happening.

fringe hamlet
#

!e entity unleashed

weary mothBOT
# fringe hamlet !e entity unleashed
Group

Entity

Event Lines

<entity> unleashed (because <reason>)

Triggers

when an entity is unleashed.

Has NPC

when the entity being unleashed is an NPC.

Context

<context.entity> returns the EntityTag.
<context.reason> returns an ElementTag of the reason for the unleashing.
Reasons include DISTANCE, HOLDER_GONE, PLAYER_UNLEASH, and UNKNOWN

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

fringe hamlet
#

Not outlined in the meta, but is cancellable only on Paper

spiral yew
#

I could modify it next time I get the chance.

#

To mention the paper thing.

spiral yew
#

On player left clicks air fires when you right click interactables (like doors). That is truly unfortunate.

The event does say it misfires when dropping items but I didn't knowh ow bad it could be lol.

spiral yew
humble flower
#

script errors
turn debug on and try to find out why
suddenly doesnt error
turn debug off again
errors

graceful laurel
#

just keep debug mode on /j

wild cosmos
#

on error:

  • enable debug
stark mauve
#

Hey I haven't been on in a bit. I see that - narrate "<&b>Remote <&8>| <&c>Rift generator recharging... <&6><player.flag[dim_remote_cooldown].expiration.formatted> <&c>remaining." is depreceated. So we want something like <player.flag_expiration[dim_remote_cooldown].formatted> but that isn't returning a value for me. I'm sure I am just missing something simple but still getting my toes wet after 10 years break.

grim quail
stark mauve
foggy gorge
#

!haste

weary mothBOT
foggy gorge
#

there's probably something in there i did way too late at night and should have changed though

#

is discord having trophies a party mode thing

humble flower
humble flower
mossy tide
#

I wonder if I should share my stupid dialogue system too since I put too much work into it and not going to reuse it for my new project

foggy gorge
#

I'll post mine to showcase if you do ;;;)

gritty jay
#

[17:02:44 WARN]: [Denizen] Citizens does not seem to be available! Denizen will have reduced functionality!Get this on startup. Does this mean that I just won't be able to use the NPC functions or are there other functions that are unusable?

gritty jay
#

Okay.

#

Thank you, I just wanted to confirm

humble flower
gritty jay
#

That makes sense, is there any other functions or a list somewhere? lol

#

Actually nvm, I don't know why I am asking. I can just install the Citizens 2 Plugin lol

wild cosmos
gritty jay
#

Oh! Its working now. I was trying to access it the other day and kept getting a host down error

#

Thanks

foggy gorge
#

that one event that listens for when a player checks a wild chest, uh

#

!event loot

weary mothBOT
# foggy gorge !event loot
Group

World

Event Lines

loot generates

Switches

for:<type> to only process the event if a certain inventory type is receiving loot (like 'for:chest').

Triggers

when loot is generated somewhere in the world (like a vanilla chest being opened for the first time).

Has Player

when the linked entity is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.entity> returns an entity that caused loot generation, if any.
<context.inventory> returns the InventoryTag that loot is generating into.
<context.items> returns a ListTag of the items being generated.
<context.loot_table_id> returns an element indicating the minecraft key for the loot-table that was generated.

Determine

"LOOT:<ListTag(ItemTag)>" to change the list of items that will generate as loot.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

foggy gorge
#

well that was half in the wrong chat but i can keep going lol

#

when a player finds a rando chest out and about, a chance to make it a mimic SCgrin

mossy tide
#

I've so wanted to make a mimic trap for dungeons or anything, but I keep forgetting

foggy gorge
fringe hamlet
#

@small kernel give behrror some cursed ideas to make with denizen

small kernelBOT
# fringe hamlet <@1109134469836841091> give behrror some cursed ideas to make with denizen

Here are a few cursed ideas for Behr (or anyone adventurous enough) to try with Denizen:

  • The Cursed Chest: A chest that, when opened, spawns a mob of the player's worst memory (based on some spooky tag logic). The mob follows them until they solve a riddle or find an item. Bonus: it drops the player's dropped items when killed.

  • The Echoing Sign: A sign that, when read, replays the last 5 lines of chat from all players in a distorted voice. If someone writes on it, they get a random line from their own history played back to them.

  • The Gravity Well: A region where gravity pulls players down toward the ground, but if they stay still for 10 seconds, it reverses and flings them into the air. Traps can be added to make it harder to escape.

  • The Time Loop Room: A room where time resets every 60 seconds unless a specific task is completed (like finding an item or solving a puzzle). Players get trapped until they figure it out, and the loop gets harder each time.

  • The Whispering Tree: A tree that whispers secrets about nearby players when interacted with. If a player dies near it, the tree grows a new branch and repeats their last words to anyone who approaches.

Behr would love these ideas—especially if they involve complex tag logic or performance challenges! 😄

mossy tide
#

"worst memory"

fringe hamlet
#

*logs in for the first time*
"please input your worst memory to continue"

#

time loop room sounds like it could be fun

foggy gorge
#

ive almost fully automated the process of inserting NPCs entirely off of prompts with some LLM models; this would be very, very easy to focus on lol

mossy tide
#

Oh god don't remind me, one team I worked on was trying to make all npc dialog be fetched from an LLM in realtime

foggy gorge
#

if i was prompted Please input your biggest fear(s) before i was allowed to enter an area of a map, i would shit myself on the spot

foggy gorge
foggy gorge
fringe hamlet
small kernelBOT
mossy tide
#

Amazing

fringe hamlet
#

insightful

foggy gorge
#

solution: stopn't

mossy tide
#

Truely Unique Ideas

foggy gorge
#

monkai follows all 11 rules in this discord

fringe hamlet
#

monkai has a pattern of this

foggy gorge
#

a pattern of clever support methods

#

just never ask monkai for help if you're on fire
||it will watch you cook||

fringe hamlet
#

"Here's how to extinguish a fire:"

sinful spindle
#

wonder how hard it'd be to have a llm make snide comments on everything you do in-game

foggy gorge
#

that reminds me of the guy who claimed he was forced to watch an ad on youtube instructing him how to perform CPR when people starting pushing back to them adding them forever ago

sinful spindle
#

can't wait for the story of asking gen ai how to perform cpr and getting lied to lol

fringe hamlet
#

@small kernel how do i perform cpr, and hurry

small kernelBOT
# fringe hamlet <@1109134469836841091> how do i perform cpr, and hurry

Oh no! I'm not a medical professional, but if someone is in need of CPR, it's best to call emergency services immediately and follow their instructions. If you're trained in CPR, perform chest compressions at a rate of 100-120 per minute to the depth of about 2 inches. If you're not trained, hands-only CPR by doing chest compressions without breaths is better than nothing.

Stay calm and get help

fringe hamlet
#

close enough

foggy gorge
# sinful spindle wonder how hard it'd be to have a llm make snide comments on everything you do i...
17:42:00: behr_riley joined the server
17:42:05: behr_riley used a custom warp to the mining dimension
17:42:12: behr_riley broke deepslate_diamond_ore
17:42:15: behr_riley crafted a diamond_pickaxe
17:42:30: behr_riley placed a torch
17:43:01: behr_riley was damaged by a creeper
narrator: Wow, a whole minute of productivity before nearly being erased by a walking bush. Truly peak performance.
17:43:02: behr_riley drank a splash_potion_of_healing
17:43:10: behr_riley killed a creeper
17:43:15: behr_riley picked up gunpowder
17:44:00: behr_riley used a home command to return to base
17:44:05: behr_riley opened a chest
17:44:10: behr_riley fell from a high place
narrator: And there it is. Survives a literal explosion just to be defeated by the basic laws of gravity in his own living room.```
sinful spindle
#

behr_riley drank a splash_potion_of_healing
sus

foggy gorge
#

it tried its best

fringe hamlet
#

took you 5 seconds to pick up some gunpowder

foggy gorge
#

his older video got posted once but like

#

goodness gracious i wish i were this capable with denizen lol

grim quail
#

I think I remember this.

spring heart
#

why is the forum down?

unkempt torrent
#

server said bye and some services needs to be restored

#

most things are up again

spring heart
#

alright

spiral yew
#

I pay for YT Premium and hwen I click the embedded videos on discord it makes me watch ads

#

😡

grim quail
#

We hate to see it.

#

I wonder if you link your YT to discord if it'll skip that.

mossy tide
#

No...

#

Maybe you can do some DNS shenanigans like the custom DNS of dns.adguard.com I usually use that on my phone

spring heart
#

when will the forum be up again?

mossy tide
#

Okay ya'll wish me luck, I'm getting started on my first massive system for my new server. I'm making a POI schematic system with an ingame GUI for managing spawning mobs, loot and ect.

grim quail
#

I'd be interested in this, since I plan to do a system similar.

mossy tide
#

Luckily I already have my previous dungeon system I made which was sort of a psuedo POI since I had it spawn all the features with a big ass data script to store the data, but I want to try my hand with making that data script on the fly with file editing a file saved on the server

#

Plus my method for managing the mythic spawners sucked ass since I had to manually make the spawners myself and just disable and enable it based on the dungeon being completed or not

grim quail
#

I've yet to get around to custom spawners and such, I made a whole trigger system but it's still WIP and I think some of the mechanics aren't even done yet.

I know I'm still waiting for #1165695239227445419 to tack onto things too, but actual POI system will be interesting since I don't usually use schematics.

mossy tide
#

Man this would be so much easier if we had dedicated trial spawner support

rigid idolBOT
mossy tide
#

I probably would do it so the trial spawner spawns in a invis mob and replaces it with a mythic mob

grim quail
#

Oh yeah, there isn't a method for changing the entity for the trial spawner event is there?

mossy tide
#

maybe?

grim quail
#

I meant via paper api.

#

I'm not surprised considering spawner spawns entity doesn't let you determine the entity either, so yeah the solution of just replacing the mob would make sense. Until we get mechs for properly changing the entity of the spawners.

mossy tide
#

excited for new denizen

fringe hamlet
mossy tide
#

pain

#

Trial spawners are super cool though and I'm excited for when they actually get supported regardless

fringe hamlet
#

i broke it down here #1327984407251914772 message as to why it may take a little longer than initially thought

mossy tide
#

pain again

#

Oh yeah Mannequins are a thing now, anyone get use out of them yet?

fringe hamlet
#

only thing i know is that spigot made a typo in their #getDescription() method and had to leave a note for it

spiral yew
#

playsound <context.hook.location> sound:entity.fish.swim volume:1 pitch:<util.random.decimal[0.5].to[2.0]>

Good way to vary up some sfx

#

the random pitch helps breakup the monotony.

spiral yew
#

What kind of saves does the Delete section of config.yml refer to?

# This is mostly to clean up saves, but could potentially be abused.
# Set to 'false' if you're worried about security.```
grim quail
#

Probably:

#

!m delete_file

weary mothBOT
#
Possible Confusion

Did you mean to search for command determine?

grim quail
#

!m system.delete_file

weary mothBOT
# grim quail !m system.delete_file

Deletes the given file from the server.
File path starts in the Denizen folder.
Require config file setting "Commands.Delete.Allow file deletion".

Object

system

Input

ElementTag

Tags

<util.has_file[<file>]> Returns true if the specified file exists. The starting path is /plugins/Denizen.

Examples
- adjust system delete_file:data/logs/latest.txt
spiral yew
#

Can you escape the denizen directory?

#

../

#

I guess it just seems strange to enable file deletion and copying files by default in the config

#

To me, at least. being an uninformed noob

#

Hell, if a script even has those lines in them it should throw warnings in the server output.

#

Not that anyone here is likely doing anything weird haha I am just looking at my config and noticed that it was enabled by default and was curious if some core functionality related to flags or whatnot required that.

grim quail
spiral yew
#

Mine were enabled and I don't remember configuring them

#

One sec 😮

#

When I get a chance I'll check

#

yes it is default

#

so is copy

grim quail
#

Despite being in the config on the git, doesn't it auto-generate? I don't know where the code is for making the config, so I don't know if theres like... an array of settings to plop in somewhere.

#

I'm like 90% sure that's not suppose to be default.

spiral yew
#

I would also just assume it should not be default. Might be an oversight. I can't do a fresh denizen install right now though to check.

#

Sorry by the way, not trying to start drama of course I just was curious if flags relied on this functionality.

#

Because I don't remember enabling it, but I very well may have for some reason.

#

It's been a few months since I setup my base-server and have been just updating the jar

#

So I don't remember every change I've made.

#

Something unrelated lead me to go through my config and I noticed it.

#

They are both enabled by default in a fresh install @grim quail

#

(latest)

grim quail
#

Huh, that doesn't sound correct.

foggy gorge
# spiral yew Can you escape the denizen directory?

yes, but this isn't even generated in the configuration file. you have to know how to look it up and enable* it, and even then you have to actually read it because it'll shut your server down otherwise for ignoring the mega-please-dont-do-this-warning

foggy gorge
undone mulch
#

is denizens abandonware? i havent seen a new update and it doesent seem to support new 1.21.11

low radish
#

and an announcement post about 1.21.11 support

#

so idk where you're looking but it's not at any of the places where updates are listed

undone mulch
#

yea i realized this shortly after i messaged

#

its just that stable builds (not dev builds) dont target 1.21.11

#

i initially wasent looking for that

#

and last stable hasent been released for over a year now

low radish
#

pretty much everything is dev build only since minecraft started releasing a wave of breaking core changes that make it really hard to guarantee stability

#

1.21 has been a helluva version

undone mulch
#

oh understood! thank you

mossy tide
#

:3

undone mulch
sinful spindle
#

Pretty sure denizen still holds the title of most updated spigot resource despite dev slowdowns lol

undone mulch
#

Thats actually pretty baddass

mossy tide
#

yay atleast I can create and store data

raven barnBOT
#

+> YAY!!!

mossy tide
#

ah I can unload the file after grabbing some basic data and then reload it if the builder selects it to edit or place

wild cosmos
#

isnt that just overcomplicated flags

mossy tide
#

Yes.

#

:finger_guns:

#

But it also lets us modify the flags easily file side for each POI organized

#

Like I'm going to have a massive overcomplicated GUI for adding new "features" and modifying them in-game with book and quill stupidity, but it's going to be exponentially easier to make a change through an actual text editor if something needs a rebalance or something for example being a mob spawner warmups or loot table.

#

like bruh its gunna be silly

spiral yew
#

I'm working on adding DenizenScript support to Zed.

#

I've been struggling to wrap my head around tree sitter for a week or so now but I've finally started to make progress. Mainly just trying to create general rules and not focusing on edge cases for the time being.

I need to look at the YAML implementation a bit more to get some better ideas but I'm using the python scanner because it's significantly easier to use and modify and understand.

#

Zed is like vscode but not bloated to high hell if anyone is curious.

#

Specifically didn't want copilot and shit looking at everything, sick of turning it off for each project, didn't want to learn the settings that likely exist to make it never ask again, so I just stopped using vscode.

mossy egret
#

this is so cool

#

i can finally use denizen in neovim /j

graceful laurel
#

ex adjust server text_color:blue

spiral yew
# mossy egret i can finally use denizen in neovim /j

Might look into a neovim extension after I get the parser finished. I wanted to get the rust extension for Zed working first. If you wanted to implement it in neovim just let me know what's missing (maybe next week since most things are missing lol)

mossy tide
#

General Question: For inputting quick like 1 line data for systems would it be more intuitive to use;

A: Chat Input, listens for the player chats event

B: Book Input, listens for player writing into a provided book and quill

#

I can do either way, but I'm curious what would be better/easier to use for quick input like changing a value in a GUI

mossy egret
#

for me chat is more intuitive, but i think the interface should make it very clear that chat is used as an input

mossy tide
#

Oh I guess also Anvil UI would work too

spiral yew
#

Resource pack and a custom UI imho

#

It's easy enough to distribute, and I've come to the conclusion fuck bedrock player support.

mossy tide
#

Fuck bedrock, agreed

grim quail
#

As nice as bedrock sounds, since I can't have my fancy symbols and such on bedrock I refuse to support it.

mossy tide
#

I hate even trying to think about balancing combat since they can literally just spam hit

grim quail
#

Can they?

#

Just force a cooldown then.

mossy tide
#

Progress report of day1 of vacation: I got started on the prefab and feature system, the first feature type I wanted to tackle was Items so we can decorate our POIs with items that players can literally loot and pickup. So here we have items being placed in world, I still need to hook up clicking to pickup the item. I'll also eventually make a command for players to place items in world like this for decorating and showing off our fancy 3d models

#

Alot of today was working on the backend for GUIs, and figuring out how to use YAML files to store data better

mossy tide
#

Day 2 Progress time: Got schematic placement and feature placement working with spawning it in from saved data. It's late so I can't brain to explain the stupidness I had to do today.

#

Most of the fun was figuring out how to properly do stupid math based off saving the Origin point of the schematic and then subtracting it or something from the designated location to then store it on the file to then pull from for spawning or doing other shite later

mossy tide
#

Day 4: I got burnt yesterday :( But I tried to get down to business today and tried setting up rotating the POI by rotating the Origin point's yaw. And uh yeah. I'll probably be opening a thread since I am obviously too dumb to make a proper thing.

hallow scaffold
#

👣

mossy tide
#

Day 5: I hate dealing with Yaw and rotating stuff and trying to beg my code to actually work.

mossy tide
#

Day 6: Everything is working, but confusing to implement! But hey it works, just needs more input sanitization, reloading automatically and other things.

mossy tide
#

It's gunna be super easy to use later on, this whole week has just been me forcing myself to work on it each day

dawn flower
#

it is a staff tool or would it be something players can use?

#

i've had an idea for so long to code a survival build printer where you need to cash in all materials necessary

#

after which you can do something similar to your video

#

never really got around to it tho

mossy tide
#

I'm probably going to make a survival builder with "pre-approved" schematics with special workstations included in for a crafting system or benefits for a town.

However, this tool I'm making is for Staff. It'll make building locations with loot super easy since we're going for a Extraction RPG server. Players come out of metro tunnels and loot structures for supplies and materials to use back at town.

#

Might be cool to have "slots" at town to plop down buildings which have special stations. The idea is to do something like the Escape from Tarkov hideout system where you use materials to improve your facilities, but for the whole town itself so players can collectively pool mats to build useful stuff.

grim quail
#

!rule 4 @plain harbor

weary mothBOT
# grim quail !rule 4 <@397317158524289024>
Rule 4

Don't DM helpers or any random users. https://denizenscript.com/discord_rules#rule4
"DM" refers to Direct Messaging.
We don't give help over DM. Ask in the most relevant public channel (if you're unsure which channel, ask which channel to use in #chatter. Do not ask a plugin support question there.).
DMing other users from this Discord (that you haven't already spoken to) is considered DM spam.

plain harbor
grim quail
#

As for the topic you've asked about..

plain harbor
#

yes

grim quail
#

I don't even know if I have the script on hand.

plain harbor
#

dangg is the website down?

grim quail
#

Forums have been problematic for the past month, the previous server hosting a lot of things died and monkey has been fixing things as we go.

#

Oh cool.

#

I still have it.

plain harbor
#

THANKS A LOT MAN SRY FOR DMING

grim quail
#

You agreed to the rules upon joining the server, just be aware of them more in the future please.

plain harbor
#

got ittt

grim quail
mossy tide
#

man I hate math, I should've paid more attention instead of being on discord in class

spiral root
#

<3

grim quail
#

Garry's Mod server I play on has random sentences constructed that you get to type out for currency, figure I'd try to replicate something similar in denizen.

#

It's not done yet but I got it mostly working.

#

I'm not gonna do sentence construction, I'd rather just have predefined answers and questions.

grim quail
#

Pretty much got this down so far. Can't think of what else to do.

#

I may improve it sometime.

#

I need to double check on the timer checks though.

sinful spindle
#

You write scripts very differently than me lol

#

<server.flag[quiz.start].add[<[expire_time]>].from_now> isn't this just a complicated way of writing <[expire_time]> or does the math somehow differ

#

oh unless the start isn't right now, dumb question

grim quail
#

Admitably the times were set low for testing

mossy tide
#

Big stuff, I got containers working at a good enough state by using a loot table file, also made a secondary version of the container to represent a "looted version"

lunar agate
grim quail
#

Oh the minecraft ones are neat and the most likely to be swiped.

#

Because the quiz is meant to be centered around minecraft and/or custom info of the server.

#

Usually meant to be really easy questions at times.

#

Ex:

  • Whats the max stack of most blocks?
  • Who created minecraft?
  • How many ingots are used to make a sword?
  • How many blocks can a player jump?
  • What mob drops leather?
#

Having runner ups for answering correctly might be an idea too.

#

A multi-quiz would be interesting. Multiple choice questions that players can all participate in, and depending on the end score and how many you got correct, you'll get rewards based on your score.

mossy tide
#

I might take the idea and put question quizzes in scavenging as if you found someone's old junk mail. You activate it with right click, it sends the quiz in local and you say the answer in the local chat.

grim quail
#

The garry's mod server I play on also does math questions at random too, which can be a problem because anyone can just keep a calculator open.

mossy tide
#

I'll probably make the questions relevant to the lore of the server or answers to game mechanics

grim quail
#

That is pretty much what I want.

#

Nothing that can be cheesed.

#

I'll have to change my quiz rewards later, make a weight system so the rewards aren't equal.

grim quail
#

Random is nice but you might not want to leave high tier rewards to equal chance

lunar agate
# grim quail Ex: - Whats the max stack of most blocks? - Who created minecraft? - How many in...

Ooooh I am gonna steal some of these ideas myself, I have been looking for a way to expand in the minecraft direction for the quizzes myself. The crafting questions are nice too, especially for something like "What is the Heart of the Sea used to craft?"

If you do want to try an unscramble too, this is a list of every item/block/mob in the game, minus joke items, education edition items, and such

grim quail
lunar agate
#

You can make a conduit if you surround it with shells, and it automatically attacks mobs in water in a certain radius. I think. I feel like if it was good though, more mob grinders would use it

mossy tide
#

it auto attacks mobs? I always thought it just gave the conduit effect which gives basically aqua affinity, dolphins grace and water breathing

#

huh I guess it does auto attack hostiles

#

Fully-constructed conduits also damage any hostile mobs, like drowned, guardians, and elder guardians, within a range of 8 blocks of the conduit.
oh lmao 8 blocks

lunar agate
mossy tide
#

Oh I guess it doesn't do the dolphin grace

#

Yep that's a mojang feature, "let's add something with a stupid requirement, no ingame explanation and it's not even good, but we won't be changing it ever."

#

Oooh the sounds for it attacking is kinda cool. block.conduit.attack.target

#

damn no embed

lunar agate
#

All the sounds are pretty good, tbh. I may steal some of them for other things in game

mossy tide
#

Yeah same, I might use it for some cursed fleshy monster

unkempt torrent
#

how wonked are debugblocks at the moment?

#

oh very wonk

sinful spindle
#

On a scale from 1 to wonkest, they're a solid wonk

unkempt torrent
#

time to make your own debugblocks

#

item/block and text displays are now handy for this

unkempt torrent
#

perfect

grim quail
#

Oh right I forgot I wanted to make loot beacons with shaded glass

unkempt torrent
#

oh uh

#

block displays were added in 1.20 right

#

and denizen still supports 1.17 right

grim quail
unkempt torrent
#

it's time to drop < 1.20 support for some of my scripts heh

#

also thing i noticed, find_blocks_flagged centers by default, chunk.blocks_flagged does not

grim quail
#

I was still on 1.20.4

#

Eventually I moved to 1.21.11.

#

I was mostly afraid of the resource pack changes.

#

Someone here helped me migrate.

mossy tide
#

I tried helping a server recently that was trying to relaunch, but it was still on 1.20.1 , I wanted to include my fancy systems but they relied off item displays and item components

unkempt torrent
#

I still have to change some stuff I think

grim quail
#

Yesno.

#

#1461840622037237823 message Behr helped me out from migrating to make custom models.

#

So pick this apart.

#

I forgot to resolve it lol.

#

Also the old scripts aren't there, womp womp.

mossy tide
#

I eventually converted all my stuff over to the component system with item model, took forever to do

grim quail
#

I gotta do some of that.

#

I started the process.

mossy tide
#

The most irritating part is just setting up each of the items JSONs.

#

I wish blockbench had a setting or export tool to auto generate the item json alongside the model file

grim quail
#

I gotta look at custom advancements too. I'm curious how those work.

grim quail
#

Oh right, I forgot the glow command doesn't accept colors of any kind. You gotta do teams for that which sucks.

#

We're almost there. The beam needs to spin, and the color needs to change. Them being in teams isn't changing the color which may be worth a thread if I can't figure it out.

unkempt torrent
#

!m entity.glowing

weary mothBOT
unkempt torrent
#

!m entity.glow_color

weary mothBOT
# unkempt torrent !m entity.glow_color

(Property) A display entity's glow color override, if any.
For the mechanism: provide no input to remove the override.

Group

Properties

Object

EntityTag

Input

ColorTag

Tags

<EntityTag.glow_color> (Property) A display entity's glow color override, if any. For the mechanis...

grim quail
#

Oh damn.

#

Here I was using the glow command lmao.

#

That did it.

unkempt torrent
#

yay

raven barnBOT
#

+> YAY!!!

grim quail
#

I realize that this is going to suck to rotate because the center of the display isn't truly in the center, it's on the corner.

unkempt torrent
#

quaternions ✨

grim quail
#

Yeahhhh. Something I'm not overly familiar with.

grim quail
#

Interesting.

#

I may look at that sometime.

#

I don't know if it'll work on block displays because of the corner being the center, but I'd like to give that a try.

mossy tide
#

Can't use an item display?

#

It's kind of funny when you use an item display in place of a block display it's almost exactly the same

#

Actually what do block displays even do?

grim quail
#

That's an interesting point.

#

Is the item display the 3d model block?

#

I guess it doesn't have to be 3d, just looking like a beam.

mossy tide
#

Yeah item displays are the full model of whatever it is, apparently it can also render the variations for like what hand it's in or if it's on the ground. Learned that today while reading on the wiki

#

But more importantly item displays are automatically centered around their location point

#

So for your beam you can do like a white concrete, scale or down in width and length then increase the height by a ton and it's already centered

unkempt torrent
unkempt torrent
#

kinda*

#

why is working with quaternions is always a mess, like rotating them on the Z axis works fine, but Y X dont SCcatVIBINGcry

unkempt torrent
#

oh my lord i've got it

grim quail
#

Did you?

unkempt torrent
#

yes ✨

mossy tide
unkempt torrent
#

dropping it feels nice

#

it becomes annoying when there is a rare drop and my inventory is full though

#

so maybe make sure only the player who right clicked can pick these items up?

mossy tide
#

Hmm maybe, I might also try to spit it out onto the ground in front of the container too instead of on top where it could bug out from blocks ontop

spiral root
#

<3

grim quail
#

And that's why we always check the debug when running scripts when something goes wrong.

#

Was going to make a post about advancemnts not being read from a data script, only to find out I was forlooping my data script itself and not the keys, so it was using the map to read from itself and not knowing what to do.

#

[13:06:58 INFO]: +- Queue 'EXCOMMAND_43_VirusFiles' Executing: (line 1) reload ---------+

mossy tide
#

Beginning work on new system :) So far just have the setup process for setting the flags and block locations for the workbench

spring heart
#

when is the forum up again? feels like weeks have passed

mossy tide
#

Okay you asked, I turned the Cyan_Stained_Glass block model in the minecraft directory on my resourcepack into an empty 3d model

This lets me place the block ingame as literally empty air

grim quail
#

Oh we're doing this here okay.

mossy tide
#

@grim quail

#

Denizen ye]

#

oof

grim quail
#

You're telling me users who try to place that down immediately have an invisible block?

mossy tide
#
Cyan_Stained_Glass_Place:
    type: world
    debug: false
    events:
        on player places Cyan_Stained_Glass_Item:
        - spawn cyan_stained_glass_model <context.location.center> save:item_model
        - modifyblock <context.location> cyan_stained_glass
        - flag <context.location> cyan_stained_glass:<entry[item_model].spawned_entity>
        on player breaks cyan_stained_glass location_flagged:cyan_stained_glass:
        - define entity <context.location.flag[cyan_stained_glass]>
        - remove <[entity]>
        - flag <context.location> cyan_stained_glass:!
#

Get a block of nonsense

#

I then made a seperate 3d model of the original stained glass, and then spawn a item display of that glass inplace of the same block

grim quail
mossy tide
grim quail
#

Wait what.

mossy tide
#

Hahah

#

There's the full file

#

I had to make this stupidity because people on the server I was working on got pissy because I removed the block so I could use it for custom blocks

#

So I literally had to recreate cyan stained glass

grim quail
#

I can't say I fully understand this fully. I get placing something invisible, but to make the actual block itself invisible?

#

Wait no.

#

No I see.

#

Haha. Okay.

mossy tide
#

Are you familiar with making normal blocks into 3d blocks in resourcepacks like 3d ladders?

grim quail
#

Not really. But I see the logic you're doing now.

mossy tide
#

I just killed the model for it and MC just goes, "Oh okay sure thing bud"

grim quail
#

That's an interesting work around.

#

I am curious if performance gets killed if you have a lot of these entities in one area, but I doubt that would ever happen.

mossy tide
#

Yeahhh probably eventually, for my project I'll probably just remove this workaround and tell players to get fucked

#

Since it does spawn an entity for the fake block

#

But the end result is, I now have a barrier like block that can:

  1. Emits no light
  2. Translucent
  3. Can be broken with any tool
  4. Doesn't bug out models when you shove one inside
#

Maybe I should #showcase this haha

grim quail
#

Would be curious on that.

#

Might turn my portal module into a whole thing, though I'd rather have the forums back up personally.

mossy tide
#

The insanity has been shared.

hallow scaffold
#

is the newest denizen build paper compatible?

foggy ember
#

I.e. idk maybe tias

#

(and report bugs if you find any ofc)

hallow scaffold
#

hm tested, its not starting "Made for spigot"

grim quail
#

Think I made a post somewhere regarding titles above players head, but probably gonna turn that into a showcase for others to mingle with.

Only quirks that'll come with is I'm requiring to replicate player names because apparently the text display mounting to the player eats the original player name, and I'll probably need to have the tab completion engine as a hard requirement. And the forum is still down for that so uhhhh.

unkempt torrent
#

eating?

grim quail
#

As in, it's not visible. I assume because the text display is... I don't know. Hiding it? Doesn't happen when I don't mount it. Might be worth a thread if it's unintended behavior.

mossy tide
#

text displays have been so annoying to deal with for me

#

They are like hidden by other UI elements or models

grim quail
#

Oh?

mossy tide
#

Lemme see if I can find my insanity I ran into with my alcohol barrels

#

weird ass bull

#

I had found it was fixed by using the Iris mod which is a shaderpack mod

#

So probably a MC bug

grim quail
#

Great.

grim quail
#

Tab completion is pain.

wild cosmos
#

yea

mossy tide
foggy gorge
mossy tide
#

I should post an update to the progress I've got, been a bit since then. I gotta figure out my issue with the component patch stuff first. I thought you could apply two different patches to an item if they were different components, but the second one was overwriting the first one.

hollow lava
#

Is there any timeline for 26.1 ?

sinful spindle
#

Negative 8 days

#

Current denizen is on 26.1.1 afaik

mossy tide
#

I might check that out, but I was using denizen adjusts

hallow scaffold
turbid minnow
#

I need some help

#

With my server

foggy gorge
fringe hamlet
weary mothBOT
# fringe hamlet !makethread
Info: makethread

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

hollow lava
#

Is there any information for 26.1?

fiery drift
#

It stinks yay

#

👍

graceful laurel
dense granite
#

Hi everyone. Can anyone recommend the latest and most stable version of Denizez for 1.21.11 purpur?

fringe hamlet
#

!makethread

weary mothBOT
# fringe hamlet !makethread
Info: makethread

If you have a support question, please make a forum post for it!

"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...

"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!

"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!

"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!

dense granite
fringe hamlet
#

!update denizen

weary mothBOT