#dev-general

1 messages ยท Page 316 of 1

forest pecan
#

Im going to work on Potion Effects

ocean quartz
#

Who wants to do the materials? lmao

onyx loom
#

๐Ÿ™ƒ

jovial warren
#

go for it Matt xD

ocean quartz
#

Hell no

jovial warren
onyx loom
#

whoever doesnt have a bad pc and wont crash IJ every 5 seconds

hot hull
#

ew Materials

jovial warren
#

unfortunately, that would me me Kaliber ๐Ÿ˜ฆ

forest pecan
#

Use a text editor

#

lol

jovial warren
#

I mean, we'll have a shit ton less than Spigot, since Spigot includes all the legacy materials

hot hull
#

I'd contribute, but I've no idea what/how you even do this stuff

forest pecan
#

I can give it a try

#

for Material

#

but i cant use the ide

#

obviously lol

#

im going to use notepad

#

B)

hot hull
#

Just use notepad lol

jovial warren
onyx loom
#

notepad best confirmed

jovial warren
#

and a lot of patience

hot hull
#

Still doesn't tell me much Bardy

jovial warren
#

just take a look at some examples of some packets

prisma wave
#

well to start you choose a language

jovial warren
#

using netty, we basically have to do jack shit at the protocol level

prisma wave
#

it's very important to choose a high performant language

jovial warren
#

like Kotlin

#

xD

hot hull
#

Ah yes, that's why you used Kotlin

prisma wave
#

for example golang rust or haskell

hot hull
#

big brain

jovial warren
prisma wave
#

the JVM is very inefficient when it comes to stuff like this

regal gale
#

Took long enough to play a 5 min skywars match

onyx loom
#

i wonder if its already been done in rust

prisma wave
#

yep

#

it's called Feather

onyx loom
#

ah yea i think someones already linked this actually

#

i remember the name#

#

i guess a better question, what languages dont have an mc server implementation

prisma wave
#

i dont see an f# one

#

sadly

onyx loom
#

๐Ÿคจ

#

is it time

#

ME AND YOU

prisma wave
#

YESSS

onyx loom
#

lol no

prisma wave
#

look at all of these SLOW languages

onyx loom
#

oh nice

prisma wave
#

o wtf im on there

onyx loom
#

lmao

jovial warren
#

yeah I added it earlier lol

forest pecan
#

If a potion effect id is invalid, should i return null or throw an exception?

prisma wave
#

Optional

forest pecan
#

Oh

#

uh

jovial warren
#

wait what?

#

just return null I guess

forest pecan
#

kk

prisma wave
#

Monad m =>

onyx loom
#

๐Ÿฅฒ

prisma wave
#

data Optional T = Present T | Empty

#

deriving (Show)

#

๐Ÿ™‚

old wyvern
#

Maybe IO (Maybe IO MonadIO a)

prisma wave
#

๐Ÿ™‚

ocean quartz
ocean quartz
# onyx loom ๐Ÿฅฒ

Ngl that would have been a great server if he had finished it, go would be pretty nice for performance

onyx loom
#

โ˜น๏ธ

#

it is what it is

prisma wave
#

maybe it will be revived some day

old wyvern
#

Any good xmpp clients that suppourt proxies?

prisma wave
#

essentialsxmpp

old wyvern
#

๐Ÿฅฒ

stuck harbor
#

xmpp? in this millenium?

old wyvern
#

Not particularly sure what the issue is. but yes

stuck harbor
#

man i need to make a portfolio website

hot hull
#

Same

old wyvern
#

What would be wrong with xmpp?

stuck harbor
#

but my design skills are shite :((

hot hull
old wyvern
#

@stuck harbor

hot hull
#

Ah that's linked to the gittea

#

smh

stuck harbor
#

man gitea is awesome

old wyvern
hot hull
#

Still a work in progress, not by me ofc

stuck harbor
#

if i was gonna make a portfolio website, i would encounter 1 main problem

#

i am legally required to use rust :))

#

so i would have to set up nginx reverse proxy bollocks

prisma wave
#

that's not a bad thing

#

one of the fastest web servers out there is written in rust

onyx loom
#

omg

stuck harbor
#

but bm

#

i cant design a website in html, never mind in rust

#

my website rn is just returning 418

forest pecan
old wyvern
#

Pair(id.name, id)
can be replaced with
id.name to id

forest pecan
#

damn

#

so concise

#

lol

hot hull
#

id could be private no?

forest pecan
#

yea it can

hot hull
#

Then make it

#

private everything!

forest pecan
#

yes

#

lol

#

is it this simple

#

enum class MobEffectType(private val id: Int)

#

just add private

old wyvern
#

yes

forest pecan
#

kk

hot hull
#

Why don't you add some pattern matching so the string doesn't have to match completelly fingerguns

onyx loom
#

lol

hot hull
#

As in, if you miss spelt a name it would still give you the correct one, but also print in console that you should fix it

onyx loom
#

is that convention for variables to be upper case in companion object?

forest pecan
#

i dont think so

hot hull
#

Make them constants

onyx loom
#

im pretty sure its just constants

forest pecan
#

so no uppercase?

hot hull
#

Chance val to const

forest pecan
#

oh

#

ok

#

oh it says its expecting member declaration

#

hm

#

oh i think i got it

jovial warren
#

man this is gonna get bit

hot hull
#

L

prisma wave
#

Awful

#

Delete this immediately

#

Nah it's fine

forest pecan
#

bro you fucking scared me

#

lmao

jovial warren
prisma wave
#

Lmao sorry

#

Not happy about that mutability tho

forest pecan
#

xD

#

Yea

prisma wave
#

.associateWith would be better

#

I don't think those things need to be static too

jovial warren
#

it's not JSON being bad, it's how those are stored

#

it means I have to use the same JarFile method I used for the tags

onyx loom
#

im trying to remove all mutable stuff in my project atm

#

at the same time, it makes the code smaller, so win win ๐Ÿ™‚

hot hull
#

Show code

prisma wave
#

Good good

#

Mutability bad

onyx loom
forest pecan
#

free thread safety

prisma wave
#

^^^

forest pecan
# prisma wave ^^^
   companion object {

        private val MOB_EFFECT_IDS = values()
        private val MOB_EFFECT_NAMES: Map<String, MobEffectType> = MOB_EFFECT_IDS.associate { it.name to it; }
        
        fun getFromId(id: Int): MobEffectType? {
            if (id >= 0 && id < MOB_EFFECT_IDS.size) {
                return MOB_EFFECT_IDS[id]
            }
            return null
        }
        
        fun getFromName(id: String): MobEffectType? {
            return MOB_EFFECT_NAMES[id];
        }

    }
#

is this better

hot hull
#

const

#

instead of val

forest pecan
#

oh

prisma wave
#

There's nothing there that can be a const

hot hull
#

Change it to lower case then

#

Since naming

forest pecan
#

yea i need to change lower case

prisma wave
#

uh you might wanna convert effect_ids to a list

hot hull
#

You sure this can't be a constant tho?

private val MOB_EFFECT_IDS = values()

prisma wave
#

Since arrays are mutable

prisma wave
#

The compiler isn't smart enough to tell it's a constant

forest pecan
#

private val mobEffectIds = values().toList()

hot hull
#

ew

#

listOf(values()) ?

forest pecan
#

ah

prisma wave
#

getFromId could use List.getOrNull

hot hull
#

I've not used kotlin in a yoinks, so if I say wrong shit excuse me kek

prisma wave
#

That does a different thing

forest pecan
#

yea the methods randomly dissapeared hm

#

prolly different type

prisma wave
#

Yeah listOf will return a List<Array<Blah>>

#

Rather than List<Blah>

#

Maybe remove the explicit type from mob effect names too

#

Cuz I think they're kinda ugly

half harness
#

this is why List<String> variableis better than ```
val variable

prisma wave
#

no it's not

half harness
#

i like it better

#

๐Ÿคท

prisma wave
#

have you ever used kotlin?

half harness
#

uh

steel heart
#

I like javas verbosity

prisma wave
#

lol

half harness
#

๐Ÿ™„

steel heart
#

clojkure be like f(c(d)===>>=>=)=>)>(D

onyx loom
#

๐Ÿฅฒ

prisma wave
#

๐Ÿคจ

forest pecan
#
    companion object {

        private val mobEffectIds = values().toList()
        private val mobEffectNames = mobEffectIds.associate { it.name to it; }

        fun getFromId(id: Int): MobEffectType? {
            if (id >= 0 && id < mobEffectIds.size) {
                return mobEffectIds[id]
            }
            return null
        }

        fun getFromName(id: String): MobEffectType? {
            return mobEffectNames[id]
        }

    }
steel heart
#

ah companion objects

onyx loom
#

;

#

aaaaaaaaa

forest pecan
#

Oops

hot hull
#

burn

prisma wave
#

REMOVE IT

onyx loom
#

LMAO

half harness
#

what happened

#

i left

#

and come back

#

and I see

#

REMOVE IT

forest pecan
#

i removed it

half harness
#

;-;

prisma wave
#

SEMICOLONS

half harness
#

i love semicolons

onyx loom
#

leave

forest pecan
#

๐Ÿฅฒ

half harness
#

what??

steel heart
#

they're phenomenal ;;;;;;;;;;;;;;;;;;;;

prisma wave
#

man some first class functions would be nice here

half harness
#

semicolons are useful

old wyvern
#

ya'll fighting over type and val.
Wanna knows whats actually better?

a = 1
prisma wave
#

val getFromName = mobEffectNames::get

onyx loom
#

lol

half harness
#

;

#

u forgot

prisma wave
steel heart
#

var vs let vs val

half harness
#

var

prisma wave
#

let obviously best

steel heart
#

ez var

#

indeed

half harness
#

let

jovial warren
#

val

half harness
#

val

hot hull
#

val

onyx loom
#

let > val > var

jovial warren
#

val > var > let

prisma wave
#

Ah yes, the "unbiased channel"

onyx loom
#

kek

stuck harbor
#

mmhm

half harness
#

lol

jovial warren
#

lol

prisma wave
#

The so called "free thinkers"

steel heart
#

var is good cuz it allows mutability

prisma wave
#

Wake up sheep

prisma wave
forest pecan
onyx loom
#

๐Ÿ˜„

prisma wave
#

thanks

terse temple
#

im not an expert but did my man just update 11 times in one day

forest pecan
#

LMAO

half harness
steel heart
#

tbf if you want thread safety just add synchronized

#

problem solved

forest pecan
#

ITS A SKRIPT

#

LOL

#

Skript anticheat

onyx loom
#

that moment when u havent been on spigot in ages and receive 15 updates for plugins

prisma wave
steel heart
#

stateful functions tho

#

or if its even called that

prisma wave
#

Impure

steel heart
#

ah

lunar cypress
forest pecan
steel heart
forest pecan
#

I replaced stuff like spigot's dumb potion effect names

#

like DAMAGE_BOOST

#

lmao

lunar cypress
jovial warren
#

it shouldn't be based off of Spigot pulse

forest pecan
#

yeah obv

jovial warren
#

should be based off of the official list from the notchian client

jovial warren
#

I like to use the following style of enum: ```kotlin
enum class SomeEnum(val key: NamespacedKey) {

KEY(NamespacedKey(value = "key"))

}

steel heart
#

I can pr 2 level indents

#

or like 2 spaces

#

instead of 4

forest pecan
#

pr google format for kotlin

steel heart
#

ye true

forest pecan
#

does that exist

#

lol

jovial warren
#

Google format for Kotlin?

forest pecan
#

yea

#

found this

jovial warren
#

the style is somewhat based off of the official Kotlin conventions, with a few tinkers of mine

steel heart
#

๐Ÿฅฒ

prisma wave
#

haskell format for kotlin

old wyvern
#

๐Ÿ˜ฎ

steel heart
#

wonderful idea

prisma wave
#
enum SomeEnum = 
  KEY (NamespacedKey "key")
onyx loom
#

o

jovial warren
#

no

prisma wave
#

clean

steel heart
#

looks too clean

#

nah

prisma wave
#

actually most fp languages dont have enums afaik

steel heart
#

need to be more verbose

prisma wave
#

maybe they do

jovial warren
#

rename getFromId to fromId please

#

and getFromName to fromName

#
  1. consistency
  2. the word "get" is big ew lol
old wyvern
#
fun main() 
{ println("Hello")
; println("World")
; println("!!!")
}
lunar cypress
old wyvern
#

๐Ÿคค

old wyvern
#

precisely

prisma wave
lunar cypress
#

If we're talking about ML and haskell, variants could be seen as a superset of enum in the java world

prisma wave
#
fun main = do {
  putStrLn("hello")
; putStrLn("world")
; return Unit
}
``` ๐Ÿ™‚
forest pecan
jovial warren
#

how should I turn these into objects? should I have an object per predicate or what?

old wyvern
#
add: IO<Int>
fun add = do {
  a <- getLine() 
  b <- getLine()
  val c = read(a) :: Int
  val d = read(b) :: Int
  val e = return (c + d)
  println(c * d)
  e
}
#

Haslin

prisma wave
#

add : IO<Int>?

old wyvern
#

Sure

prisma wave
#

looks horrible though ๐Ÿ™‚

old wyvern
#

๐Ÿฅฒ

forest pecan
#

Kaskell

old wyvern
#

Kothas

onyx loom
#

kasket

#

cus ima put that into the ground

old wyvern
#

Haskot

jovial warren
forest pecan
#

Hask pThot

old wyvern
prisma wave
#

idk

#

maybe ignore them for now

forest pecan
#

Did you add gamerules yet?

#

just wondering

jovial warren
#

bloody hell mate

#

we ain't that far

forest pecan
#

I can help with that

jovial warren
#

there's barely a game yet lol

forest pecan
#

true

#

lmao

jovial warren
#

no

#

stop adding things we don't need yet please ๐Ÿ™‚

#

later

forest pecan
#

kk

onyx loom
#

๐Ÿฅฒ

forest pecan
#

๐Ÿฅฒ

old wyvern
#

HelpCraft

forest pecan
#

ah shit

#

here we go again

old wyvern
#

xD

#

btw what was the actual new name?

#

kronos?

forest pecan
#

Krypton

old wyvern
#

oh

prisma wave
#
public static final IO<Void> main = () -> {
  String a <- getLine
  String b <- getLine
  int c = read(a, int.class)
  int d = read(b, int.class)
  System.out.println(c * d)
  return
}
``` ๐Ÿ™‚
old wyvern
#

๐Ÿ˜ฎ

#

Jaskell

onyx loom
#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

old wyvern
#

Fancy

jovial warren
#

@forest pecan somehow IntelliJ coped with that ez

old wyvern
#

Haslara when?

prisma wave
#

๐Ÿ˜ฎ

forest pecan
#

im on my other computer which is a shitty mac

#

prollly why

#

lol

jovial warren
#

lol

#

well I do have a decent beast

forest pecan
#

what you guys working on atm tho

jovial warren
#

Ryzen 7 3700X, 32 GB RAM

forest pecan
#

32 gigs

#

damn

jovial warren
forest pecan
#

or like what do you need help on

#

or anything lmao

#

im bored

#

xD

jovial warren
#

reading and writing anvil ๐Ÿฅฒ

forest pecan
#

the gui?

jovial warren
#

that's what I'm currently doing

forest pecan
#

and the packets

jovial warren
#

no

#

the hard one

#

the file format

forest pecan
#

Oh

#

good luck

#

๐Ÿฅฒ

jovial warren
#

Anvil is the name of the file format that stores regions

forest pecan
#

Ah

#

oh yea you have to handle saving

#

and everything as well

#

thats going to be annoying

prisma wave
#
var main func() IO = func() IO {
  a <- fmt.ReadLn
  b <- fmt.ReadLn
  return fmt.Printf("%d\n", c * d)
}
jovial warren
#

this is gonna be a mess for now lol

forest pecan
#

could i start on the material enum lol

prisma wave
#

addicted to enums

forest pecan
#

yes

jovial warren
#

we don't even have items yet though lol

forest pecan
#

well someone's gotta do it anyways lmao

prisma wave
jovial warren
jovial warren
#

I'll use NORMAL and THICK lol

forest pecan
#

Ok lol

jovial warren
#

not THICC, that's a bit too immature lol

forest pecan
#

lol

hot hull
ocean quartz
#

Thanks Github

forest pecan
#

It's all fun and games until you see "Skript"

#

at the end of the sentence

obtuse gale
#

Until you see "Sk" anywhere

prisma wave
#

Skotlin

obtuse gale
#

Get out

prisma wave
#

๐Ÿ˜œ

hot hull
prisma wave
#

try it

onyx loom
jovial warren
#

leave

#

depart

#

how should I store them?

hot hull
jovial warren
#

๐Ÿค”

prisma wave
#

haskell has pattern matching

old wyvern
#

fuzzy search might be what you meant frost

prisma wave
#

^

#

levenshtein or something

onyx loom
#

frosty i thought u were joking about that suggestion lmao

#

guess not ๐Ÿคจ

old wyvern
hot hull
#

No I'm serious, could be neat to have a seperate implementation which checked the name like that

#

So you can use it, but not forced to use it

#

In other news, got myself a chocky milk

jovial warren
#

does anyone here by any chance have a world with pretty much everything in it? (in terms of NBT tags in the chunk data lol)

#

because some of these tags are ambiguous

hot hull
#

Bardy, there's a dev world which contains every block available in the game

jovial warren
#

yeah but that's empty

forest pecan
jovial warren
#

that's not going to contain an array of liquid ticks

#

I mean list

obtuse gale
#

You can try with a debug world

hot hull
#

I mean I could ask a friend for his survival world

#

That'd be a chonk tho

old wyvern
#

convert int to boolean array? xD does he mean like the bits?

jovial warren
#

I wanted to do that the other day lol

#

it's so easy

onyx loom
#

like all of it

jovial warren
#

just the messiness scales with size

forest pecan
#

Idk lol

prisma wave
#

let asArray = 50.bitsToArray()

onyx loom
#

also

#

bollean

jovial warren
#

also, anyone agree that lists of lists are big ew

prisma wave
#

how to use bollean in if statement?

old wyvern
prisma wave
#

๐Ÿ˜Š

ocean quartz
#

@prisma wave You know if it's possible to have the Kotlin plugin not automatically implement Kotlin?

onyx loom
prisma wave
#

k thank

prisma wave
#

Why?

ocean quartz
ocean quartz
prisma wave
#

Not sure how you can disable it

surreal quarry
ocean quartz
#

Found it kotlin.stdlib.default.dependency=false

jovial warren
#

didn't even know it automatically implemented Kotlin lol

jovial warren
#

can someone please explain to me why future structures are persisted

surreal quarry
#

๐Ÿฅฒ

jovial warren
#

where dis

surreal quarry
#

a server called Dev+ you can make like a dev portfolio and people can find you

#

theres some funny ones

#

my favorite is when people say that discord.py is their best language

jovial warren
#

haha

distant sun
#

Lmao

jovial warren
#

literally a day later and I've still only done about 10% of what needs to be done for Anvil lol

#

๐Ÿฅฒ

#

currently writing structure classes

#

then I've gotta write all the block entities, all the entities, all the blocks, all the items

#

yeah this is where Minecraft starts to get big

#

and where spacing out commits starts to go out the window

steel heart
#

rewrite mc in kotlin?

jovial warren
#

I'm talking about Krypton, yes

steel heart
#

pls make everything that is possible to be based of registries

jovial warren
#

wdym?

#

if you mean make everything writable to JSON files, fuck that

steel heart
#

Items, Blocks, Entites, Goals, Models etc

#

no

#

have a registry for it

#

instead of stupid enums

#

or non at all

jovial warren
#

we use the official registries

steel heart
#

okay love you homo

obtuse gale
#

When did Paper merge the adventure PR?

distant sun
#

Neva

obtuse gale
#

2 hours ago lol

#

I literally just looked at the docs and noticed adventure classes

unkempt tangle
#

Tbh the game looks greater with woody and buzz

prisma wave
surreal quarry
unkempt tangle
ocean quartz
#

No configuration help smh

surreal quarry
forest pecan
#

So let's say I got this CompletableFuture

#

is there a way to store it in a variable such that i can check if its active

unkempt tangle
#

What do you mean?

quiet depot
#

define active

unkempt tangle
#

You checks for the callback

forest pecan
#

Meaning that the task hasn't been finished yet

#

And it is still running whatever async tasks it is doing

quiet depot
#

just check #isDone?

#

or #isComplete

#

canโ€™t remember which

forest pecan
#

Oh nvm i got it

#

yea im dumb

#

๐Ÿ™‚

obtuse gale
#

we know lol

forest pecan
unkempt tangle
#

Episode 1: https://youtu.be/HOJ7H6gh8Jo
Episode 2: https://youtu.be/pg5aBJ1LYGU
Episode 3: https://youtu.be/u3e-CUE7ljk
Episode 4: https://youtu.be/aGuHixFujHE

ะžั‚ะฟั€ะฐะฒะธะฒ ัะฒะพะธ ะทะฐัะธั„ะพะทะฝะตะฝะฝั‹ะต ั‚ั€ัƒัะตะปั ะฒะผะตัั‚ะต ั ะฟั€ะพั‚ะธะฒะฝะธะบะพะผ ะฒ ะปะพะบะดะฐัƒะฝ, ะ ะธะบะฐั€ะดะพ ะธ ะšะพั‚ ะฟั€ะพะดะพะปะถะฐัŽั‚ ะฟั‹ั‚ะฐั‚ัŒัั ะฒั‹ัะฒะพะฑะพะดะธั‚ัŒ ัะฒะพะธั… ะบะพะปะปะตะณ ะธะท ะฟะปะตะฝะฐ.

Sound track: Plan B - Stay Too Long [Pendulum re...

โ–ถ Play video
#

Dat editing

half harness
#

๐Ÿ‘€

ocean quartz
#

Die

forest pecan
#

tf?

#

how did i not know this

#

Windows Key + Period

#

press those on keyboard

#

and you get an emoji dashboard

#

(โยดโ—กโ)(โยดโ—กโ)^^^^^^^^^_^(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

#

(T_T)(T_T)(T_T)

regal gale
#

It's 24โ„ƒ today ๐Ÿ‘๏ธ

#

(โ˜ž๏พŸใƒฎ๏พŸ)โ˜ž

forest pecan
#

เฒ _เฒ 

obtuse gale
forest pecan
#

lol

obtuse gale
#

OH MAH GAHD

#

it's there

#

finally!

obtuse gale
#

:kekw:

ocean quartz
#

When you forget you're not in java and make two functions for the just a default value lmao

hot hull
#

huh?

quiet depot
#

@hot hull kotlin parameters can have defaults

#

e.g.

fun create(configClass: Class<out SettingsHolder>, mapper: PropertyMapper? = null)```
#

but that's yuck

#

willingly using null in kotlin is questionable

#

@ocean quartz why u using null?

#

o shit

#

jetbrains runtime uses dcevm now

#

in 2021 eap

old wyvern
#

๏ผˆโŠ™๏ฝโŠ™๏ผ‰

hot hull
#

@old wyvern helth

old wyvern
#

๐Ÿ˜ฎ

pliant wren
#

Hello, how can I spawn a fern block in 1.12.2? I know the type is Material.DOUBLE_PLANT but that spawn 1/2 of a sunflower. I know with an itemStack you set it's data but I don't see how I am supposed to do that with a block.

jovial warren
#

DOUBLE_PLANT isn't a fern...

#

it's a sunflower

#

fern comes under TALLGRASS

#

actually, large ferns come under DOUBLE_PLANT

hot hull
#

:kek:

jovial warren
#

depends how you create a block I suppose

#

which I don't know lol

hot hull
#

God IJ is annoying me right now "Add files to git?" and you select Don't ask me again, and the cunt keeps on asking me!

jovial warren
#

oi

#

language

#

but yeah, sounds annoying

#

big oof

hot hull
#

And I also lost the new source to the actions lib cause I'm a dumbass and didn't push latest changes before pc died

jovial warren
#

imagine losing things because of your PC

hot hull
#

I will slap you

jovial warren
#

try me

#

oh btw, you know what archiving is?

#

like where you archive a repo that shouldn't be used anymore?

#

also, you know what deleting a fork after you've got your PR merged is?

#

xD

#

oh btw, how's that world gen coming along?

hot hull
#

So many questions my brain boutta explode

jovial warren
#

lol

hot hull
#

Going fantastic

jovial warren
#

seems legit

hot hull
#

Map function broken I believe, need to further investigate, got something else to finish first tho

jovial warren
#

also, not sure if or how I should space out these commits for Anvil lol

hot hull
#

wdym?

jovial warren
#

since supporting Anvil will mean I need to write all the entities, all the blocks, all the items, the loot table system, all the stuff for all the aforementioned entities, blocks and items, all the structures, scoreboard stuff, and world stuff

#

which is very fucking big

#

still deciding on how I want to do half of this stuff

hot hull
#

Honestly just do it, there's a shit ton you're gonna change anyways later

jovial warren
#

just shove what's likely gonna be thousands of lines all in one commit?

onyx loom
#

yes

jovial warren
#

also, org.kryptonmc.krypton.space, das a noice package right there

hot hull
#

Now get cube to make some awesome art for it as well

jovial warren
#

still gotta figure out how I'm even gonna convert text SNBT to objects lol

jovial warren
hot hull
#

@pallid gale

jovial warren
#

I think how I'm gonna space this out is write all the structures and a skeleton of the chunk data and a few other things first and then work from there

#

also, fun fact

#

I asked in a services team Discord I work for yesterday how much they'd quote me for a simple site with literally 2 pages, guess what they said

#

$50-$60

hot hull
#

I'd charge you like 400 but ok

onyx loom
#

๐Ÿ™ƒ

jovial warren
#

I was like nah I'll just make it myself lol

onyx loom
#

<html></html>

jovial warren
#

all I asked for was something as simple as Paper or Geyser's site

#

and just the design

#

not sure what I wanna make the site in yet

hot hull
#

link me the site

jovial warren
#

which?

hot hull
#

I need to make a portfolio soon

#

Paper

jovial warren
#

oh also, fun fact: did you know that YouTube is actually a poorly designed SPA?

hot hull
#

I eat now

timber oak
#

How can I configure plugin.yml if I use gradle? It keeps reverting the changes I make, I know that I should make the changes in gradle instead but idk how

onyx loom
#

:what:

timber oak
#

So like I build my plugin jar with gradle, but when I build the jar it reverts the plugin.yml file

prisma wave
#

reverts it?

timber oak
#

Well like sets it back to this every time:

name: TestingPlugin
version: 1.0-SNAPSHOT
main: com.valdemarf.testingplugin.TestingPlugin
old wyvern
#

Are you using any gradle plugin to handle plugin.yml ?

timber oak
#

This is my build.gradle file

import org.apache.tools.ant.filters.ReplaceTokens

plugins {
    id 'java'
}

group = 'com.valdemarf'
version = '1.0-SNAPSHOT'

sourceCompatibility = '1.8'
targetCompatibility = '1.8'

repositories {
    mavenCentral()
    maven {
        name = 'spigotmc-repo'
        url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
    }
    maven {
        name = 'sonatype'
        url = 'https://oss.sonatype.org/content/groups/public/'
    }
}

dependencies {
    compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
}

processResources {
    from(sourceSets.main.resources.srcDirs) {
        filter ReplaceTokens, tokens: [version: version]
    }
}

task copyJar(type: Copy) {
    from jar
    into "C:/Users/Valdemar/Desktop/mc/Testing Server/plugins"
}

build.finalizedBy copyJar
timber oak
old wyvern
#

Then gradle should have nothing to do with this

#

Are you sure you saved your edit of plugin.yml?

timber oak
#

Yes, it resets the file whenever I build with gradle though

old wyvern
#

resets the file as in even in your resources directory?

timber oak
#

Not sure, got nothing other than the plugin.yml file in there

#

Doesn't reset the directory

#

Just tested

#

Only the plugin.yml file

#

I believe gradle is building the plugin.yml file as well but I'm not sure how to stop it

old wyvern
#

I meant do you mean it builds with an older version of the file or actually changes the contents of the file in your project?

timber oak
#

I think it actually just writes the entire plugin.yml file every time

old wyvern
timber oak
#

Since it get's some of the information from the build.gradle file

#

It gets the group and version from build.gradle though

old wyvern
#

That still doesnt have anything to do with this

#

Can we see your new plugin.yml

jovial warren
#

probably gonna make the site in Kotlin using Spring Web and Thymeleaf tbh

onyx loom
#

sounds like a job for niall

#

pretty sure he loves both of them ๐Ÿ˜ƒ

jovial warren
#

I mean, if he wants to give me a hand, it's gonna be open-source lol

#

it is Kotlin though

hot hull
static zealot
#

which one? the builder or the one looking for a dev team?

distant sun
#

builder for sure

#

frosty makes the best dirt huts

static zealot
#

hmm does he tho? I think mine are a bit better because I don't put a wooden door just close it with dirt

jovial warren
#

lol

jovial warren
onyx loom
#

frosty please may u make me a dirt hut ๐Ÿ˜Š

jovial warren
#

Kaliber that's not gonna be cheap

#

dirt huts are an art that takes a long time to master

hot hull
#

^

onyx loom
#

as long as its from frosty

jovial warren
#

lol

onyx loom
#

i need it crafted with such passion that only frosty has

jovial warren
#

I mean, if you wanna give Frosty free money, I'm sure he'll appreciate it lol

static zealot
#

oh I've just noticed the attempted @everyone lmao

jovial warren
#

also, anyone wanna see the DB structure I'm designing for Krypton? lol

hot hull
#

Oh yea might I say, I instantly blocked the dude

jovial warren
#

(I mean the DB structure for the API backend lol)

#

Bardy the table designer xD

#

now gotta decide which method of caching I want to use

hot hull
#

caching? Nah just pull from db everytime

old wyvern
#

impure

#

๐Ÿฅฒ

jovial warren
#

yeah because that's gonna be efficient for an API that needs to pull all the details of every project and every build ever put into the database, format them to JSON, and send them to the user

#

I'm making something like the Paper API lol

hot hull
#

I just got robbed

jovial warren
#

wat

static zealot
#

what's happening with #805698761442590730 lately? Like there's actual request with actual money xD

regal gale
#

Working with array in Lua is already annoying enough

ocean quartz
jovial warren
#

since when did pig know Kotlin

surreal quarry
#

its good to use null in kotlin afaik

#

its a null safe language

jovial warren
#

you should use null there

#

since you want to represent there being no value as the default

surreal quarry
#

maybe not in all cases but it shouldn't be avoided in all cases either

#

ye

ocean quartz
#

A null value in Kotlin is just like an optional in Java, and the parameter is optional

prisma wave
#

Just because it's null safe that doesn't mean you should be using null everywhere

static zealot
#

BM why do you hate null? Null is nice ๐Ÿ˜ฆ

jovial warren
#

yeah you shouldn't be using it everywhere, but it is necessary sometimes

prisma wave
#

A better solution might be a standard PropertyMapper implementation as the default, but that would depend on rhe method

surreal quarry
jovial warren
#

anyone remember how many times I've complained in the past about how shit Mongo is?

#

well I've changed my mind lol

surreal quarry
#

why's that

jovial warren
#

you can have fields that have multiple fields within them

#

instead of needing to relate to other tables

#

MongoDB is basically a frontend to JSON

#

which for my use is really handy

hot hull
#

When the game caps material values at 999'999 but you probs have over 2mil, sadge

stuck harbor
#

sadge

unkempt tangle
#

Explain m stale bots

forest pecan
unkempt tangle
#

What password manager do you guys use?

forest pecan
#

brain

lunar cypress
#

Bitwarden

unkempt tangle
#

Should be free ;c

#

LastPass RIP

prisma wave
#

lastpass ๐Ÿฅฒ

lunar cypress
#

Bitwarden is free and pretty good

prisma wave
#

i literally switched to lastpass like a month ago

unkempt tangle
#

Bad timing senpai

#

They changing their plan

prisma wave
#

isnt bitwarden self hosted?

static zealot
prisma wave
#

yea ๐Ÿ˜”

forest pecan
#

pdf

#

๐Ÿ’€

#

pdf with password

#

lol

ocean quartz
# forest pecan

Fun fact, a 2x2 is solved the same way as a 4x4 which is pretty different to a 3x3

prisma wave
#

๐Ÿฅฒ

forest pecan
#

๐Ÿฅฒ

unkempt tangle
#

Bitwarden looks cool

static zealot
#

:smiling_face_with_3_tears:

surreal quarry
#

Matt does mf-msg-adventure support adventures keybind
I just found this on the docs and it looks cool

unkempt tangle
#

Does google drive hosting work?

stuck harbor
#

encrypted?

lunar cypress
#

wdym

prisma wave
#

might make my own password manager

stuck harbor
#

did u encrypt the file urself

prisma wave
#

frontend in Elm, backend in Haskell and rust clojuremoon

frigid badge
#

1password is pretty good

surreal quarry
#

^

prisma wave
#

paid tho

#

but yeah

unkempt tangle
#

paid tho

frigid badge
#

I use dashlane currently

surreal quarry
frigid badge
#

I mean it's a password manager

stuck harbor
#

I use firefox password manager

frigid badge
#

and they're not expensive

stuck harbor
#

the default one

unkempt tangle
#

And mercedes is a brand for cars

stuck harbor
#

:)

frigid badge
#

I smell broke

prisma wave
#

smh

surreal quarry
#

i would write my own but I use it on like windows, linux, mobile, etc and that feels like a lot of work lol

prisma wave
#

if u can get the same thing for free, why pay

ocean quartz
frigid badge
#

I mean most password managers have a free plan though

prisma wave
#

but most free plans suck

surreal quarry
#

๐Ÿ™‚

unkempt tangle
#

Indeed.

frigid badge
#

just like most free password managers

stuck harbor
#

man flutter I almost learnt that

frigid badge
#

haven't come across a good free password manager imo

unkempt tangle
#

You literally need your password manager on your mobile device too

frigid badge
#

not that I've looked very far.

prisma wave
#

lastpass was good

#

up until recently

#

๐Ÿฅฒ

ocean quartz
#

Yeah the recent changes are pretty annoying

unkempt tangle
#

LogMeIn is ruining everything.

jovial warren
#

wait what happened to LastPass?

stuck harbor
#

reality is now owned by IBM

jovial warren
#

oh for fuck sake

unkempt tangle
#

Check your mails

jovial warren
#

fuck IBM

lunar cypress
stuck harbor
#

IBM are gonna reduce the speed of light

prisma wave
#

hmm might selfhost

#

sounds like a lot of effort tho

ocean quartz
jovial warren
#

so first, IBM buy Red Hat and kill CentOS, then they buy LastPass and ruin that too?

prisma wave
#

one device literally makes a password manager pointless

ocean quartz
#

Yeah

jovial warren
#

good job I don't use LastPass

jovial warren
#

I use Firefox Lockwise

stuck harbor
jovial warren
#

unlimited logins, syncs across all your devices for free

frigid badge
#

I don't like browser password managers

unkempt tangle
#

Possible to use it on chrome?

prisma wave
#

does bitwarden / firefox have a half-decent android app?

jovial warren
#

made by Mozilla, so it doesn't contain any paid bull shit

lunar cypress
stuck harbor
unkempt tangle
#

Senpai

jovial warren
unkempt tangle
#

It looks lightweight

stuck harbor
#

Firefox lockwise has a mobile app bm

prisma wave
#

that's good

frigid badge
#

I wish icloud keychain was better lol.

stuck harbor
#

it's called firefox

#

;)

jovial warren
#

and Lockwise doesn't contain a single paid plan

surreal quarry
unkempt tangle
#

I am scared of using firefox's services.

stuck harbor
#

man iCloud bad

frigid badge
#

I mean it works but I'd like more stuff added into it

surreal quarry
#

never tried using it crossplatform tho if thats what you mean

unkempt tangle
#

Either they revamp everything or they shut it down

#

RIP firefox send

stuck harbor
unkempt tangle
#

but bitwarden looks great

stuck harbor
#

mhm it does

unkempt tangle
#

Is it selfhosted?

jovial warren
#

I use KeePassXC for my local passwords and Lockwise for everything else

lunar cypress
unkempt tangle
#

gonna try it out.

#

Hope lastpass does it make it easy to export my stuff

stuck harbor
#

iirc it exports to a csv fine

half harness
#

I'm trying to look at some messy code to figure out how they're doing something in their plugin ๐Ÿ‘€

prisma wave
#

ok

half harness
#

heres a snippet

steel heart
#

...

onyx loom
#

aaaaaaaaaaaa

half harness
#

i dont get how they can do something so easily

#

so im trying to use this code

#

somehow

hot hull
#

@onyx loom

jovial warren
#

what are you trying to do dkim?

hot hull
#

So much wrong with that screenshot

half harness
hot hull
#

Like legit everything is wrong with it lol

half harness
#

well i mean

#

they managed to do what i want to do

#

so im trying to clean up the code

#

and use it somehow

jovial warren
#

oh ffs

half harness
#

last one, I promise

jovial warren
#

you know you can do this with InventoryInteractEvent right?

half harness
#

uh

#

i did not know that existed

#

d;spigot Inventoryinteractevent

ruby craterBOT
#
public abstract class InventoryInteractEvent
extends InventoryEvent
implements Cancellable```
InventoryInteractEvent has 3 sub classes, 1 all implementations, 6 methods, 1 implementations, and  1 extensions.
Description:

An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.

half harness
#

its abstract

#

-_-

jovial warren
#

look at the impls

half harness
#

d;sub_classes spigot InventoryInteractEvent

ruby craterBOT
half harness
#

o

jovial warren
#

click event is probably the one you want

half harness
#

yes

hot hull
#

I just want to drop this here to tell you all how famous I am

half harness
#

๐Ÿ˜ฎ

jovial warren
#

somehow I have 4 followers lol

#

2 of them I actually know

half harness
#

lol

#

i have 1 i think

jovial warren
#

I also follow 4 people

#

and only one of them follows me back ๐Ÿ˜ฆ

hot hull
#

I follow 5

#

two of them don't follow me back

static zealot
hot hull
#

And those two are Gian and Piggy

jovial warren
#

I somehow have 14 stars though

unkempt tangle
#

Already encountered an flaw with bitwarden ๐Ÿ˜ญ

#

autofil isn't working properly

jovial warren
#

or is that me giving 14 stars

onyx loom
hot hull
#

I have 3 stars :sad:

unkempt tangle
#

on smartphone

hot hull
static zealot
#

U don't deserve any of those followers Frosty

#

you're an asshole

hot hull
#

wow

#

:c

onyx loom
#

did

unkempt tangle
#

dont be a meany

onyx loom
#

it was eh

static zealot
#

u said if I follow you'll follow back but you didn't. now you have 14 followers

hot hull
#

bruh when did you say that

ocean quartz
#

Opinions on this?

hot hull
#

You don't even follow me?

hot hull
static zealot
#

I unfollowed you 15 seconds ago

#

when you started to brag about those 15 followers

hot hull
#

I still have 15

#

So idk what you on about

static zealot
#

well someone followed you

half harness
#

lol

hot hull
#

You never followed me

#

And you're calling me an asshole!

half harness
static zealot
#

yes you are. and yes I did

#

follow you

onyx loom
static zealot
#

Remence had to follow me to make me feel good for you lying

hot hull
#

What's your GH?

surreal quarry
onyx loom
#

show code pl0x

#

i wanna copy fingerguns

hot hull
half harness
hot hull
#

Either I'm blind, or you're a liar!

onyx loom
#

๐Ÿ˜‘

half harness
hot hull
#

oh wow there's only 14 but it says I have 15 followers

jovial warren
#

pl0x = please in Kalilangโ„ข๏ธ

hot hull
#

Github on some crack

half harness
static zealot
#

as I said

unkempt tangle
#

bitwarden subreddit is full of lastpass bashing.

static zealot
#

I unfollowed

#

a few minutes ago

#

Frosty

onyx loom
#

rude

stuck harbor
#

wow

#

rude

jovial warren
#

lol

hot hull
#

@ocean quartz โค๏ธ

unkempt tangle
static zealot
#

you don't deserve my follow

half harness
hot hull
half harness
#

lol

#

didn't he change his username?

ocean quartz
# onyx loom show code pl0x

I'll show in a sec
Only downside is that I need to have a function with it, need to think of a better way to do it, but that's for later

static zealot
stuck harbor
#

I hate how kotlin defines methods, assuming I am having fun

hot hull
#

update your link on discord

static zealot
#

oh

ocean quartz
stuck harbor
#

clojure tho

onyx loom
#

kotlin is very fun

#

defn ๐Ÿคฃ

stuck harbor
#

clojure has fun killing ur shift key

#

yes defn

#

good

static zealot
#

done

#

btw I followed back frosty

onyx loom
static zealot
#

I just wanted to let you know how bad you are

forest pecan
#

hey i will drop a follow

stuck harbor
forest pecan
#

a pity follow

stuck harbor
#

my github is barren

#

cause I always work on bloody private repos

onyx loom
#

follow me i promise i have many great projects

stuck harbor
#

shakes fist

hot hull
#

Yugi dissapointed me

stuck harbor
#

how so?

hot hull
#

He said he was gonna come on wf in 30min, it's been like 2 hours

stuck harbor
#

warframe? bad

static zealot
#

Frosty btw do you know those are the stars you gave? not the stars you received? I think

hot hull
#

oh

#

I see now yea

hot hull
stuck harbor
#

no u

jovial warren
#

just programming in general

prisma wave
#

let fun

old wyvern
#

Sorry but fun exists only in the truely pure haskell ๐Ÿฅณ

jovial warren
#

let fun => null

prisma wave
#

null?

jovial warren
#

or whatever the type representing nothing in Elara is

prisma wave
#

who do you think we are

old wyvern
#

null bad

prisma wave
#

Nothing

distant sun
#

Nill

old wyvern
#

Nil bad

#

Nill bad

prisma wave
#

nil uh

jovial warren
#

let fun => Nothing xD

prisma wave
#

sure

#

that would be valid

#

just kinda useless lol

distant sun
#

let fun => WatchingPron

steel heart
#

let joeMama: MAMA => JOE = MAMA => JOE(MMAMA)

prisma wave
#

jesus

hot hull
#

Jesus can't help you anymore

jovial warren
#

lol

hot hull