#help-development

1 messages · Page 443 of 1

young knoll
#

Not really

#

4mb when shaded

#

I just think they are great tool that should 100% be considered api

naive loom
#

Can someone help me with how I should gradually move a entity with no AI gradually in like 5sec to another location?

young knoll
remote swallow
young knoll
#

I mean

#

Nothing stops you from shading it

remote swallow
#

not everyone would know its a thing

young knoll
#

I wonder if the malware situation is different on forge and fabric

remote swallow
#

yes

#

client side stuff

young knoll
#

I don’t hear much about it there, but I’m not active in those communities so that’s probably why

remote swallow
#

password stealing

river oracle
#

any idea why spigot doesn't have mixins?

#

is it just like a trust thing

young knoll
#

I’m going to go with 2 reasons

#
  1. Security
#
  1. mixins are based on the implementation, which isn’t api
#

I don’t know about MDs thought on it though, I don’t think I’ve ever seen him say anything

weak kayak
river oracle
#

I mean spigot has a much lower barrier to entry than other modding api's

#

which is just kind of a fact

weak kayak
river oracle
young knoll
#

No

#

I’m not really sure what the security impact would be

#

You can already do a ton of stuff with http libraries, asm, etc

river oracle
#

its a possability that md would just prefer people comitting api

young knoll
#

Probably

#

But some things would never really work as an api

river oracle
#

I'd need examples because I'm not sure what'd you'd mixin for spigot api lo

young knoll
#

I mean the thing that I’ve been looking at lately is pistons moving tile entities

river oracle
#

true thats kinda specific

young knoll
#

It’s a hard thing to provide an api for because it’s basically either an on or an off

#

Bukkit.enablePistonsMovingTileEntities() would be kind of weird

river oracle
young knoll
#

:p

#

I’m sure there’s definite use cases for mixins that wouldn’t really make sense as an api

#

But idk if it’s really that many

river oracle
#

have you talked to anyone about the possability of doing something like that without having to fork the server

young knoll
#

Not really

river oracle
#

I think that'd be an interesting discussion

young knoll
#

#general message

river oracle
#

I still have to discuss whether I should actually PR the inventory title change API

young knoll
#

Choco has commented on it

#

Ah you mean the thing based on kind of a weird quirk in the client

river oracle
young knoll
#

It seems like a fairly quick api to make, so even if the PR got denied I don’t think it would be a huge time loss

river oracle
#

I've never made a PR before lol so I'd have to set everything up

young knoll
#

Fair

river oracle
#

I might this week

#

just go for it

tender shard
#

you just clone it and run .applyPatches <path/to/buildtools/work/decompile-1237151826518235612856128612/

young knoll
#

You can also just run buildtools

tender shard
#

you won't even need makePatches.sh if you don't change NMS classes, probably only craftbukkit classes

young knoll
#

Handles it all for you

tender shard
#

yeah but then you gotta adjust the git remote

#

anyway, both only takes a few seconds

hallow quiver
#

Hi all, I managed to get my weapon to book enchantment swap plugin working, however the resulting enchanted book can't actually be used to enchant other items and has blue text instead of yellow like its supposed too. Any ideas?

young knoll
#

I develop against spigot-api and spigot-server

#

The only problem with that is I need to be careful not to commit the old spigot-only patches to cb/Bukkit

river oracle
#

wouldn't I have to clone both Craft Bukkit and Bukkit

#

and edit both or sum

tender shard
#

yes

remote swallow
#

bukkit for the methods in the interface(s), craftbukkit for the impl of that

young knoll
#

It’s kind of weird having 2 copies of each

river oracle
#

I'll just ask questions tomorrow if I run into issues

#

lol

#

I haven't installed vscode yet

#

I just switched to fedora today

tender shard
#

bukkit-parent
| - bukkit-api
| - craftbukkit

young knoll
#

Don’t forget to run mvn package with -P development :p

tender shard
#

yeah otherwise people will complain that you missed a space before a paranthesis lol

river oracle
#

does CraftBukkit use moj maps

#

no but you should use them

#

not using the maps would be braindead

tender shard
river oracle
#

😭

#

pain

#

finding obfuscated names

hallow quiver
young knoll
#

Craftbukkit has most things mapped though

#

Not with mojmap but yeah

hallow quiver
#

I can't post a pic

river oracle
#

?img

undone axleBOT
river oracle
#

?paste

undone axleBOT
river oracle
#

I'd prefer paste

#

but you could use ?img

tender shard
#

!verify

undone axleBOT
#

Usage: !verify <forums username>

hallow quiver
#

I don't have an account -_-

#

one sec lol

tender shard
#

make one, or use imgur etc

jagged monolith
#

When showing code, paste is always preferred over screenshots.

tender shard
#

yeah

#

?paste

undone axleBOT
tender shard
#

?toothpaste

hallow quiver
weak kayak
#

what am i supposed to make my cereal with now

tender shard
#

apple juice

jagged monolith
weak kayak
#

no that's evil

quaint mantle
#

didnt you play on going to sleep

weak kayak
#

i'd rather do OK

#

OJ

weak kayak
river oracle
#

they are in an enum

#

I guess if you wanna future proof

weak kayak
#

i am unable to can sleep

quaint mantle
#

damn

tender shard
river oracle
#

but its not a huge deal to go back with ctrl + shift + f and change it all

young knoll
#

== should still be fine after the change

#

Since they will be final fields

river oracle
#

yeah well than in that case I don't see why .equals would be better at all

hallow quiver
#

That bits not the problem tbh, its just the fact I can't use the enchanted books because its not actually returning me an 'power i enchanted book' Its returning me with an enchanted, enchanted book if that makes sense?

quaint mantle
tender shard
#

enchanted books are not enchanted

hallow quiver
#

Yeah that'll prob be it

weak kayak
#

covfefe usually helps me sleep ironically

quaint mantle
#

damn

hallow quiver
#

Is it easy to implement?

tender shard
#

cast the itemmeta to EnchantmentStorageMEta, then use addStoredEnchant or whatever

weak kayak
hallow quiver
young knoll
#

Spigot custom enchantment api when

quaint mantle
#

Can someone explain to me why exactlaclty this is even necesarry

young knoll
#

Sender can be not a player

quaint mantle
#

how

young knoll
#

It may be an entity, a command block, or console

quaint mantle
#

oh

hallow quiver
#

Can custom enchants be detected with getEnchants?

young knoll
#

Are you adding them via the Enchantment class

#

If so, yes

hallow quiver
#

idk about the custom enchants, its someone else's plugin

weak kayak
#

you could try looking at its source, by either decompiling or going to whatever the source code link on the plugin's page leads you to

hallow quiver
#

hmm, its excellentenchants so they might be something on the github i suppose

#

Will ask on discord 🤷‍♂️

weak kayak
#

good luck

final monolith
#

is it possible to change the color of a nether portal? like the april fools update

weak kayak
#

to my knowledge, not without a mod

young knoll
#

Without a resource pack, no

final monolith
#

maybe custom textures? 🤔

weak kayak
#

or a resource pack

final monolith
#

i will search about, thanks 🙂

weak kayak
#

good luck

young knoll
#

With a resource pack sure, you can use custom model data and leather horse armor

weak kayak
#

totally forgot about resource packs lol

worldly ingot
#

Yeah you wouldn't be able to change the block itself. It would have to be a colored item or something

#

The portal block doesn't have a color state

young knoll
#

Sadly

#

They should have kept the weird portal

bold vessel
#

Hi ! I want to make a things when player click on a custom black glazed terracota with a custom id or a way to do it and hen we click on it a custom inventory interface open

#

Som1 have and idea how ican do it

young knoll
#

Store some kind of PDC on the block* to identify it

zenith crescent
bold vessel
#

thx

weak kayak
final monolith
young knoll
#

No reason to add another dimension when the existing ones still need work

#

Particularly the end

weak kayak
#

it's math

young knoll
#

You know instead of talking about mixins in spigot

#

What if we had mixouts instead

quaint mantle
#

what are mixins

weak kayak
#

have you heard about mixers

#

well mixins are completely unrelated

quaint mantle
#

oh

#

well

weak kayak
#

basically farting code into stuff through bytecode manipulation or smth

winged anvil
#

sounds fun

quaint mantle
#

i didnt understand half of that but i dont think i even want to

#

so im fine

young knoll
#

It’s a library that uses ASM to modify code at runtime

weak kayak
#

it's 3:25 and my brain is on battery save mode, i definitely worded it weird

young knoll
#

Without you having to write bytecode

weak kayak
#

yes what coll said

weak kayak
#

no problem i take all the credit i am the sole contributor
jkjkjkjk

quaint mantle
#

i think i fucked up my friends lobbysystem

#

eh what ever its his plugin so he will have to fix that

weak kayak
#

seems like a text encoding bug like the one we saw a few hours earlier

quaint mantle
#

yh probally

#

but i wont bother fixing it i only wanted to change 1 line man qwq

weak kayak
#

lol

final monolith
#

i had the same problem a time ago

quaint mantle
#

its not my project i importet it wrong so probally not

final monolith
#

lol

worldly ingot
#

And this is why you always specify an encoding in your project config >:((

quaint mantle
#

x)

echo basalt
#

can't sleep

#

it's 2:30am

young knoll
#

The newest version of eclipse keeps yelling at me about encoding

weak kayak
#

welcome to the club

echo basalt
#

so I'll just make empty methods for my team to work on and just do everything else

weak kayak
#

3:31 for me

young knoll
#

Lol

quaint mantle
#

same

quaint mantle
weak kayak
#

sleep deprivation gang lesgo

young knoll
#

Tbf naming methods is the hardest part

#

:p

weak kayak
#

agreed

quaint mantle
#

fr

#

and then i sit there 10 minutes later renaming half of my stuff

weak meteor
#

someone knows a plugin for 1.16.5 that works with vault?

#

cant find a single one

young knoll
#

Essentials

#

X

weak kayak
#

man if i ever become a parent i'm gonna have a hard time naming my child judging by how i name my methods and classes

weak meteor
#

thanls

young knoll
#

Are you saying I can’t name my child AbstractStorageManager

quaint mantle
weak meteor
#

how tf a plugin can weight 2.9mb

young knoll
#

It has a fair amount of features

#

Idk how much of that is shaded libs though

quaint mantle
worldly ingot
weak meteor
#

cheseborger??!

quaint mantle
#

yes.

weak meteor
#

Favorite plugin from now

worldly ingot
#

I have my workspace encoding set to UTF-8 but that doesn't matter because it wants it set explicitly on each project in my workspace... which defeats the entire purpose of a workspace encoding. So I disabled the warning

weak kayak
quaint mantle
#

can i still modify a inverntory after opening it from a different class?

young knoll
#

Yes

#

Idk if that updates the opened version though?

#

I think it will

weak kayak
#

probably maybe

quaint mantle
#

i open this inventory from a different class but i want to change the head to the opponents head wich i can only have in the commands class

weak meteor
#

i was going to debug my plugin that has the vault api integrated without having vault in my server, im a good

weak meteor
quaint mantle
young knoll
#

Hey Microsoft owns Mojang now

#

Maybe we’ll get some cross program functionality with excel soon

quaint mantle
#

finally i can slay the enderdragon in powerpoint

weak meteor
#

What?

[20:39:14 ERROR]: Could not pass event InventoryClickEvent to AnvilRPG v1.0
java.lang.NullPointerException: null
        at cirosanchezb.anvilrpg.AnvilRPGPlugin.onInventoryClick(AnvilRPGPlugin.java:297) ~[?:?]```

Code: ```java
if (event.getCurrentItem().getType() == Material.LIME_WOOL) {
                    ItemStack slot11 = event.getInventory().getItem(11); // Line 297
                    ItemStack slot15 = event.getInventory().getItem(15);

                    if (slot11 != null || slot15 != null){
                        if (mats().contains(slot11.getType()) && slot15.getType() == Material.ENCHANTED_BOOK){
                            if (econ.getBalance((OfflinePlayer) event.getWhoClicked()) > 1000){```

Inv:
#

well at least i got my items back when i closed the inv lol

young knoll
#

What’s line 297

weak meteor
#

ItemStack slot11 = event.getInventory().getItem(11); // Line 297

worldly ingot
young knoll
#

I mean think about it

#

Excel is grid based

#

And so is minecraft

quaint mantle
#

you onto something

weak meteor
#

Excel is a fucking steroid-based calculator+

quaint mantle
#

they should hire you at microsoft

young knoll
#

Mojang should hire me

#

I’ll fix all their half finished stuff

weak meteor
#

lol

young knoll
#

And then add guns!

quaint mantle
#

maybe they will finally put some effort into the updates and not only the april fools versions

weak meteor
#

@young knoll wanna know smthing funny?

#

i literally just re-build the plugin

#

and worked

#

💀

quaint mantle
#

skill issue tbh

young knoll
#

Like Mojang why didn’t you finish waterlogging

#

Why don’t we have movable tile entities like bedrock

#

Plz

quaint mantle
#

yeah 😭

young knoll
#

I guess bedrock has its share of issues too

#

They don’t have banner shields afaik

river oracle
#

no banner shields hahhaha

#

L

#

imjaginme

quaint mantle
#

i feel like mojag should just hire mod creators tbh

river oracle
#

they do

#

:P

quaint mantle
#

wait really?

worldly ingot
#

Yep, a lot of their recent hires are modders

quaint mantle
#

damn

young knoll
#

Gnembon is a hire, they made the carpet mod

#

Kingbdogz made aether

#

Dinenrbunny started Bukkit

river oracle
#

if you ever say "This game doesn't feel like vanilla anymore" Its because they hired modders overthrow mojang and fire them

worldly ingot
#

Fry, Gnembon, Kingbdogz, to name a few

#

The panda guy too. I can't remember his name

#

Starts with a u

lost matrix
#

Yeah you can see that they have modders when looking at the april fools update

young knoll
#

uPanda

quaint mantle
#

xDDD

river oracle
young knoll
#

Meh

quaint mantle
#

yh fr

young knoll
#

They are always pretty cool

river oracle
#

yeah

quaint mantle
#

would be funny to play with friends ig

#

just gotta find friends first

river oracle
#

L get friends nerd

young knoll
#

They made a block that only works in closed spaces, which intrigues me

lost matrix
young knoll
#

Maybe we’ll get them

river oracle
#

I wonder why they aren't natively in

worldly ingot
#

Ulraf. Just remembered his name lol

young knoll
#

They do tend to keep some April fools features

river oracle
#

what did ulraf make?

lost matrix
young knoll
#

Custom dimensions from winfinite was kept

worldly ingot
#

Xilefian as well

river oracle
#

still useful utility

young knoll
#

Display entities have no gameplay use

#

Not yet anyway

#

But they got added

quaint mantle
#

when did all this hireing happen i didnt hear anything about it

river oracle
#

but they are hella useful for creators

lost matrix
#

Mojang didnt care about utility for years now. 1.19.4 was one of the updates in a long time that
had actual utility in it

young knoll
#

They had a use in the April fools update this year!!!!!1111

#

That counts

river oracle
#

fr

young knoll
#

Mojang has always been decent to the community

river oracle
#

the company we don't deserve uwu

young knoll
#

Data driven biomes in 1.16, data driven structures in 1.18, display entities in 1.19.4

#

RGB in 1.16 as well

#

Im sure they could do more, but it could be much worse

quaint mantle
#

i gotta get back to coding see yall

lost matrix
#

We dont need much more before we can mimic mods with plugins + a resourcepack.
Native support for custom widgets and custom blocks.

young knoll
#

Custom blocks plz

river oracle
#

we still need custom blocks :(

young knoll
#

Looking at you bedrock edition

wet breach
young knoll
river oracle
#

they don't need to do anything with excel

#

just add word

#

you can do remote code execution with that anyways

#

:P

young knoll
#

They should have kept log4jshell

river oracle
#

yeah lowkey

young knoll
#

It was great for content creators

#

:p

river oracle
#

yeah

wet breach
#

yeah but unlike excel you don't need to learn much to use word, excel on the other hand you need to learn how to call things from other cells and other pages and even at times from a DB

#

but all that stuff is only useful exclusively to excel lol

echo basalt
#

does anyone know if there are any unused pixels in the minecraft skin png?

#

I just want a lil magical pixel where I can set a color for automatic detection

young knoll
#

Yes

#

A lot of them

echo basalt
#

like

livid dove
#

*here

echo basalt
#

is there a weird corner I can just set a single pixel?

river oracle
#

that way we have the best of both worlds

wet breach
lost matrix
young knoll
#

They should make all the code data driven

echo basalt
#

well

young knoll
#

Don’t question how

echo basalt
#

I can create a .yml file containing a single color that I should match for

#

I'm doing a funky system where you can replace certain colors in a player's skin with another skin

young knoll
#

Make all the code interpreted

echo basalt
#

kinda like transparency

young knoll
#

JavaScript

echo basalt
#

but skin layers already use transparency for other stuff

young knoll
#

Only the outer layers

quaint mantle
#

as asked early how can i edit parts of my gui now

wet breach
#

minecraft skins are 64x64. There is many of the pixels that are not used

lost matrix
echo basalt
#

wouldn't say so

wet breach
#

you can put binary data in other places if you want

echo basalt
#

I wonder if my team members have a hex editor

#

maybe I could just use the file name

wet breach
#

as I said the skin file is 64x64

echo basalt
#

or hardcode a color

wet breach
#

so that means all the areas that are not used you can essentially put whatever data you want

echo basalt
#

file name is gonna be used for something else hmm

#

I really want to avoid making a .yml for a single color

lost matrix
#

Does anyone use the Mineskin client from inventivetalent?
It looks like its broken... Can anyone confirm?

echo basalt
#

my team made our own wrapper

young knoll
#

Looks like the pixel at 0,0 is conveniently unused

lost matrix
echo basalt
#

and we're on the process of actually improving so I can get you a private thing like tomorrow

wet breach
#

avoids the math with 0's

echo basalt
#

yeah I was thinking that

#

might help out honestly

lost matrix
#

Eh ill just Jsoup query the api

wet breach
#

always hate doing math with 0's >>

#

but seems so does mojang 😛

weak kayak
#

i love soup

echo basalt
#

copilot learning real good

tribal quarry
weak kayak
#

coworker name
skin module

#

skinwalker??????

echo basalt
#

alan walker

lost matrix
tribal quarry
#

Anybody netfilter expert?

young knoll
#

Instead of PRing to spigot

#

We just pair program with MD

wet breach
young knoll
#

The future is now

weak kayak
#

me omw to roleplay at the spigotmc forums

young knoll
#

Shh

#

That part is a secret

weak kayak
#

oh my bad

#

mustn't expose the secret

tribal quarry
# wet breach whats up?

I want to run a task async on kernel space, and I want to pass in arguments, how can I do it?, There is no struct or any definition on kernel API docs

lost matrix
young knoll
#

The spigot RP club meets underground in the outback on thursdays

wet breach
#

otherwise you can't access that once OS loads

tribal quarry
#

wdym

wet breach
#

kernel space is protected

tribal quarry
#

nvm forget it

young knoll
#

Kernal Space Program

wet breach
#

kerbal?

lost matrix
wet breach
#

better question is why are we wanting to access kernel space to begin with lmao

echo basalt
#

crazy to think I worked more on a single day than the entire past week

#

this week's invoice is gonna be good swagcircle

weak kayak
wet breach
#

not saying it is impossible to access kernel space, but in order to do so you would need a driver or module at boot time to load to even have the ability to do it since once the OS loads, nothing else is allowed to access that area, at least not without causing some kind of kernel panic

weak kayak
#

centukcy phried tchikcen

lost matrix
tribal quarry
#

nope, I meant queue_task function doesn't get any arguments unlike pthread_create in user space

lost matrix
#

Well it gets a reference to a task and a timer

quaint mantle
#

can someone tell my why in the output the clay etc aint collored

wet breach
#

alright well that guide is on creating a kernel module which is inline with what I said you would need to access kernel space 🙂

tribal quarry
#

Oh sorry

wet breach
#

do note though, once you create your module you will have to define it in the appropriate places with modprob and place it in the area it needs to go in

tribal quarry
#

Struct task has a data parameter with type of void pointer nvm

#

I think I haven't looked close enough

young knoll
lost matrix
quaint mantle
#

at the end

tribal quarry
#

Look in the function

lost matrix
#

This grey means unused

quaint mantle
#

yh i got my mistake xd

tribal quarry
#

👀

tribal quarry
echo basalt
#

some humans are mistakes too

tribal quarry
echo basalt
#

well

#

I'm a mistake

tribal quarry
#

Bruh

rough ibex
#

maybe the universe was a mistake

#

god spilled coffee on the control panel and now here we are

young knoll
#

In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.

quaint mantle
#

and im sure a great human too

echo basalt
#

I am indeed a great dev

#

great human is debatable

#

but I'm still a mistake ;)

tribal quarry
#

Ok this joke ain't funny

#

Stop it

echo basalt
quaint mantle
#

mods please allow me to send stickers from other discords

#

i wanna use my capybara stickers

echo basalt
#

become a nitro booster

young knoll
#

You gotta boost for dat

quaint mantle
#

aight bet

echo basalt
young knoll
#

We have gifs though

quaint mantle
#

nvm im doing that later.

weak kayak
#

capybara.

echo basalt
#

broke

weak kayak
#

bloke

quaint mantle
#

indeed

echo basalt
quaint mantle
echo basalt
#

mood

lost matrix
young knoll
#

Comma confused me for a second there

echo basalt
#

got 40€ on the wallet and a new pair of pants is 40€

lost matrix
young knoll
#

Thought it was €3600x

quaint mantle
quaint mantle
weak kayak
young knoll
#

PayPal will send the debt collectors after you

echo basalt
#

yeah I've had negative paypal balance before

#

paypal doesn't send debt collectors under a certain amount

weak kayak
#

mine's sitting at about a hundo rn

young knoll
#

That’s what you think until the robots come

echo basalt
#

I know a guy that used a fake passport and got 32k in debt to paypal and they just don't give a fuck

#

he also got another account 16k in the red

quaint mantle
#

a friend of mine got a letter bc he was 50€ in debt for like a month and he had to pay more

quaint mantle
echo basalt
#

business account is cool

#

they give you a debit card

weak kayak
#

oh dope, i have a business acc

young knoll
#

I need to set up a business account

#

But effort

quaint mantle
#

what is a business acccount foir

young knoll
#

They want my ssn and a blood sample

weak kayak
young knoll
#

Idk where I’m supposed to put the blood

weak kayak
weak kayak
#

(tldr no clue i just chose it bc fun)

quaint mantle
weak kayak
echo basalt
quaint mantle
echo basalt
#

ehh

#

rich boy

#

I got like 100 bucks on paypal

weak kayak
echo basalt
#

and that's about it

weak kayak
echo basalt
#

that card is a lifesaver though

lost matrix
echo basalt
#

gives cash back

echo basalt
weak kayak
#

about 100 euros and like, 7 cents

echo basalt
#

well

quaint mantle
#

i gotta go beg for money in vr chat or what

weak kayak
#

yes

quaint mantle
#

homeless ingame

echo basalt
#

I have cash on multiple forms

quaint mantle
#

what

weak kayak
#

how tf do i get me a paypal card

echo basalt
#

got like 40 bucks on the wallet, 50 bucks in crypto

lost matrix
echo basalt
#

10 bucks on the bank skulle

young knoll
#

*40 bucks in crypto

echo basalt
lost matrix
young knoll
#

*30 bucks in crypto

quaint mantle
weak kayak
#

how do i request one

echo basalt
#

business card is easy

weak kayak
quaint mantle
echo basalt
#

make a business account in one of the few approved countries

#

and verify your identity

#

that's it

quaint mantle
echo basalt
#

also add a bank maybe

lost matrix
#

I worked for a crypto company for a while. They throw with money around them like crazy...
But mojang TOS bombed them

quaint mantle
echo basalt
#

was making like 8k/mo during peak season

weak kayak
#

i have a business account

echo basalt
weak kayak
#

i just have no clue how to request the card

echo basalt
#

go on your business app center

lost matrix
#

It makes me feel like im reading code from Bettanation

weak kayak
echo basalt
quaint mantle
young knoll
#

Decompiled code be wack sometimes

weak kayak
echo basalt
#

seems like it

quaint mantle
#

damn nice

young knoll
#

Yeah but the logic still gets all wacky after decompiling

quaint mantle
# echo basalt

also great that i dont get a single german search result despite me literally living there

echo basalt
#

you're simply inferior

sterile token
#

Why doing castings?

bold vessel
bold vessel
young knoll
#

When even is pi in java

#

How many decimals did they go to

quaint mantle
#

random question. Will they leave the files for the april updates in the next updates?

echo basalt
#

fuckin

#

look it up

young knoll
#

No

#

That’s effort

echo basalt
#

20 decimals

sterile token
bold vessel
#

Its a spigot plugin too

young knoll
#

That’s pretty good

remote swallow
#

if you dont know what a field or variable is

#

?learnjava

undone axleBOT
echo basalt
#

I swear half the questions can be answered with

#

looking it up

young knoll
#

Shh

quaint mantle
young knoll
#

NASA only uses 15 digits

worldly ingot
#

There is a moon plugin

echo basalt
#

it seriously seems like I'm the only one abusing middle clicking

young knoll
#

Therefor we can java to the moon

#

Didn’t dinnerbone make a moon plugin to show off the old worldgen api

worldly ingot
#

One of the first ever Bukkit plugins, actually, was a moon plugin

echo basalt
#

IntellIJ becomes really powerful once you get a mouse with middleclick, back and forth buttons

young knoll
#

I do have that kind of mouse

#

But that’s all the way over on my desk

rough ibex
echo basalt
#

and illusion's approximation:
It's a fuckin circle

young knoll
#

I only assume pi is tasty

echo basalt
#

problem solved

#

I sleep

#

well

#

not tonight because insomnia

young knoll
#

Oh no

#

Watch out for phantoms

sterile token
#

Why java numbering is so bad?

young knoll
#

What

lost matrix
#

XD

#

True. You remember that 27 or 31 that used to be so bugged in java?

sterile token
echo basalt
#

make an enum with 1000 values and solve it yourselv

lost matrix
young knoll
#

I remember that old java bug where 72 == 29

sterile token
#

And that why Java is not used for banks backends

lost matrix
#

That is straight up not true... You remember Goldman-Sachs collections?
A whole primitive collection library from one of the biggest banks?

young knoll
#

Floats and doubles aren’t meant for currency

#

In any language

lost matrix
#

Java is pretty much the dominating language in the enterprise space

echo basalt
#

my brother worked for the company that owns my country's ATM network

#

the entire backend is done in java

young knoll
#

Why not brainfuck

echo basalt
#

between the ATMs themselves, internal tests, even the mobile app

#

even lidl's self checkouts use java

lost matrix
#

Imagine if you would use C++ and something segfaults because one of the
system has a weird OS or processor...

young knoll
#

3 billion machines run java

echo basalt
#

I've seen one run into an OOM error

young knoll
#

Thanks inflation

#

I don’t have enough RAM to hold these big numbers smh

echo basalt
#

probably got a memo leak

lost matrix
#

I can imagine that too.

echo basalt
#

but their new machines are hella responsive

#

you just pass the product near and it's instantly scanned

young knoll
#

They stored player references and forgot to remove them on disconnect

#

Smh

echo basalt
#

unlike other automatic machines where you gotta spin the object for half an hour

echo basalt
young knoll
#

Aww shit

lost matrix
#

Reminds me of a mem leak i found because my laptop only had 32G of ram but all the senior devs who
wrote that piece and ran the unit tests had 64G so they never encountered it.

echo basalt
#

my laptop only had 32G of ram

#

mans flexing on us

#

my desktop got 32gb

#

:/

#

there's always that one mf at work with a laptop that got 128gb ram

young knoll
#

Mine has 16

lost matrix
#

Was issued by the company. Still have that thing. Never gonna touch it. Its apple garbage.

#

Battery probably dead as well because i never hooked it up...

echo basalt
#

I have a spare laptop

#

might sell it

#

mcdonalds increased their prices

#

the cash would be helpful

lost matrix
#

Do you have omega long fries as well?

echo basalt
#

no

#

I skip the fries

lost matrix
#

Yeah same here

echo basalt
#

but I get a borger and then add extra meat

#

and then nuggets

#

and it comes out to like 12$

#

shit's expensive nowadays

#

2 tuna cans, a coffee and a red bull was 10€

lost matrix
#

Havent been to mc for years...

echo basalt
#

haven't been there since like last year

#

I'll finally be free from my studies like

#

next month

lost matrix
echo basalt
#

and I'll have time to actually cook

#

as I did a lil scheme with school to be an intern at the company I lead

#

so I don't have to get an internship elsewhere

lost matrix
#

I actually have a salad-riot-threshold price after which i will simply
go on the streets and riot.

young knoll
#

Unpaid intern and CEO

echo basalt
#

salad is cool but it doesn't fill me up

#

ngl my lunch has kept me satiated for way too long

lost matrix
#

I pack it with tons of proteins. Tuna and Mozzarella.

echo basalt
#

it never filled me up but I haven't felt hungry in nearly 10 hours

lost matrix
#

Too many carbs i suppose

#

Or fiber

echo basalt
#

a few

#

grilled chicken with uhh

#

some fries

#

I usually get fries + rice

#

but don't feel like eating rice today

lost matrix
#

You... eat fries with rice?

echo basalt
#

it's healthier than pizza 9 times per week

#

no sauce, no nothing

lost matrix
#

Just a weird combo

echo basalt
#

just fries on one corner

#

plain white rice on the other

young knoll
#

So that’s what fried rice means

echo basalt
#

and chicken on the side

ancient plank
#

yummy

echo basalt
#

10,5€ woeisme

#

was like 9€ last week

lost matrix
#

Rice can be kfing amazing on its own. Just slightly seasoned
with some rice vinegar and sesame

echo basalt
#

I'm not a fan of vinegar

#

I'm very bland

#

put salt on everything and you're good

#

well

#

for chicken I like salt, pepper and garlic powder

lost matrix
#

classic

echo basalt
#

if I don't have garlic powder, I usually have garlicky breadcrumbs instead

young knoll
#

Vinegar is the worst smell ever and I will throw hands over it

echo basalt
#

vinegar is ass

#

I'd rather drink gasoline

ancient plank
#

salt and vinegar chips slap

echo basalt
#

nah

lost matrix
ancient plank
#

I love the feeling of my insides being punched

echo basalt
#

sour cream & onion are decent

echo basalt
#

I can also get a chicken toast at this nice place that's a bit too far

young knoll
#

Steamed hams

echo basalt
#

gotta walk for a solid 40 minutes to get there

lost matrix
echo basalt
#

or pay like 5€ for an uber / bolt

#

but I'm homies with the owner

#

went there for my birthday

echo basalt
#

when the guy figured out it was my bday fucker just went "SIDDOWN" and I was like hm ok

#

then fucker busted out some candles and a sweet potato brownie

lost matrix
#

Yeah when eating chips i usually like plain sea salt, salt+pepper or salt+vinegar

echo basalt
#

and punched the fuck out of me

#

for chips

#

uhh

#

sour cream & onion

#

or cheeto sticks are cool

ancient plank
#

sea salt also slaps

echo basalt
#

ehh sea salt

lost matrix
#

I hate cheetos...

echo basalt
#

if I want sea salt I walk down the street and drink ocean water

lost matrix
echo basalt
#

the curly cheetos are bad but the ketchup stick ones are goated

#

they're ass if you eat them too quick

#

you just put them in and appreciate the flavors

ancient plank
#

wtf

#

ketchup stick cheetos

echo basalt
#

bbq doritos are also cool

#

but a bit too crunchy for my liking

echo basalt
#

primark got the cheetos drip lately, too

#

never seen anyone buy that shit but they sell cheetos tshirts

lost matrix
#

Appreciate that juicy taste of E 620, E 621 and E 622

echo basalt
#

idk why primark had the decent idea of having handicapped models for this specific photoshoot

young knoll
#

E

lost matrix
#

Because of meat canyon

echo basalt
#

12 bucks

ancient plank
#

I avoid meat canyon like a plague

lost matrix
#

I usually succumb to intrusive impulses and watch them out of curiosity

echo basalt
#

wtf is meat canyon

ancient plank
young knoll
#

Do you put a lot of effort into avoiding the plague?

ancient plank
#

I do

#

I don't go outside

young knoll
#

Fair enough

echo basalt
#

it's 4am I'll skip

lost matrix
#

I mean its on yt so it cant be that bad, right?

echo basalt
#

we're talking on discord so you can't be that bad, right?

lost matrix
#

Whats that supposed to mean cocksquint

echo basalt
#

I've seen videos of people getting murdered on youtube

#

So it's not a safe platform

#

discord is not a safe platform either

#

as wholesome as it may seem

echo basalt
#

bet you just typed cocks out of instinct

lost matrix
#

Yeas there is nothing else on my mind

echo basalt
#

typical

#

can't wait to go to school in 4 hours

young knoll
#

Im sorry why is the chicken emote

#

From the C# server

ancient plank
#

that was one of the more tame meatcanyon videos

#

still gross af

young knoll
#

Dangerously

lost matrix
young knoll
#

Cheesy

worldly ingot
lost matrix
#

Because its a squinting cock?

echo basalt
#

because it makes people type the word cocks

worldly ingot
#

PES_HahaLol cock

echo basalt
#

I love how typing cock comes up with badminton

young knoll
#

It’s a shuttlecock

echo basalt
#

we call it a feather here

ancient plank
#

mine comes up with cockatiel

young knoll
#

🪳

#

Cockroach

hasty prawn
lost matrix
#

Ok what the heck is Birdcord? An actual doscord server about birds?

young knoll
#

It’s run by birds

#

For birds

ancient plank
#

yub

lost matrix
#

Adelemphii is a birb confirmed

ancient plank
young knoll
#

Why does googling birbcord come up with a subreddit

#

And then an npm module

ancient plank
#

google personalization

lost matrix
#

lol...

young knoll
#

I do not use node

ancient plank
#

node is a coding thing

#

so google goes "ok this is relevant to search & they code"

young knoll
#

Not since my “Emerging web technologies” class

#

Which was just a node class

echo basalt
#

we had a "technologies of information" class for a year that was:

  • basic html
  • microsoft excel
  • microsoft access
lost matrix
echo basalt
#

I'd understand if we didn't already learn such topics since 6th grade

#

and some of us as early as 3rd grade

#

but still wacky class

young knoll
#

Damn we didn’t do html until 9th grade

lost matrix
#

Get those dank excel macros going

echo basalt
#

nah it was more like

ancient plank
#

I had a couple classes that retaught how to "use" computers

echo basalt
#

conditional formatting and all

#

the kind of classes my mom would benefit from

ancient plank
#

and excel and word and whatnot

young knoll
#

We didn’t use word at all in elementary school

#

We had Corel WordPerfect

echo basalt
#

I was already coding by elementary school

ancient plank
#

I only enjoyed the first one because they did typing tests and I was the fastest in my class at the time 😎

#

a measly 90 wpm

young knoll
#

Well sorrrrry I wasn’t born with an iPad

echo basalt
#

we surprisingly never did typing tests

young knoll
#

Smh my head

echo basalt
#

but I was the fastest

#

I'd be so fast that I was tasked with like fuckin writing shit for my classmates (we had to look at the board and write it on our notepad)

lost matrix
echo basalt
#

was like 110wpm

lost matrix
#

400wpm easy

ancient plank
#

I hurt my hand in 12th grade forcing myself to get a 170 wpm on monkeytype :(

echo basalt
#

rap into TTS

young knoll
#

🙈

echo basalt
young knoll
#

Geez minecraft still had their April fools discord icon

echo basalt
#

fun fact I was using a 2001 monitor until about last year

young knoll
#

Imma bout to call the police on em

lost matrix
young knoll
#

We had CRTs all the way into highschool

echo basalt
#

my high school still has CRTs

young knoll
#

Im sure mine does too

#

I should go visit

echo basalt
#

I was an intern last year

#

CRTs with windows 10

remote swallow
echo basalt
#

taskbar burned in

young knoll
#

Peak performance

bold vessel
#

https://paste.md-5.net/uyucisigat.java
Som1 know why when i right click the inventory isnt displaying ? I tried with hopper but i want to create an gui into a chest and only allow to put item in slot 11 and 15 and when a fire resistance potion with a custom pdc is put in slot 15 if the item put (or the item going to be put) have durability to repair, it repair and the fuel is clear
Som1 know how i can make this work

echo basalt
#

my watch be like

#

first message you send here is that

#

npc

young knoll
#

My boy Ben

lost matrix
bold vessel
#

??

ancient plank
#

who

echo basalt
#

that gif is so useless

#

homie just kicks a chair

young knoll
#

Yeah idfk

ancient plank
#

that's apparently the trend with zoomer humor

lost matrix
ancient plank
#

random useless sounds over something completely unrelated, and people laugh

quaint mantle
#

anyone know a good friends and party api im lazy

cinder karma
#

since Cauldron is deprecated as a Block type...how do we set the level of water in a Cauldron in 1.19?

lost matrix
young knoll
#

Water cauldron

lost matrix
#

let me check

cinder karma
#

Leveled would make sense

echo basalt
#

yes

#

leveled

young knoll
#

Yes levelled is the block data

lost matrix
#

"Levelled"

young knoll
#

WATER_CAULDRON is the material

lost matrix
#

For water cauldron yeah

cinder karma
#

Levelled was correct, thank you

ancient plank
#

memory people

cinder karma
#

already got all the code in place 🙂 just had a lot of places to look, figured it was faster to just ask

young knoll
#

Man they just let anyone be staff around here

ancient plank
#

the only thing I know is that my email inbox is depressing

young knoll
#

Mines all random promotions

#

And spigot 2fa codes

lost matrix
#

Mine is mostly spam from university and Linkedin headhunters...
And i dont even want to look at my other mails because they are probably depressing as well

lost matrix
young knoll
#

Free jobs!

lost matrix
#

Yes but i want to program for my blocky game in peace. Corp is boring

young knoll
#

Fair

#

If only life was that easy

lost matrix
#

After i get my masters ill probably do way less with mc. Until then i want to at least finish one project

young knoll
#

Wow showoff

#

Mans gettin a masters

river oracle
#

I'd get my masters but it seems kinda useless for most jobs I looked at

lost matrix
river oracle
#

Prob just looking in the wrong places

ancient plank
#

my inbox is outgoing job apps and nothing else

young knoll
#

Have you tried just getting hired

ancient plank
#

and some bank statement stuff

lost matrix
#

I really only want to get it because i got a position in a limited section. "Applied Research"
Focus on machine learning and AI. And i thought that it surely doesnt hurt digging a bit deeper
into that.

young knoll
#

Well to work in programming you don’t need in depth knowledge of the CPU

#

You need in depth knowledge of how to write code that’s just jank enough to work

worldly ingot
#

Unless you're doing some C++ or Assembly

#

For C++ it's useful, Assembly it's a must

young knoll
#

Still doesn’t mean you won’t write TF2 code

#

:p

lost matrix
#

You can get away with just dabbling with python

ancient plank
#

I spend too long making code that works ok

#

I'll sit there going monkaHmm for 5 minutes thinking about a design, and then wing the rest

#

the same way I wrote my papers in school

#

except I was actually good at writing papers

young knoll
lost matrix
#

mvn clean install -DskipTests

#

Always works

ancient plank
#

Every time I try to learn to properly use unit testing, I end up not doing it PepeHands

#

just like trying to properly use a database for data storage

young knoll
#

I’ll need to remember that skiptest line for building spigot

ancient plank
#

oh the misery

#

ok sleep time before I get too depressed

lost matrix
young knoll
#

I want to see the comments in Minecraft’s source

lost matrix
young knoll
#

Oh registry freezing

#

Such fun

ancient plank
young knoll
#

Thankfully you can just unfreeze them 🤓

cinder karma
#

BrewingStand.setFuelLevel(int) doesn't seem to do anything, and I can find no guidance on what range of values are used here. I've tried 1 and 10, but neither seems to add any fuel to the brewing stand...anyone smart wanna help? 🙂

quaint mantle
#

is there a way to differciate between not existing players and players that are offline?

remote swallow
#

use offline player and #isOnline

eternal oxide
#

OfflinePlayer#hasPlayedBefore()

quaint mantle
#

thx

young knoll
#

If you really wanted to know if it’s a real account at all

#

You’d have to query Mojang

grizzled oasis
#

Hi, reflections needs to have nms (in maven) or just i can call that class and its just fine?

young knoll
#

If you aren’t directly referencing the class you don’t need to depend on it

#

Ie Class.forName or whatnot

grizzled oasis
young knoll
#

Mhm

late swallow
#

How taxing is querying mob data? Like if I need to check / change an entity's nbt value every tick is that going to cause a lot of lag?

young knoll
#

Probably not

#

I believe it’s all pulled out of NBT when the mob is loaded and then saved back when the mob is unloaded

late swallow
#

so the persistent data container (I think) is saved in memory for each mob while the server is running?

eternal oxide
#

only for loaded entities

late swallow
#

ok, it will only be querying for entities currently in combat so that should be fine

cinder karma
#

I thought I knew what I was doing with this cauldron thing, but it's only getting more confusing. Why are there Material.WATER_CAULDRON and Material.CAULDRON .. what's the difference?

young knoll
#

Water cauldron has water

#

Cauldron is the empty one

cinder karma
#

but if it's empty and I want to add water, I can't seem to figure that out

young knoll
#

You need to change the type

cinder karma
#

so it'd just be an empty water_cauldron ?

#

if I change the Material

young knoll
#

I don’t believe a water cauldron can be empty

#

Idk what it’s default state is

cinder karma
#

if you scoop all the water out of it ?

young knoll
#

Turns into a normal cauldron I assume

cinder karma
#

I cannot fathom how that's useful from a coding perspective, but I'll give that a whirl, ty

#

it's easier to change the entire block Material instead of just keeping it a water_cauldron with a water level of 0...just baffling

wise mesa
#

what if you wanna put something else in there 😜

eternal oxide
#

seems an odd design choice

cinder karma
#

so, testing confirmed

#

a water cauldron, by default, has water level 1, and if the water is removed, becomes just a Material.CAULDRON

#

very odd design choice, but solves my problem, ty

cobalt thorn
#

i saw some plugin can change the color of the moon, how its possible and what packet they are using to do that?

young knoll
#

You can’t change the moon color without a resource pack

wise mesa
#

the packet is called require-resource-pack and its in server.properties

#

lmao

cobalt thorn
#

because then all the time the moon should be red