#dev-general

1 messages ¡ Page 300 of 1

lost dagger
#

ye

#

but pls

#

join

onyx loom
#

lol.

steel heart
#

this guy

hot hull
#

Anyone wanna join my server, it's way better

lost dagger
#

k

jovial warren
#

👋

lost dagger
#

sure

jovial warren
#

bye

static zealot
#

@frigid badge ban

#

xD

onyx loom
steel heart
#

despicable ip

#

or domain

onyx loom
#

lmao ye

steel heart
#

whatever

onyx loom
#

aternos 🤮

jovial warren
hot hull
#

Hence why you should join mine instead

steel heart
#

lol

hot hull
old wyvern
#

ew

onyx loom
#

why it look like australia

hot hull
#

shhh don't question it

old wyvern
#

xD

steel heart
#

frosty

old wyvern
#

Why is there so much water everywhere

frigid badge
#

You gotta start somewhere.

steel heart
#

you got an actual server?

hot hull
#

wdym by that?

onyx loom
hot hull
#

lol

steel heart
#

do you maintain a running server?

#

or thats just a test one?

old wyvern
#

No he maintains a walking server

hot hull
#

It's a test one

frigid badge
#

lmao

steel heart
#

frick

hot hull
#

I don't have a server myself, I help a friend tho on his (well "help")

#

But it's locked to slovenia so pog

old wyvern
#

VPN?

hot hull
#

That's effort tho

static zealot
steel heart
#

abysmal

unkempt tangle
#

!=*

static zealot
#

I know. its not mine. I just found it. that's why the crying face

unkempt tangle
static zealot
#

1 sec. will give link to sc

steel heart
#

lol ok

static zealot
#

well I mean you will probably cringe at the entire code but still xD

steel heart
#

I'm prepared

#

I think

static zealot
#

I don't think you are

#

no one will

steel heart
#

send it

static zealot
#

btw its a fork. so don't destroy this guy xD

#

unless you do it for not updating it lmao

steel heart
#

okay I'm out

#

wth

static zealot
#

actually its his code

#

lmao nvm

#

he added that command

steel heart
#

how did you find this tragedy?

static zealot
steel heart
#

lol

jovial warren
#

lol

#

!(args.length == 1) > args.length != 1 wdym xD

#

also, @prisma wave so naive

#
private fun ByteBuf.writeTagArray(vararg entries: String) {

        writeVarInt(entries.size)
        for (entry in entries) {
            writeString(entry)
            writeVarInt(0)
        }
    }
#

so naive to not think that Minecraft has a whack system where any namespaced key beginning with # references another tag

#

meaning we gotta do a deep search

#

e.g. the logs tag has #minecraft:logs_that_burn, and logs_that_burn has #minecraft:oak_logs for example

#

which then has the acutal list of namespaced keys

#

so we gotta do a deep key search and perform a lookup to the block registry to get the protocol ID every god damn time

#

I mean, recursion should mean that's ez

#

still a pain to figure out though

prisma wave
#

that shouldn't be done in the ByteBuf method

#

so that method is fine

#

i think

jovial warren
#

so where should I do it?

steel heart
#

wait btw

#

whats the inclusive sign

#

and the exclusive one

#

like (]

#

or smtng

old wyvern
#

square is inclusive

#

paren is exclusive

steel heart
#

and the direction doesnt matter

#

[]

#

is the same?

old wyvern
#

What?

steel heart
#

[( ])

lunar cypress
old wyvern
#

The direction specifies the exclusivity/inclusivity site of the range

steel heart
#

no like, it means the same regardless if its an opening or closing one

#

o

lunar cypress
#

Are we talking about ranges?

old wyvern
#

[1,2)
Includes 1 but not 2

#

I assume so

steel heart
#

oh

jovial warren
#

I was thinking something like kotlin private fun ByteBuf.writeTags(entries: List<String>, registry: Registry) { for (entry in entries) { if (entry.startsWith('#')) { writeTags(tagManager.blockTags[entry.split(":")[1]]!!.values, registry) } else { writeVarInt(registry.entries[entry.toNamespacedKey()]!!.protocolId) } } } might work @prisma wave (using !! there because I cbfa to null check and if that is null then something has gone horribly wrong)

prisma wave
#

😐

#

use getValue then

jovial warren
#

done

#

anything else wrong with that? lol

prisma wave
#

id rather have this be a method on Registry

#

to get nested tags

jovial warren
#

that's not exactly what Registry is for

#

Registry represents a registry entry in registries.json

#

Tag would be what you're after I think

hot hull
#

How do I force IJ to pull from a different branch when forking a project?

frigid badge
#

just switch branch?

hot hull
#

How have I never known that

#

bruh

onyx loom
#

lol?

jovial warren
#

also @prisma wave , not possible because of the way this works

#

Tag represents the JSON data

#

actually restructuring this might be a good idea

unkempt tangle
#

Anyone knows how Unity works?

stuck harbor
#

uhhh

#

very vague

unkempt tangle
#

How to create sprites and animations

jovial warren
#

?help

compact perchBOT
#
FAQ Answer:
Âť Give the helpers some details
Âť Ask suitable questions
Âť Be polite
Âť Wait

Source

stuck harbor
#

gooooooogle

jovial warren
#

actually not that

regal gale
#

@unkempt tangle g 👀gle

unkempt tangle
#

They are complicated as fak

stuck harbor
#

Unity shit

#

use godot

jovial warren
#

lol

unkempt tangle
#

I wanna dumb an sprite from a game

regal gale
#

Godot reversed_fingerguns

unkempt tangle
#

and visualize on my unity ;c

regal gale
#

I use it

stuck harbor
#

sfml fingerguns

#

sf::window window

unkempt tangle
#

Godot?

stuck harbor
#

godot engine

unkempt tangle
#

Oh

#

But It wont help me

stuck harbor
#

wut

unkempt tangle
#

I got the texture and texture atlas.

#

How can I combine them together

regal gale
#

Then find a way yourself lol

static zealot
#

what the fuck is this shit. if I update my dns stuff it works if I connect with a VPN but not with my cable ip

unkempt tangle
#

:c

stuck harbor
#

lol

static zealot
#

it also works from my mobile data.

unkempt tangle
#

shush

static zealot
#

this shit is rigged.

unkempt tangle
#

first my case

regal gale
#

No one can help you do that lol

#

Few of us actually know Unity well

#

And I barely use Unity cause lagging pc

stuck harbor
#

I use C++ for game dev

#

sfml looks good

static zealot
#

hmm what are something.com/THIS links are called? like the part after /

#

I know THIS.something.com are subdomains

#

or whatever

stuck harbor
#

pages?

static zealot
#

oh

stuck harbor
#

those are just pages blitz

#

ur just requesting a file

static zealot
#

I see.

stuck harbor
#

HTTP can let ur browser render said file

static zealot
#

well that makes a lot of sense xD

frigid badge
#

no thats false

static zealot
#

o

frigid badge
#

HTTP isn't what's making your browser render a file

#

HTTP is a protocol

unkempt tangle
#

canvas do

jovial warren
#

HTTP is just the thing that says "hey, got this for you, it came from this guy over there, do what you wish with it... bye!"

unkempt tangle
stuck harbor
#

I do enjoy the tor hidden services protocol

static zealot
#

there's no way on github to delete commits is there? xD

jovial warren
#

git push -f

static zealot
#

remove them from history I mean

stuck harbor
#

f

#

u can edit the git log

jovial warren
#

you can soft reset and force push

#

usually what I do

onyx loom
#

theres no way ive already forgot that website pulse sent yesterday

static zealot
#

does that remove the history tho?

onyx loom
#

ohshitgit?

jovial warren
#

also, any ideas if ```kotlin
fun getDeepTags(tag: Tag): List<Tag> {
val tags = mutableListOf(tag)
for (value in tag.data.values.filter { it.startsWith('#') }) {
tags += getDeepTags(allTags.single { it.name == value })
}
return tags
}

prisma wave
#

mutableList 😐

jovial warren
#

ignore that

unkempt tangle
#

Mutable?

prisma wave
#

no

jovial warren
#

tell me if the actual code will work lol

#

actually no it won't

static zealot
#

welp time to see how to use git bash

unkempt tangle
#

Anyone wanna play witchcraft with me?

onyx loom
static zealot
#

oh

#

damn this is cool

jovial warren
#
    fun getDeepTags(tag: Tag): List<Tag> {
        val tags = mutableListOf(tag)
        for (value in tag.data.values.filter { it.startsWith('#') }) {
            tags += getDeepTags(allTags.single { it.name == value.substring(NAMESPACE_CHARACTERS) })
        }
        return tags
    }
```where `NAMESPACE_CHARACTERS` is `11` (amount of characters needed to strip `#minecraft:`)
#

@prisma wave looks about right, right?

unkempt tangle
#

These two high-quality, fully rigged sample characters represent the current state of the art for real-time digital humans and they’re yours to explore, modify, and use in your Unreal Engine 4.26.1 or later projects. They serve as a showcase of what’s achievable with MetaHuman Creator: an innovative new tool that will soon be available for you t...

▶ Play video
prisma wave
#

why u using substring

unkempt tangle
#

to restrict string length.

jovial warren
#

to remove #minecraft:

#

so that the tags actually resolve

prisma wave
#

surely if it's a NamespacedKey you have the key in memory

jovial warren
#

since the tag files don't start with minecraft:

unkempt tangle
#

yeah namespacedkey can also give you only the value

jovial warren
#

@unkempt tangle not in my system

#

this isn't NMS

#

it's MBM lol

#

a.k.a me.bristermitten.minekraft

#

a.k.a a custom Minecraft server implementation in Kotlin

unkempt tangle
#

Senpai

#

wanna play?

jovial warren
#

play what?

unkempt tangle
#

witchcraft

jovial warren
#

why?

unkempt tangle
#

Witchcraft and Wizardry

jovial warren
#

lol

unkempt tangle
#

cuz it seems fun

jovial warren
#

you trying to say that I = wizard?

regal gale
#

Lmao

unkempt tangle
#

u r not senpai

#

so

#

you != senpai

jovial warren
#

lol

#

me is = to bigbrain though

#

sometimes

unkempt tangle
jovial warren
#

MineKraft gonna be good

#

when it works

unkempt tangle
#

What is it

jovial warren
#

I already said

#

custom Minecraft server implementation

#

basically NMS from scratch in Kotlin

unkempt tangle
#

How about java?

jovial warren
#

nah m8

regal gale
#

?

prisma wave
#

ima put "no mutability allowed" in the style guide

jovial warren
#

no you ain't

prisma wave
#

I should

jovial warren
#

I use mutability here because it's completely fine and normal to do so

unkempt tangle
prisma wave
#

No it's not

jovial warren
prisma wave
#

This is very much possible without mutability

#

flatMap is your friend

jovial warren
#

any way to get the root directory?

#

I know that's a bit ambiguous, but getResource seems to return null if I call it from a class that's not in the root package

#

I wanna load a file from within the JAR

lunar cypress
#

/

jovial warren
#

lemme be a bit more specific

#

I meant the classpath

#

I need to get a file that's bundled in a JAR at the root of it

prisma wave
lunar cypress
#

still

#

see the documentation

forest pecan
#

@Nullable int integer

onyx loom
#

🌚

forest pecan
#

hey guys

#

im hilary clinton

onyx loom
#

lol imagine losing the election

jovial warren
#

since I need to get a directory, get a list of the files contained within that directory, and iterate over them

#

nvm, getResource can return directories

#

Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical fuck

#

actually, might be better to read it as an InputStream rather than getting it's URL and creating a File out of it

#

fucking finally works

#

let's see if tags work now

hot hull
#

This precise enough? 20 different height maps, which should give plenty of terrain depth

steel heart
#

bruh

#

composition is so op

hot hull
static zealot
#

xD

hot hull
#

get rekt noobs

jovial warren
hot hull
#

yes

jovial warren
#

knew it

hot hull
#

Don't think there's any other classes which use it

jovial warren
#

well if you can make the compiler able to figure out where to terminate the enum values without a terminator, by all means, do it lol

#

also, is it just me or is IEX still the default browser for opening XML documents on Windows? lol

obtuse pulsar
#

How do I remove an item from the cursor?

surreal quarry
obtuse pulsar
#

from what class

#

inventory.setCursor?

surreal quarry
#

I believe it would be in the InventoryClickEvent

#

Oh that’s deprecated

fallow remnant
#

Any idea why this might happen?

surreal quarry
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin

surreal quarry
obtuse pulsar
surreal quarry
#

D;spigot InventoryView#setCursor

ruby craterBOT
#
public final void setCursor(@Nullable ItemStack item)```
Description:

Sets the item on the cursor of one of the viewing players.

Parameters:

item - The item to put on the cursor, or null to remove the item on their cursor.

surreal quarry
#

D;spigot InventoryClickEvent#getView

ruby craterBOT
surreal quarry
#

Those two

obtuse pulsar
#

Cause like, I need to make it so you can't move an item from an inventory slot..

#

Like the compass on hypixel..

surreal quarry
#

Just cancel the click event

#

No need to mess around with cursors

obtuse pulsar
#

Didnt you say it is deprecated

surreal quarry
#

InventoryClickEvent#setCursor is. Canceling an event is not lol

zenith palm
surreal quarry
#

event.setCancelled(true)

#

...

obtuse pulsar
#

I already do that

surreal quarry
#

It’s been under a minute since you asked in #development

obtuse pulsar
#

but the thing is that the item goes to the cursor aswell

surreal quarry
#

Don’t cross post

zenith palm
#

i didnt know where to ask

#

sorry big man

surreal quarry
zenith palm
#

alr

surreal quarry
#

@obtuse pulsar if you cancel the click event it shouldn’t put the item on the cursor. Are you sure you registered the event

obtuse pulsar
#

yes

#

cause all the other things works

#

i think

hot hull
#

When in doubt, debug

obtuse pulsar
#

oh wow

surreal quarry
#

Send your main class and event listener class

obtuse pulsar
#

[15:39:19 ERROR]: Could not pass event InventoryCreativeEvent to TestPlugin v1.0 java.lang.NullPointerException: null

#

i dont even use InventoryCreativeEvent

surreal quarry
#

If you’re in gmc inventory events can be weird

#

Try it in survival

obtuse pulsar
#

yea so it works

#

but

#

[15:40:20 ERROR]: Could not pass event InventoryClickEvent to TestPlugin v1.0

surreal quarry
#

Send the full error and the related class(es) if you dont know the classes just the error

#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste

obtuse pulsar
surreal quarry
#

OnDrop class

hot hull
#

for (int z = 100; z < boundary; z++) {
in kotlin again

#

IDE won't convert

unkempt tangle
surreal quarry
#

For (i in (0..100)) frosty

obtuse pulsar
surreal quarry
#

Send it

hot hull
#

Thanks

surreal quarry
#

And actually no need for the inner parens

hot hull
#

yeye

obtuse pulsar
surreal quarry
#

Can you send the class.

#

That is what is causing the error

obtuse pulsar
#

ignore the Player player = e.getWhoClicked().getKiller();

#

it doesnt work

surreal quarry
#

The class has changed since that stacktrace

obtuse pulsar
#

no

surreal quarry
#

It has

#

The error points to a brace lol

#

Braces dont NPE

steel heart
#

Enebz do you know the cause of NPE btw?

surreal quarry
#

Wait nvm

#

I see the issue

#

It’s what you said lol

#

Pretty sure getKiller is nullable, player is null

#

D;spigot Player#getKiller

ruby craterBOT
#
@Nullable
Player getKiller()```
Description:

Gets the player identified as the killer of the living entity.

May be null.

Returns:

killer player, or null if none found

surreal quarry
#

Ye

obtuse pulsar
#

I rebuilded

#

same error stack strace

#

now line 53 doesnt even exist

surreal quarry
#

I just told you the issue

obtuse pulsar
surreal quarry
#

And its not the same stacktrace

obtuse pulsar
surreal quarry
#

You’re not uploading the jar or recompiling or something

#

The stack trace isn’t gonna NPE at a line that doesn’t exist

obtuse pulsar
#

want me to record it?

steel heart
#

Unless your compiler is weird

#

Deliberately fucking up lines

surreal quarry
#

Yea maybe

obtuse pulsar
#

oh wait

#

i forgot i had to reload confirm

surreal quarry
#

Well

#

You should restart

#

But sure

obtuse pulsar
#

so how can i accomplish the same in gmc

#

like delete the cursors item

#

or smthn?

surreal quarry
#

Set the player to survival kek

#

But fr i would check if they are in game mode, and stop them if they are

obtuse pulsar
#

hmm

#

but its supposed to be used by staff

#

so they can like /gmc

surreal quarry
#

Inventory stuff gets weird in game mode

#

Either manually set them to survival, then put them back in creative or just return if they are in creative

obtuse pulsar
#

but they can do first /ww to get the stick and then /gmc to put it in a chest

#

then the normal (non-staff) can get it, and yea i have perms to use the stick, but it would be a collectible

surreal quarry
#

If you wanna try with the cursors, go back to InventoryView#setCursor(null) and InventoryClickEvent#getView

#

D;spigot InvenoryView#setCursor

ruby craterBOT
#
public final void setCursor(@Nullable ItemStack item)```
Description:

Sets the item on the cursor of one of the viewing players.

Parameters:

item - The item to put on the cursor, or null to remove the item on their cursor.

obtuse pulsar
#

Thx

surreal quarry
#

D;spigot InventoryClickEvent#getView

ruby craterBOT
surreal quarry
obtuse pulsar
#

how do i get the player from InventoryClickEvent tho?

surreal quarry
#

#getPlayer

obtuse pulsar
#

no

surreal quarry
#

D;spigot InventoryClickEvent#getWhoClicked

ruby craterBOT
surreal quarry
#

That

obtuse pulsar
#

thx

#

wtf is wrong with gmc inventories

hot hull
#

Sneezed so fucking hard my heart hurts

onyx loom
#

thanks for that frosty

hot hull
#

No problem

#

Kotlin can go suck a dick for not supporting java 15

onyx loom
#

no u

surreal quarry
#

No him

ocean quartz
#

We're already on 1.4.30

hot hull
#

ah TFX doesn't support it yet

#

sadge

obtuse pulsar
#

I can still put it in a storage...

#

How would I prevent that..

ocean quartz
#

TornadoFX requires Kotlin 1.1.2 and jvmTarget 1.8.
Yikes

surreal quarry
#

Big yikes

#

@obtuse pulsar can you send your InventoryClickEvent

obtuse pulsar
#
@EventHandler
public void InventoryClickEvent (InventoryClickEvent e) {
    InventoryAction action = e.getAction();
    ItemStack item = e.getCurrentItem();

    // If the item was air, return.
    if (item.getType().isAir()) {
        return;
    }

    console.sendMessage(action.toString());
    // If the action was not an inventory-escaping action, return.
    if (!action.equals(InventoryAction.MOVE_TO_OTHER_INVENTORY)) {
        return;
    }

    // Get item NBT
    NBTItem nbti = new NBTItem(item);

    // If the WishingWell Wand tried to escape, cancel the event.
    if (nbti.getBoolean("wishingwellwand")) {
        e.setCancelled(true);
    }
}
hot hull
#

I'm so close to going back to javafx ffs

#

This is annoying

onyx loom
#

i dont think it ever will. im not sure tfx actually gets updates anymore

#

last update was feb 2020

obtuse pulsar
#

@surreal quarry There ya have it

ocean quartz
obtuse pulsar
#

wdym

surreal quarry
#

Cancelling a click event usuaully stops everything you try iirc

obtuse pulsar
#

yeah it does and that makes it stay in the same spot

onyx loom
obtuse pulsar
#

but i want to be able to move it around IN the inventory

#

just dont escape

#

eg to a chest

#

or be dropped

surreal quarry
#

Ohh

#

Hmm

#

I would probably print the action and see what it is when you move it to another inventory

obtuse pulsar
#

i did

#

the action pickup_all was just when i picked it put

#

it was nothing when i put it down in the chest

surreal quarry
#

Then the only other thing is that your nbt check fails

obtuse pulsar
#

maybe i should add a new event?

#

No cause all the other stuff works

#
if (!action.equals(InventoryAction.MOVE_TO_OTHER_INVENTORY)) {
        return;
    }
surreal quarry
#

Didn’t see your last message when i sent that

#

If nothing triggers when you place it in a different inventory

obtuse pulsar
#

its a diff event?

surreal quarry
#

Probably

#

not sure which one tho

obtuse pulsar
#

do you know which one

#

oh

surreal quarry
#

InventoryInteractEvent maybe

#

If thats a thing

#

I feel like it should be the click event tho

obtuse pulsar
#

cause it prevents MOVE_TO_OTHER_INVENTORY

ocean quartz
#

Just returning if that if is true won't prevent it from being moved

surreal quarry
#

Matt he’s just returning there so it only cancels if that condition is met

obtuse pulsar
#
@EventHandler
public void InventoryClickEvent (InventoryClickEvent e) {
    InventoryAction action = e.getAction();
    ItemStack item = e.getCurrentItem();

    // If the item was air, return.
    if (item.getType().isAir()) {
        return;
    }

    console.sendMessage(action.toString());
    // If the action was not an inventory-escaping action, return.
    if (!action.equals(InventoryAction.MOVE_TO_OTHER_INVENTORY)) {
        return;
    }

    // Get item NBT
    NBTItem nbti = new NBTItem(item);

    // If the WishingWell Wand tried to escape, cancel the event.
    if (nbti.getBoolean("wishingwellwand")) {
        e.setCancelled(true);
    }
}
#

I'm just only cancelling that type of action

surreal quarry
#

Lmao

obtuse pulsar
#

where can i find a list of events

oak raft
#

hehe

jovial warren
#

I'm British, that's the most annoying part

oak raft
#

Ik, and I know you know its true 😏

jovial warren
#

also, someone please help me with dis

#

I try dis val tagsFolder = File(javaClass.classLoader.getResource("tags")!!.path)

#

I try dis val blockTagFiles = javaClass.classLoader.getResources("tags/blocks/*.json")

#

I just wanna get a list of files in a directory, iterate over them, read the contents, deserialise the JSON and turn it into an object and add it to a list

static zealot
#

I've updated ?learn-java. let me know if I missed something or there's something you feel it is wrong

#

?learn-java

compact perchBOT
#
FAQ Answer:

Oracle Docs:
You should start with this, breeze through this(skipping stuff that doesn't seem relevant like bitwise operators), then hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Online Courses:
If you want some free online courses, you can find them on Coursera. Yes they are paid but you can chose to take them for free with the only disadvantage being the fact that you don't get a certificate at the end. Some of the best courses can be found at this link: https://www.coursera.org/specializations/java-programming

Other services:
Some other cool services that will help you learn java are SoloLearn and JetBrains Academy.

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

static zealot
#

oh I guess I could put the links for sololearn and jetbrains

jovial warren
#

Udemy good as well

surreal quarry
static zealot
#

Udemy? Will add that as well I guess.

#

but Udemy is paid mostly right?

#

I went with coursera becasue you can do it for free

surreal quarry
#

Maybe make it a section for paid things

static zealot
#

nah will mention it and say its paid

static zealot
#

because coursera is paid as well but you can do it for free I guess without getting the certificate at the end

jovial warren
#

that's where I learnt

static zealot
#

?learn-java

compact perchBOT
#
FAQ Answer:

Oracle Docs:
You should start with this, breeze through this(skipping stuff that doesn't seem relevant like bitwise operators), then hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Online Courses:
If you want some free online courses, you can find them on Coursera. Yes they are paid but you can chose to take them for free with the only disadvantage being the fact that you don't get a certificate at the end. Some of the best courses can be found HERE.
You can also take a look at Udemy but from what I've seen most of those courses are paid.

Other services:
Some other cool services that will help you learn java are SoloLearn and JetBrains Academy.

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

static zealot
#

well I've given them enough options I guess. its just them willing to learn now.

stuck harbor
#

mmmhm

regal gale
#

I've learnt Java without paying for anything lol

hot hull
regal gale
#

It's pointless

static zealot
#

yeah that's why I gave them a lot of free options thien

stuck harbor
#

noice frusty

#

noice

surreal quarry
#

Hot frosty

static zealot
#

because Oracle docs, Coursera, SoloLearn and JetBrains Academy is free

#

just UDemy is the only paid option in case they want it

stuck harbor
static zealot
surreal quarry
#

Both

indigo current
#

I have a question

compact perchBOT
#

There is no time to wait! Ask your question @indigo current!

surreal quarry
#

There isn’t any time to wait!

stuck harbor
#

don't wait, only ask

indigo current
#

How to setup deluxemenu for server selector..

surreal quarry
indigo current
#

ty

stuck harbor
#

wait no

onyx loom
stuck harbor
#

lol discord

regal gale
#

Should've baited

surreal quarry
onyx loom
#

true

#

🙂

prisma wave
#

🙂

stuck harbor
static zealot
#

🙂

stuck harbor
#

🤔

woven wagon
#

heyy queens

forest pecan
#

is there an easy way to add copyright headers to existing source files

#

cause i dont want to do it manually for each file

#

lmao

obtuse gale
#

Gradle licensing plugins ez claps

forest pecan
#

there are maven ones as well

woven wagon
forest pecan
#

but im talking about

#

like in intellij

#

is there a plugin

#

or smthing

hot hull
#

Dannyy, don't use dumb budgets, thanks.

forest pecan
#

^^

woven wagon
#

sry what?

regal gale
#

11k$

#

Is that a troll?

forest pecan
#

this cap?

woven wagon
#

no lmfao

#

im a gay sugar baby on snapchat

forest pecan
#

i dont believe it lmao

#

that you are willing to lend

woven wagon
#

they send me $11000 a week lol

forest pecan
#

11k

woven wagon
#

I have 4 sd's

#

lol

#

ill just dm deniel then lol

onyx loom
#

send me 1k rn

static zealot
#

11000 doubt

fervent python
#

uh, ok...

ocean quartz
#

Very on topic

jovial warren
#

$11000

#

no wonder it's already taken lol

#

some people don't even make that in a year

obtuse pulsar
#

What is the event for when a player puts an item in a storage?

#

I wanna prevent players from putting items in storages

hot hull
#

@woven wagon If you already found someone, remove your request

prisma wave
#

where's the jerk

onyx loom
lunar cypress
#

Just shut the fuck up. This "lol no generics" copypasta was never even funny to begin with. I've never even seen the source of this copypasta, and it was obviously a joke. What kind of idiot do you have to be to think that was ever said seriously? But it makes fun of something which is popular, and therefore popular to shit on among the contrarians on Reddit.

Come on, really.

I actually do have to wonder about the IQs of people who like that pretentious "lol no generics" copypasta. You know, I sometimes can't help but superiorly smirk as I imagine their dumb faces struggling to understand words on a mere internet webpage. In fact, I sometimes find myself in paroxysms of ironic Schadenfreude as I envision the visages of the aforementioned Slow-in-the-minds waging war with the Cultural Artifact they proclaim to be analyzing, only to fall, slack-jawed, back into their insensate stupor, the proverbial Undiscovered Country, "from whose bourn no traveler returns".

prisma wave
#

ah

#

that explains it

hot hull
#

Too many fancy words for me

unkempt tangle
#

Senpai ya?

prisma wave
#

wtf

unkempt tangle
#

11k are yummy

lunar cypress
#

seems completely legit

prisma wave
#

thats going in the album

onyx loom
#

🌚

static zealot
#

:smiling_face_with_3_tears:

onyx loom
#

i bet its just some 11 year old who doesnt know how to code has taken this request

unkempt tangle
static zealot
#

at least an 11 yo who doesn't know how to code is the one getting scammed

onyx loom
#

scamming each other kapp

unkempt tangle
#

Anyone wanna play with me now?

forest pecan
#

n

#

o

unkempt tangle
static zealot
#

nothing here

static zealot
#

yo Pulse.

forest pecan
#

yo

unkempt tangle
#

with this resourcepack

static zealot
#

So I have a custom domain set for my main github project/page whatever. but I can't seem to figure out how to do customdomain/project. It always goes to username.github.io/project and I know you've done something like this I think.

#

also I can't set the same custom domain for both so that doesn't work

unkempt tangle
#

Huh.. You want your domain to redirect to a subdomain?

static zealot
#

no

#

subdomain is this sub.domain.com

#

so on github you can set custom domains for projects

#

so instead of having username.github.io for the main project and username.github.io/PROJECT for another project I've set customdomain.com for my main project but customdomain.com/PROJECT doesn't work. So I can't show other pages

#

basically

#

why Niall? at net.kitesoftware.board.c.b.a(ComponentFactory.java:48) ~[?:?] :((

#

damn this 404 looks nice

heady birch
#

@prisma wave Rust spigot bindings I need 😩

static zealot
#

she's a singer

static zealot
#

that won some talent show I think

heady birch
#

Well R u gonna make them or what 😐

prisma wave
#

idk how

#

also isn't JNI really slow

static zealot
heady birch
#

IdioMatic RUST is as fast as IdioMatic C

static zealot
#

because its very usual for people to come ask for premium plugins support, see they need to link but instead they fix it themselves xD

#

and then are like nvm I got it

prisma wave
#

doesnt entirely fit the theme but it's close enough

static zealot
#

lmao

prisma wave
#

ah lol

#

ic

static zealot
#

instead of linking they just do what they could've done before

#

and read the docs

#

and stuff like that

#

lmao

forest pecan
#

madison beer 😻

prisma wave
static zealot
#

xD

static zealot
#

idk about that

forest pecan
#

shes the singer in kda

#

kpop

static zealot
#

kpop? Idk. I've only listened to a like 3 of her songs and none were kpop related.

forest pecan
#

this one

#

K/DA Ahri, K/DA Evelynn, K/DA Kai’Sa, and K/DA Akali take the world stage with their debut single. Keep the show going on the Rift with these new Epic skins.

MEET THE BAND:

https://universe.leagueoflegends.com/en_US/kda

LISTEN NOW:

Spotify: http://smarturl.it/kdapopstars/spotify
Apple Music: http://smarturl.it/kdapopstars/applemusic
iTunes: ...

▶ Play video
ocean quartz
#

Villain is the best song

forest pecan
#

Eve go hard

#

lmao

#

stay so deep inside your brain

static zealot
#

I see now.

#

never heard of this stuff ever.

forest pecan
#

yea

#

kda is a virtual girl kpop group

static zealot
#

I just knew she won some talent show and I listened to some of her music to see what it is about

forest pecan
#

yea

static zealot
#

they just reply to unrelated messages and ask random questions

forest pecan
#

LMAO

static zealot
#

when they get warned they ask again

#

lmaoo

#

or when they ping you once, you don't respond so they delete their message just to reping you with the same message. or they forget to ping so they delete just to ping

hot hull
static zealot
#

oh let me help lmao. will improve

#

the code

hot hull
#

Don't touch the code.

static zealot
#

xD

hot hull
#

Well I mean I'm not gonna merge anything that messes with the actual code

static zealot
#

After you configure a custom domain for a user or organization site, the custom domain will replace the <user>.github.io or <organization>.github.io portion of the URL for any project sites owned by the account that do not have a custom domain configured.

#

well that's a fucking lie

#

😦

hot hull
#

@old wyvern you'll probs know the answer to this, if I want procedural generation, this means I need to store a chunk mesh for previous values, so each chunk isn't it's own generation, and suggestions on how to approach that? (Question for everyone not just Yugi)

forest pecan
#

if its for everyone why didn't you just ping everyone

#

🌚

hot hull
#

@everyone

loud gyroBOT
#

The 'everyone' mention is disabled so you can't annoy people.

onyx loom
#

L

forest pecan
#

weak

static zealot
#

someone please help. I'm going crazy xD

#

github says that if I set a custom domain for my main page it should work like customdomain.com for the main page and customdomain.com/PROJECT-NAME for other projects but it doesn't. I still have to use username.github.io/PROJECT-NAME

lunar cypress
#

you've configured everything?

static zealot
#

yeah. idk what else to configure anymore lmao.

lunar cypress
#

and how long was that ago

static zealot
#

well I did that like weeks ago

#

but I just decided to try it out

#

lmao

#

like few hours ago

oak raft
#

super.onGuildVoiceJoin(event);

lunar cypress
oak raft
#

what does that do?

static zealot
#

yeah

#

that's why I'm confused

#

because acording to the docs

#

if that works

lunar cypress
#

what type of record did you set

static zealot
#

the other projects should work as well

#

apex

#

I think its what's called

#

to go to the main project as well

#

I wonder if apex domains don't work for that

#

btw I don't have a custom domain for the other projects

#

just for the main one

lunar cypress
#

that's how it's supposed to work

static zealot
lunar cypress
#

but apex isn't a record type I don't think

static zealot
#

so I have to remove the apex one and just let the www. one maybe? I'll try that but that'll fuck everything up for me because for some reason everytime I change stuff with the domain it works for everyone just not me for like hours

lunar cypress
#

no I'm asking you what type of record you actually set

static zealot
#

1 sec

#

ohh the type

#

well for the apex domain its A

#

and for the www. one is CNAME

#

I've also set A for all the 4 IP's I was given by github.

hot hull
static zealot
#

😦

oak raft
#

peak comedy

onyx loom
#

peak comedy

#

ha ha

#

ecksdee

forest pecan
#

bro i was editing my pom.xml file then my friend randomly asked me

#

what is porn.xml?

steel heart
#

Lol

obtuse gale
#

Classic porn.xml

onyx loom
#

🌚

#

u love to see it

hot hull
#

So I have an assets folder containing some images, how do I reference that without specifying the build source folder

forest pecan
#

whats in yall porn.xml

#

i got

#

<phub>
<braz..>

steel heart
#

I got cornhub

forest pecan
#

damn

onyx loom
#

hornpub

forest pecan
#

i got
||
<pornhub>
<brazzers>
<includes>
<include>gay.com</include>
<include>lolhentai.com</include>
<include>dick.com</include>
</includes>
</brazzers>
</pornhub>
||

steel heart
#

wow

forest pecan
#

bro waht

#

i cant add spoilers

steel heart
#

yes u can

#

dum

forest pecan
#

to the code

#

i cant

#

yea i cant

onyx loom
steel heart
#

bruv

#

you just did

forest pecan
#

you cant do it for a codeblock

#

dumbass lol

steel heart
#

ah

#

y didnt say that b4

#

dumbo

forest pecan
#

cause its in a codeblock lmao

steel heart
#

|| test ||

obtuse gale
#

Just /spoiler the entire thing

steel heart
#

o

static zealot
#

xD

#

it almost works

#

lmao

#

||test||

obtuse gale
#

Idk what y'all are talking about but it does hide on mobile

heady birch
#

test :)

forest pecan
#

||test||

oak raft
#

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

#

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

forest pecan
#

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

steel heart
#

so is anyone here faangsexual?

heady birch
#

Nope, am Rustacean

forest pecan
#

Which one is the L and which one is the I

l OR I

obtuse gale
#

ur mum

forest pecan
static zealot
#

oh damn @lunar cypress I've just realised something

#

I've changed my github username. and it said that it ported all my projects or whatever and the project still worked but the project is still called oldusername.github.io. I wonder if that's the problem. its not actually my main project anymore and I just got ruined

#

time to test the theory

#

omfggggggg

#

it was that

#

I'm going to cry for the next 24 hours .see you after guys.

forest pecan
#

hey

#

we can cry together

static zealot
#

yes please

#

😭

forest pecan
#

i have 2 quizzes tommorow

obtuse gale
#

that's fucking gay

forest pecan
#

😢

forest pecan
static zealot
#

both

#

but still. let's cry together

onyx loom
#

can we make this a 3 way crying session

static zealot
#

yes

onyx loom
#

i have 2 assignments due for tomorrow

static zealot
#

absolutely

onyx loom
#

😭

static zealot
#

😭

forest pecan
#

😭

#

😢

#

😿

static zealot
#

damn that's a lot of emojis

forest pecan
static zealot
#

😭

forest pecan
ocean quartz
#

Why do yall like spamming so much?

forest pecan
static zealot
#

its a sad day Matt

forest pecan
#

^

surreal quarry
#

Yo

static zealot
#

oh you just saw that?

#

anyways

surreal quarry
#

Like wtf

#

That’s insane

static zealot
#

I'm working on an Actions library for my plugins. what would be better way to name them? Like rn I have action name for the name but I feel like name is not the best one

#

dw its probably just a scam.

surreal quarry
#

Prob

static zealot
#

he said he's something like a daddy sugar baby something gay idk

#

you can search in this channel

#

few hours ago

surreal quarry
#

Oh lol

static zealot
#

anyways

surreal quarry
#

Also wdym the naming

static zealot
#

so I have actions

#

like BROADCAST, COMMAND etc.

#

and those are their names basically

#

I have a class for each action

#

and a value called name that stores that name

#

but idk I feel like it could be better than name

surreal quarry
#

Action interface then like BroadcastAction or something is usually how you would do that

#

Oh you mean like a property

static zealot
#

That's what I basically have

#

but a property

#

of the BroadcastAction yes

#

is name

#

to store the action name

surreal quarry
#

Maybe just call it action

#

Or actionName

#

But name is pretty good as well

#

Or get BM to generate you an enterprise name

static zealot
#

oh wait idk what's wrong with me lmao. I was thinking I named it something else when I kept saying its name

#

name is good enough lmao

#

hmm I guess my best way of taking actions from a string is regex

#

actually no. because it will always be [action] stuff here

#

but nvm

#

because I'd have to make a check for each action name

#

regex it is

prisma wave
#

there you go

#

"DelegatingDelegate"

heady birch
#

Candiate

#

I have some new words: Context, Builder, Bean, Configuration, Resolver

surreal quarry
#

Pretty sure all of those were in the list

#

It was quite a complete list

prisma wave
#

all apart from configuration

heady birch
#

Guessing you have Service, Repository, Controller, Advice, Principle, Specification, Strategy

prisma wave
#

DelegatingFactoryServiceExceptionFactoryMapperBoostrapAdvisor

#

beautiful

prisma wave
surreal quarry
#

You should make a project using only enterprise names

prisma wave
#

IBoostrapAdvisorComponentListenerSpecificationMapperImplementationPrinciple

heady birch
#

The enterprise name generator, should itself be enterprise

#

Got Strategy?

prisma wave
#

nope

heady birch
#

Interceptor, Registry, Dialect

prisma wave
#

added

surreal quarry
#

Also BM your == seem to go a bit further on the bottom than the top

#

Consider fixing that and I will pay top dollar for your app

prisma wave
#

okay

surreal quarry
#

Dead chat XD

heady birch
#

😫

prisma wave
#

fixed

#

ez

#
=== 5 Enterprise-Ready Class Names ===
IPatternImplString
AbstractRegistryBoostrapParameterControllerResolverUtilsCandiateExceptionControllerBoostrapResponseAdapter
IBoostrapRegistrySpecification
BoostrapStrategyImplPatternStringAdvicePrincipleAbstractResponseInterceptor
MockBuilderBuilderPredicateAdviceAdapterExporterRegistry
=====================================
#

oh

#

or not

#

weve all heard of brainfuck before

surreal quarry
#

BM - I’m gonna test this when i get home but say I have an api and a plugin, and currently I am shading some things into the api module so that its available in the compile class path of people using the api, then i shade the api into my plugin.

Would it work if I pdmed the api stuff so i dont need to shade so much lol

prisma wave
#

as long as the API is on a repo, yeah

#

I don't think it supports maven local

#

Maybe it does

#

Can't remember

surreal quarry
#

Nah pdm doesn’t support maven local.

ocean quartz
#

doesn't make sense to do

surreal quarry
#

Rn I’m doing like implementation(project(“:api”)) iirc, just wondering if that would recognize the dependencies.json that the api generated

obtuse gale
#

Imagine using “ ” instead of " "

#

tsk tsk smh

surreal quarry
#

Mobile 🥲

obtuse gale
#

lol

prisma wave
#

"

surreal quarry
#

Nice

jovial warren
#

no way

#

you? making things that work? what is this?

#

xD

hot hull
#

Wow

#

Ignore that btw, started making my own renderer for it from scratch kek

jovial warren
#

does it gen worlds like vanilla does?

#

xD

ocean quartz
#

Is it gonna be a world gen plugin Frosty?

jovial warren
#

me needs a vanilla world gen system for MineKraft

ocean quartz
#

Gl

jovial warren
#

probably gonna make it a standalone library tbh

#

kinda want MineKraft to be at least semi modulised

#

need a system for command parsing and dispatching as well, bit like Brigadier

#

unless we choose to use Brigadier

#

and probably some other systems as well

#

MineKraft organisation coming soon™️

#

cough BM get on it now cough

surreal quarry
#

@prisma wave any way you know of to make pdm work similar to the api configuration, exposing its dependencies to other projects? I tried something like this

configurations {
    pdmApi.extendsFrom pdm {
        canBeResolved = true
    }
}
``` but i'm either using it wrong, or it doesn't do what i think it should
prisma wave
#

uh

#

hmmm

jovial warren
#

PDM isn't made for libraries afaik

prisma wave
#

it's not the intended use case

#

you could just make a configuration that applies pdm and api

#

as long as you're not using shadow

surreal quarry
#

i can give that a try

jovial warren
#

also, @prisma wave , MineKraft organisation

#

get on it

prisma wave
#

No

jovial warren
#

we need a place to store thingys

prisma wave
#

The repo

#

Lol

#

And also, I don't wanna be tied to that name

#

I kinda wanna change it

jovial warren
#

fair

#

shall we then?

unkempt tangle
#

Senpai play with me 😭

jovial warren
#

who = senpai?

prisma wave
jovial warren
#

hmm...

#

your naming ideas are about as good as mine lol

surreal quarry
#

KotlinCraft

#

KotlinSpigotCraftImplementationBukkitProvider

obtuse pulsar
#

is there a way to check if an item leaves ur inventory

jovial warren
#

some sort of interact event maybe?

#

someone help us with the name suggestions please

prisma wave
#

ElaraMC

#

Written in not elara

jovial warren
#

we are not writing a Minecraft server implementation in Elara

surreal quarry
#

McKotlin

jovial warren
#

not happening

#

nope

surreal quarry
#

Kotlin™️

obtuse gale
#

KotlinCraft fingerguns

#

MineKraft reversed_fingerguns

jovial warren
#

MineKraft is it's current name

obtuse gale
#

Minecraft™️ but made in Kotlin™️

surreal quarry
#

MineKraft is a bit of an interesting name

prisma wave
#

yeah it's definitely questionable

prisma wave
#

it'll happen

obtuse gale
#

MCK

prisma wave
#

mark my words

surreal quarry
#

bukklin

#

paperlin

#

Kotler

#

Kotlit

prisma wave
#

kukkit

#

kigot

#

kaper

jovial warren
#

lol

#

no

surreal quarry
#

Elarin

#

BungeeKord

#

lol

prisma wave
#

GoLangMC

#

wait

jovial warren
#

let's think common things

#

Tap

surreal quarry
#

KotlinMC

#

KotlinLangMC

jovial warren
#

Table

#

xD

prisma wave
#

you'll never guess who made this

surreal quarry
#

sx