#help-development

1 messages · Page 1151 of 1

torn shuttle
#

then I remembered

#

I am in fact rendering a few tens of thousands of text displays

worldly ingot
#

I think, if I'm remembering correctly, it fired a PlayerPickupItemEvent

#

The PlayerPickupArrowEvent was my first PR 9 years ago lol

quaint mantle
#

Indeed

#

Some kind of item insurance system?

fading drift
#

sorry didn’t mean to ping

worldly ingot
#

Spigot

fading drift
#

ahaha nice

#

thank u

quaint mantle
#

Is there any way how to apply custom shaders for players? I remember when making mod there was option to load custom shaders. It used the already in game shaders with custom values

#

you could load custom .json files and in it include what shaders from minecraft do you want and what values

smoky anchor
#

I know there are some ways to apply custom shaders in vanilla.
For this I'd probably direct you to the Minecraft Commands discord server, they will most likely be more equipped to help.

quaint mantle
#

Erm this is spigot server

blazing ocean
#

Resource packs have integrated shaders for a while now

blazing ocean
#

You'll most likely want shaderLABS

smoky anchor
river oracle
#

I've never actually found a proper place to find help with resource packs and I'm banned from the official mc server

smoky anchor
blazing ocean
river oracle
blazing ocean
smoky anchor
#

Oh you meant the server itself

river oracle
#

Ofc

nova rock
#

Hi everyone

river oracle
#

?ask

undone axleBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!

nova rock
#

Does anyone know how to put special characters in minecraft?

river oracle
smoky anchor
river oracle
#

Or if you don't know how to use fonts with spigot just us ComponentBuilder

#

You can send them with CommandSender#spigot#sendMessage

nova rock
#

Oh no i mean like a sword or a pickaxe

river oracle
#

Custom model data

nova rock
#

But like uhmm vanilla theres no way?

river oracle
nova rock
#

Oh ok

#

Thanks 🙂

quaint mantle
blazing ocean
#

You can compare by game time but that's all you can do afaik

quaint mantle
#

you would type /testshader and the shader would turn on instantly

blazing ocean
blazing ocean
#

and check for that in your shader, if not, do vanilla behaviour

quaint mantle
#

so the shader would be in resource pack

#

how I can check the time in resource pack

blazing ocean
#

There's a GameTime float uniform you can include

{ "name": "GameTime", "type": "float", "count": 1, "values": [ 0.0 ] },
young knoll
blazing ocean
fierce whale
#

Is there a way to display player head as font?

blazing ocean
worthy yarrow
#

@blazing ocean are you good at physics

blazing ocean
#

no

worthy yarrow
#

Darn D:

nocturne snow
#

can yall help me with making this ui

#

i saw it in a kasaisora video

worthy yarrow
#

I hate resource packs

nocturne snow
worthy yarrow
#

Tedious, very tedious

nocturne snow
river oracle
#

Are ypu a dev?

worthy yarrow
#

If itemsadder is able to make displays like that I don’t think it should be called itemsadder lol

nocturne snow
river oracle
#

Don't pirate plugins please

nocturne snow
#

i got the plugin name from another discord server

river oracle
#

That's very illegal

#

Don't pirate

fierce whale
blazing ocean
#

can you send a link to that

#

Because I've seen one that just adds the heads manually to a rseource pack lol

blazing ocean
#

also the symbols used for avatars can cause lag to the client

#

So they're just spamming pixels as well

nocturne snow
#

i would never pirate

shadow night
blazing ocean
#

yup

nocturne snow
#

i didnt do anything illegal bro

shadow night
#

last time I spammed pixels I got banned from the server (it was a swastika)

rough drift
#

what

nocturne snow
#

i got the name from this guy

river oracle
#

Oh I thought you kept saying you downloaded it from discord

river oracle
#

It'd be easier with ItemsAdder but then that's their territory

#

So they'd know best about that stuff

shadow night
#

or finish

#

or something

nocturne snow
shadow night
#

understandable

nocturne snow
#

how did you know LOL

torn shuttle
#

cursed

shadow night
river oracle
#

Raydan is from south Dakota he speaks fluent Hungarian

nocturne snow
shadow night
river oracle
fierce whale
river oracle
shadow night
nocturne snow
river oracle
shadow night
blazing ocean
blazing ocean
#

If you want to have more than like 5 or so you'll already get framedrops

shadow night
blazing ocean
#

Exactly

shadow night
#

that shit is looping like my socks in a washing machine

fierce whale
#

I see. It may cause a lot of problems 😦

nocturne snow
shadow night
blazing ocean
#

real

worthy yarrow
#

I need a qr code to a game physics class

wraith ferry
blazing ocean
#

don't ping random people

wraith ferry
#

sorry

#

pls help me

shadow night
#

no

worthy yarrow
#

I'll be nice

wraith ferry
blazing ocean
#

raydan kat wanna watch me fuck glsl

blazing ocean
wraith ferry
worthy yarrow
blazing ocean
#

nah i'm good

worthy yarrow
#

Boo

#

Lame guy

blazing ocean
shadow night
#

maven

wraith ferry
#

yes but

shadow night
#

not that hard ngl

wraith ferry
#

Cannot resolve symbol 'AnvilGUI'
Cannot resolve symbol 'AnvilGUI'
'set(java.lang.String, java.lang.Object)' in 'org.bukkit.configuration.MemorySection' cannot be applied to '(java.lang.String, <lambda parameter>)'
'set(java.lang.String, java.lang.Object)' in 'org.bukkit.configuration.MemorySection' cannot be applied to '(java.lang.String, <lambda parameter>)'
Cannot resolve symbol 'AnvilGUI'

blazing ocean
#

!create

shadow night
#

we aren't magicians, and black magic is forbidden anyways

kind hatch
#

?paste your pom

undone axleBOT
wraith ferry
worthy yarrow
#

Any physics nerds out there?

Having an issue with trajectory calculation, based on the initial direction the player is looking there are discrepancies when it comes to the flight path... https://paste.md-5.net/regusofegu.java

This is what I am currently working with, the video shows what I mean when it comes to the discrepancy

wraith ferry
blazing ocean
#

event.getView().getTitle().equals("IMPOSTA GENERE")
pepe_door

wraith ferry
blazing ocean
#

just add it in maven

wraith ferry
kind hatch
blazing ocean
shadow night
#

ngl I feel like ?learnjava

kind hatch
#

Check the dependency's github page for usage instructions. If they don't have instructions for your tool, then you're kinda out of luck.
Maven and gradle are kinda compatible, but you'd have to convert maven syntax to gradle syntax or vice versa. And even then, it's not guaranteed to work.

wraith ferry
worthy yarrow
#

Dawg

kind hatch
# wraith ferry ??

You need to learn about the tooling that you are using. There is no direct download for what you want. (At least not known to me)
The whole point of using these tools is to not have to manually download binaries and import them to your project. The tool does all the heavy lifting for you and automatically imports it to your project.

kind hatch
#

You already said that you are using it....

worthy yarrow
wraith ferry
worthy yarrow
#

Use a translator or something cuz he's said it 3 times

wraith ferry
#

...

#

but dont work

blazing ocean
#

you need a version

kind hatch
#

^

wraith ferry
worthy yarrow
#

Do you have eyes?

blazing ocean
#

doesn't look like it

kind hatch
#

Gradle dependency format: <group>:<name>:<version>

wraith ferry
kind hatch
#

The version you need is the same one that is listed in the maven version tag.

blazing ocean
kind hatch
worthy yarrow
blazing ocean
#

yes

worthy yarrow
#

lmao

#

funny guy

wraith ferry
blazing ocean
#

did you click sync gradle changes

kind hatch
#

Did you reload gradle?

slender elbow
#

i love the part where the readme says to add that one repo and you don't add that one repo

#

i love the part where the README is not read

wraith ferry
quaint mantle
#

💀

worthy yarrow
#

It's a fucking rabbit hole at this point

quaint mantle
sullen canyon
kind hatch
#

Bruh

worthy yarrow
kind hatch
#

Right side of the IntelliJ IDE

blazing ocean
#

instructions unclear using netbeans

wraith ferry
river oracle
#

If you're on latest just use API

#

We have MenuType.ANVIL.create

slender elbow
#

yeah idk where you got that you have to use that repository syntax

blazing ocean
#

miles not glazing menutype challenge (impossible)

river oracle
#

It's honestly api worth glazing

#

Once I get the view builder merged you won't hear me shut up

#

It's honestly something I've wanted for ages

#

I've had a version of it in my personal api for years

torn shuttle
#

I love waiting 40 minutes for a map to generate

#

that's real neat

#

but you know what's even better

#

waiting 3 hours

glossy laurel
#

waiting for 13.5 hours

#

anyways

#

how skilled is an average dev that has made at least one plugin

vast ledge
#

Wdym how skilled

#

In what reference

eternal oxide
#

the average is very low

vast ledge
#

The YouTube tutorial copy first plugin or like your own that you published?

glossy laurel
glossy laurel
worthy yarrow
#

I feel like that should answer your question

glossy laurel
eternal oxide
#

Minecraft plugin allows too many idiots access

glossy laurel
eternal oxide
#

plugin for InteliJ

glossy laurel
#

oh that one

#

well

#

guilty 💀

eternal oxide
#

lol

glossy laurel
#

okay and like active people in this server

#

how high are they in percentage

#

bad wording

eternal oxide
#

most above average to good

#

5% are excellent

glossy laurel
#

no good

#

you just say the average is very low

#

and most above average?

#

😭

eternal oxide
#

yes most devs do not hang here

#

there are a LOT of terrible devs out there dragging teh average down

glossy laurel
#

yes but like

#

if average is very low

#

doesnt that make above average not too great either

eternal oxide
#

I fyou have 100 devs and only 5 are excellent and 10 and good. The rest being crap, the average is crap

glossy laurel
proud badge
#

not really a spigot question, but what would I have to use if I want others to be able to add my plugin's API to their java project by including a URL in their build.gradle/pom.xml?

eternal oxide
#

more

glossy laurel
eternal oxide
#

you add a dependency not a url

#

you need Your api accessible in a maven repository

#

or at least on GitHub

#

If you have the package published on Github they can use jitpack to use it

glossy laurel
#

How useful are fancy time efficient algorithms in plugin coding

#

like dfs and bfs

#

and dsu

#

and like

#

hm

#

interval tree?

eternal oxide
#

I don't often read/use others algorithms

glossy laurel
#

im trying to think of a usecase for bfs or dfs in mc plugins

#

world generation or something?

eternal oxide
#

probably, I'd have to read them to know though

glossy laurel
#

you dont know what they are

#

or what

eternal oxide
#

no, never used them

glossy laurel
#

how much have you been a dev for?

eternal oxide
#

If I want to do sometyhign I do it myself from scratch

#

40+ years

glossy laurel
glossy laurel
#

well

#

that kind of answers my question

#

💀

torn shuttle
#

I swear there's something wrong with my brain

#

I've been doing some really productive work since getting back to the gym for several hours, get up, go to the kitchen and think to myself that I need to get some work done like I've just been fortnite default dancing all day long instead of working

blazing ocean
torn shuttle
#

he's 4 years old, he's a 10x dev

worthy yarrow
eternal oxide
#

lol

#

closer to 60 than 55

blazing ocean
#

damn

torn shuttle
#

put me in your will grandpa

eternal oxide
#

I intend to outlive you 😉

torn shuttle
#

that's because you've not yet spotted the banana peel I put under your walker old man

eternal oxide
#

lol

torn shuttle
#

I can't tell if spark is giving me a bad heap dump or if eclipse memory manager is just bad in general and can't open it

grim hound
grim hound
#

I do home calesthenics instead tho

eternal oxide
eternal oxide
#

Not quite, but yes

grim hound
#

Holy hell

#

Unexpected

#

Are you a programmer as your job?

eternal oxide
#

I no longer work. Havn't worked since I was 30

grim hound
#

How did you retire so early?

eternal oxide
young knoll
#

So that’s the secret

grim hound
#

Y2k?

young knoll
#

Now where did I put my Time Machine

young knoll
#

Y2K was when everyone thought computers were going to explode when the year changed from 1999 to 2000

eternal oxide
#

Many programmer never considered that using a two digit date to record the year would break 30 years later

grim hound
#

How old are you, coll?

eternal oxide
#

Much money was made in accounting and banking rewriting many systems to not go back to 1970

grim hound
young knoll
#

I was 2

#

So technically yes

grim hound
#

You were 2

young knoll
#

Technically not even 2 yet but yeah

short vault
#

Hi, i'm trying to get the playerrank from my playerdatabase class running asynchronously but it won't work because i think lambada doesn't accept changing on variables only accepting final or a variable that doesn't change i've been trying to figure it out for 3 hours nothing clicked in my mind that worked please can anyone help and explain i'll appreiciate it alot thx <3 this is the code for anyone interested:
https://pastes.dev/1JeLi8LeuN

young knoll
#

Yeah you can’t do that

#

The return statement run immediately, while the async task takes an unknown amount of time

#

Use a CompletableFuture

#

And a cache

short vault
#

ok i'll try it out

torn shuttle
#

any thoughts of how I can do a biome system that has hard, sort of rounded but not exactly round borders, works in 3d and is relatively fast to calculate

#

just simplex/perlin noise doesn't really do the kind of hard insular borders I want

#

maybe I could randomly drop some spheres and have them compete for a sphere of influence

north nova
#

if your PlayerDatabase#getPlayerRank() queries your db though it's gonna be a problem

#

so as theguy above said u wanna cache it

torn shuttle
#

I guess like a pseudo-3d-voronoi-noise or something

young knoll
#

What on earth are you making now

torn shuttle
#

I mean

#

a pseudo-3d-voronoi-noise or something, I guess

#

I can already tell it will be sort of annoying to optimize

#

maybe I just shouldn't care that much

#

guess I'll see how many spheres I end up with

#

I need biomes for the variants to make sense

#

plus for general eligibility

#

soft borders wouldn't be terrible either and it would help with the generation but... hm...

#

also come to think of it it would make more sense to make it a flattened sphere of influence which the math of that is going to be fun to figure out for sure

worthy yarrow
torn shuttle
#

oh yeah I keep forgetting I need a resource staff

#

any lurkers

#

a guy is trying to help me update my resource post and his message in the discussion forums got held up for moderation

#

I need him to be able to post it so I can copy it without losing all the formatting

wet breach
#

o.o

worthy yarrow
wet breach
# worthy yarrow Sure but the trajectory calcs are basically swapped, in that clip depending on t...

it depends which had you throw with. If you use your right hand with a back hand throw, it should be easier to make it curve to the right since its more natural to throw it more left. And the opposite is true of the other side. With a forward throw its the opposite with right hand making it easier to curve to the left. The main difference between the two throwing types is that a back hand throw the hang time happens sooner with less power where as the forward hand throw you can give a lot of power but it won't start its hang time until later allowing it to go farther. I guess an easy way to think about it is, its equivalent to a putter vs driver in golf lol

worthy yarrow
#

Well I was going to incorporate right / left hand mechanics, in that clip the algo used for trajectory calculation is the same for both directions causing north facing throws to veer right and south left, this is incorrect as my goal is to keep the throws consistent when it comes to the way it flies irl right? So just in the fact that the player is now looking another direction the way the disc flies is the same technically, but on a right handed backhand throw the disc should always end veering to the left unless it’s a very unstable disc (current disc is 9,5,-1,2) based on these numbers and the technique I mentioned, the disc should start out relatively straight with a small rightward turn and then fade back down to the left at the end of the throw

#

I’m not sure if I’m explaining this well kek

wet breach
#

lol

#

maybe our interpretation of a backhand throw and forward throw are different

worthy yarrow
alpine urchin
#

guys idk if i'll be able to publish my paper about AI

wet breach
#

by then I might be heading to work 😛

alpine urchin
#

since i have to credit my teacher for supervising me

#

writing the work

#

frick man

surreal loom
#

can we see the code?

wet breach
alpine urchin
#

without his permission?

eternal oxide
#

credit your gardener too

wet breach
#

yes because giving credit just means you acknowledge that they played a role. It doesn't mean they were the ones that wrote the book nor does it mean they are owed any royalties

alpine urchin
#

hm, okayy i feel better about it now

#

who do you think is best to publish under?

kindred valley
#

?learnjava

undone axleBOT
#

For Beginners:

Codecademy - Learn Java: Interactive Java programming course from basics to more advanced concepts. Perfect for absolute beginners.
https://www.codecademy.com/learn/learn-java
JetBrains Academy - Java Developer Track: Learn by doing with projects and challenges. It covers Java fundamentals to advanced topics.
https://www.jetbrains.com/academy/
Udemy - Java Programming Masterclass for Software Developers: Updated courses that cover Java 8 to Java 17 features. Suitable for those who prefer structured learning.
https://www.udemy.com/course/java-the-complete-java-developer-course/

For Intermediate to Advanced Learners:

Oracle Java Tutorials: The official guides by Oracle for Java programming—great for understanding the depth of Java.
https://docs.oracle.com/javase/tutorial/
Baeldung - Learn Java and Spring: Focus on Spring Framework and modern Java technologies. Best for intermediate learners aiming to expand their knowledge.
https://www.baeldung.com/

Practice and Hands-on Learning:

Exercism - Java Track: Solve exercises and get feedback from mentors. Great for practicing coding skills.
https://exercism.io/tracks/java
LeetCode: Practice your coding skills and prepare for technical interviews with Java.
https://leetcode.com/

Free Resources and Documentation:

Java Programming and Documentation: A comprehensive collection of Java programming guides, tutorials, and API documentation.
https://docs.oracle.com/en/java/

Community and Support:

Stack Overflow: A vast community of developers. Great for getting help with specific problems or understanding concepts.
https://stackoverflow.com/questions/tagged/java
r/learnjava on Reddit: Join the community of Java learners and get advice, share resources, and discuss projects.
https://www.reddit.com/r/learnjava/

Remember: Learning to program takes practice and patience. Don't hesitate to experiment with code and participate in community discussions. Happy coding! 🎉

alpine urchin
#

this is a non fiction work

#

obviously

wet breach
kindred valley
#

Sorry for interrupt guys didnt see it

alpine urchin
#

well, saying that cambridge university press published my paper would be pretty cool, no?

#

i wonder if a paper earns any royalties when published by these publishers

#

or only if books do?

quaint mantle
#

what will happen if i do PersistentDataContainer.remove() if it doesn't have the key?

wet breach
#

if they did, that would be a nice thing to brag about 😛

eternal oxide
kindred valley
#

Elgar you talking with bot?

alpine urchin
#

i found out that you don't need to be at their uni, or at a uni to publish with them

#

but if you are writing a non fiction work, it's better to have some qualification

surreal loom
alpine urchin
#

i don't have qualification, but my supervisor does

#

hehehehhee

eternal oxide
quaint mantle
wet breach
surreal loom
wet breach
#

as for so called publishing portion by contract they could be owed royalties

kindred valley
wet breach
#

it depends on whatever you negotiated with them lol

alpine urchin
#

for example?

wet breach
#

you gain notoriety and gain reputation

alpine urchin
#

ah, i remembered rn, thing with open access is someone has to pay for it to be open access

#

as these are coorperations trying to make money

#

so you might have some sponsorship or you pay thousands

#

for it to be free for others to consume

#

it's pretty unfortunate

eternal oxide
#

@ivory sleet can we get a warning for this? He's abusing the bot every day for no reason (breaks the rules). it's been months and its becoming really annoying.

alpine urchin
#

and see if any accepts it,right?

wet breach
#

sometimes

alpine urchin
#

why sometimes?

kindred valley
quaint mantle
ivory sleet
#

^

eternal oxide
kindred valley
#

I dont carry this

quaint mantle
#

-# *☠️ *

alpine urchin
wet breach
alpine urchin
#

elaborate

#

im pretty young so idk what my goals are

surreal loom
rancid mauve
#

Is there a method to get all PDC on an ItemStack with the PDC Type? I saw the getKeys, but you can't use that to get the values from them as you still need the type for the get method

alpine urchin
#

frostalf, my school only requires that they can display my paper in their school, you think this is gonna intefere with some publisher publishing it?

#

probably not, right?

eternal oxide
wet breach
quaint mantle
#

al his messages are ?learnjava and he answering to ppl saying to stop it

surreal loom
#

^

kindred valley
#

I said i dont carry this on but this guys are still talking about me

alpine urchin
quaint mantle
#

-# 💀

rancid mauve
#

just ban for bot abuse and move on I say

surreal loom
#

you could of learned java in the amount of time you have been saying this 😭

quaint mantle
#

-# # 💀

wet breach
alpine urchin
#

the stupid thing is i have to pay for the printing of the paper

#

its not distributed anywhere

#

online

wet breach
#

lol

alpine urchin
#

its just presented physically

#

in the school

#

but i can talk to these presses, and explain the situation right

#

they're job to figure it out, right?

#

or am i implicated?

pseudo hazel
#

why not ask the school

alpine urchin
#

perhaps i won't get the chance to even publish it, making the question redundant

#

it's like saying, ask your teacher about studying how you would study at harvard, before getting approved at harvard

pseudo hazel
#

what do you mean by that

alpine urchin
#

i'll ask when it happens

#

it's more powerful to come and say, X wants to publish my paper, how do we negotiate this?

#

Than, hey... can i publish this paper?

#

pwease

#

@wet breach

#

There's this: The submission of a VWA to a competition must be done by the student him/herself, who is also responsible for the publication of his/her own work. A pre-scientific paper is an examination paper and is not published as such. Non-compliance with copyright regulations (e.g. missing, inadequate or incorrect indication of the author of an image) can be taken into account in the assessment of the VWA, but there are no legal consequences. This changes as soon as a student or another person submits the examination paper to competitions etc. and it is subsequently published in printed form or on the Internet. It is then considered a publication. In this case, permission must be obtained for the use of third-party images. Please note, therefore, that submitting a VWA to a competition may result in publication within the meaning of Austrian copyright law. To avoid copyright infringements, no unauthorized third-party images (photos, pictures, graphics, etc.) should be used in the submitted work (see Plagiarism and image rights).

#

Sounds like I'm able to publish it then right @wet breach

wet breach
#

up to you

alpine urchin
#

that was a direct-translation of the guidelines

#

but when i look at the original german, it says pretty much the same

#

ignoring some weirdly translated words

#

extended essay sounds weird, i would call it a paper

#

pre-scientific paper is a direct translation, and rather not great of a translation

#

what do you guys call it in america

wet breach
alpine urchin
#

i'm not american, you tell me haha

#

possibly

obtuse hedge
#

Is there MatrixStack/PoseStack in spigot

alpine urchin
#

idk what you guys call it

#

it's essentially an extended essay, on a given topic, with proper citation

#

and an abstract

#

possibly a preface

wet breach
#

a preliminary paper basically means its not a finished version and nothing in it has been proofed(others in the field haven't verified anything beyond what you have found)

alpine urchin
#

ohh

#

well

#

my teacher is an engineer

#

but idk if that counts as him proving it

#

in the field of AI

#

so probably not

#

@wet breach do you think these presses would accept such a paper?

#

i think they usually get someone to proof it tho

wet breach
#

proofing means another party conducted the same experiment with same conditions and either got the same result or a different result

alpine urchin
#

some professor at their uni

wet breach
#

if the paper is scientific in nature of course

alpine urchin
#

it's ont an experiment

#

well, it's me talking about the future of AI, philosophical questions, talking about how certain tech works

wet breach
#

for all other topics, it just means its not a final version but not a rough draft either

alpine urchin
#

with citations

#

does it need proof if all is cited?

#

but thanks i learned something new frost

eternal night
#

I mean, then you are doing a meta-analysis

#

(hopefully)

alpine urchin
#

i need my mother to proof my preface

chrome beacon
alpine urchin
#

if anything

#

i wonder if you can get in trouble for lying

#

in your preface

#

lmfao

#

Author Notes

#

but they are fake

wet breach
#

yes and no it depends

alpine urchin
#

but i see tho, man having a paper published

#

would be so sick

#

my dream would be to be a commentator

eternal night
#

Idk, published papers can be as ass as archive ones xD

#

Having a paper published is a flex to the non academic people I guess omegaroll

alpine urchin
#

@wet breach would they still publish it even if it has many citations

blazing ocean
#

"paper"!?!!

#

?whereami

alpine urchin
#

or do they see it as me relying too much on others to build my idea

alpine urchin
#

shush

blazing ocean
#

retro doesn't write about "serious" stuff

alpine urchin
#

ofc i do

blazing ocean
#

nah nah

#

ai is a joke fr

alpine urchin
#

if its not about my ex

#

then its very serious

alpine urchin
#

i don't think so, but i'm asking to be sure

#

i've got no qualification, so it would probably be a positive

quiet ice
#

As long as it is no plagiarism

eternal night
#

Well your idea should be something new

alpine urchin
#

dont worry geol

eternal night
#

if it is based on previous work, thats great

alpine urchin
#

yee

#

i like commenting on previous work also

#

giving new idea to previous work

#

or contrasting two points

#

two previous works

#

and comparing them

#

you get me right

eternal night
#

Well contrasting two points I haven't heard off as a scientific goal

alpine urchin
#

whats the scientific goal?

eternal night
#

Well, more like scientific method

alpine urchin
#

well, my teacher told me that i have no qualification

#

so

#

i should put little from me

#

lmfao

obtuse hedge
alpine urchin
#

he said maybe at the end

#

a little

eternal night
#

Well you can write a very nice paper that shows the sides of two arguments etc

alpine urchin
#

thats what i meant

eternal night
#

But idk how scientific that is

alpine urchin
#

NO

#

NoO

eternal night
#

its more like, great journalism?

alpine urchin
#

ITS about spigot programming

#

i swear

#

i do hint at it in the preface maybe

#

😉

#

oh

#

that kind of paper

surreal loom
#

(they have been talking about it for 30+ minutes)

alpine urchin
#

have the bot mute people when they say paper @worldly ingot

#

same way when you type out OF

worldly ingot
alpine urchin
#

did you fix the OF stuff

worldly ingot
#

I started one

alpine urchin
#

just typing out the word mutes you for an hour at least

#

Choco starts typign

#

Choco muted

#

guys where did he go

#

i would love to use personal pronouns, but it would be informal

#

i'm pretty constrained here

#

but it's fine

#

i can use big words

wet breach
alpine urchin
#

eyyyy

#

W

#

i agree

#

i'm pretty constrained with it being formal

#

and no personal pronouns

#

but i think i can do that

eternal night
#

Thing is, work like that is very annoying

#

like you are basically doing literature review

alpine urchin
chrome beacon
eternal night
#

which is ✨ a fucking hastle ✨

alpine urchin
chrome beacon
#

Rendering is done by the client

wet breach
chrome beacon
#

Not the server

obtuse hedge
#

Yes but how’s it rotation translation scale work

alpine urchin
#

server tells client what to render

#

oversimplified

#

very oversimplified

#

client actually renders it

alpine urchin
#

i send kisses your way frostalf

alpine urchin
#

I can't understand you lowercasebtw

#

I can only assume what you mean

#

is this a

#

?xy

undone axleBOT
obtuse hedge
#

Rotate y 45
Translate 0 x 1.2 y 0 z
Scale 0.4 0.4 0.4

alpine urchin
#

User wants to do X.
User doesn't know how to do X, but thinks they can fumble their way to a solution if they can just manage to do Y.
User doesn't know how to do Y either.
User asks for help with Y.
Others try to help user with Y, but are confused because Y seems like a strange problem to want to solve.
After much interaction and wasted time, it finally becomes clear that the user really wants help with X, and that Y wasn't even a suitable solution for X

chrome beacon
#

Server sends that data to the client as a Matrix4f

chrome beacon
#

No

eternal night
obtuse hedge
#

I don’t even need spigot for what I’m trying to do, I just need a way to get outputted values after modifying a matrix

eternal night
#

I wanted to do one in my master thesis, looked at the first like 4 definitions, its all ass xD Like, a full literature review is gonna be more pages than I have 🙃

obtuse hedge
#

And I saw Minecraft allows you to see the matrix data on block/item display entities

chrome beacon
#

Yes

#

It has a matrix

alpine urchin
obtuse hedge
obtuse hedge
#

The translation, rotation, and scale values

chrome beacon
#

I don't understand what the problem is

#

They're floating point values

#

So 1.0 + 1.0 would be 2.0

obtuse hedge
#

I need it for a Minecraft resource pack model

alpine urchin
#

The translation, rotation and scale can be represented as vectors

#

But also as a single matrix

#

it's mainly a math question it seems, or looking around in mc's code to see how they deal with it

obtuse hedge
#

I have the differences in code for a 1.8 model to work in 1.9+ but I have not been able to figure out how to apply the differences

alpine urchin
#

Perhaps look for where the 1.9 Minecraft code interacts with these matrices, and infer from that.

#

We all do it, or you can understand the math and the functions in the math library MC uses

#

or MC probably implements it themselves

obtuse hedge
#

I already have

#

And I have the values for translate and scale

#

That have changed

alpine urchin
#

what about rotation?

obtuse hedge
#

I have gotten 1.8 models to work in 1.9+ via mod but I’m trying to apply it to the model directly to not need the mod

obtuse hedge
#

There is a rotation

chrome beacon
#

This is why we xy

alpine urchin
#

?xy

undone axleBOT
alpine urchin
#

Read the XY

obtuse hedge
#

I had asked previously if they used the same system and no answer

wet breach
alpine urchin
#

You can check it.

#

We don't necessarily remember the intricacies of the differences between 1.8 and 1.9

#

They're also pretty outdated

obtuse hedge
#

I do

chrome beacon
#

Minecraft wiki most likely has them documented

alpine urchin
#

Well, then you don't need help.

obtuse hedge
#

I just need outputted values of a matrix stack

alpine urchin
obtuse hedge
#

No one does

#

I’ve have looked all over the internet

chrome beacon
#

You seem to be confused

#

Why do you need a matrix stack to begin with

#

You're not rendering anything

obtuse hedge
alpine urchin
#

@obtuse hedge you know what it is?

chrome beacon
#

So you're trying rendering on your own?

alpine urchin
#

it's an xy again, based on that recent statement

obtuse hedge
#

I guess technically minus the rendering

alpine urchin
#

okay

chrome beacon
#

You're not making much sense

alpine urchin
#

copy the minecraft structures

#

for matrix

#

and vector

chrome beacon
#

Tell us exactly what you're doing and why

obtuse hedge
#

When a matrix stack apply a scale or translate, it modifies the other values to it seems

alpine urchin
#

no

obtuse hedge
#

But idk how

alpine urchin
#

tell us, what the project is

#

what's the plugin

obtuse hedge
#

No plugin

alpine urchin
#

whats it called, overview what are you making

young knoll
#

Modern spigot has JOML shaded

#

For old versions you can shade it yourself tho

alpine urchin
#

I know, it was a lazy response

#

so I was right then

alpine urchin
#

he's talking about 1.8-1.9

obtuse hedge
#

There’s no plug-in

alpine urchin
#

What is there then?

obtuse hedge
#

And the same stuff applies to 1.8 -> 1.21

alpine urchin
#

What are you making

#

if a server owner asked you what are you making for me

#

what would you say

obtuse hedge
#

A script to convert 1.8 models to 1.9+

alpine urchin
#

we're getting somewhere now

#

when explaining your problem, start with that

#

ye?

obtuse hedge
#

Ok

alpine urchin
#

then it's much more clear, because you are assuming that your current attempt is the proper way to do it

#

which might not always be the case, causing confusion

obtuse hedge
#

I isolated the part in code using fabric to find the part of the code handling the matrix modification when rendering

#

Those parts are missing in 1.9+

#

The difference

alpine urchin
#

have you considered asking the Modding community?

#

Like in Fabric?

obtuse hedge
#

No

alpine urchin
#

Ok?

obtuse hedge
#

They never help

alpine urchin
#

We make plugins here.

#

Well, here you'll only find someone to help by coincidence. There, that is the community for helping in that regard.

#

There's also Forge.

young knoll
#

Just don’t mention the version in forge

alpine urchin
#

lmfao

#

don't do that

#

they'll catch on too quick

young knoll
#

Maybe neoforge is more friendly

alpine urchin
#

1.8, till now, things changed drastically

young knoll
#

Idk

alpine urchin
#

code wise

#

dude, as a library dev

#

catching someone lying

#

about the version

#

is goofy and annyoing

#

im not dumb

#

lmfao

obtuse hedge
#

Sometimes people have to make with, with what they have

#

And if lying allows them to further their code, then they do

alpine urchin
#

well, you're not supposed to use outdated software they say, understandably.

young knoll
#

I mean you have access to 1.21

alpine urchin
#

if you made a project, and someone uses a 10 year old version of it

young knoll
#

Presumably

alpine urchin
#

i'd understand if they fry you

#

for trying to get help

obtuse hedge
young knoll
#

1.8 models for what

obtuse hedge
#

The final goal is to integrate whatever math into the resource pack converter I help work on

young knoll
#

Mobs? Items? Blocks?

obtuse hedge
#

Probably mainly items

#

They both use the same held positions logic

#

And if I solve this, it might help me also solve another thing I would like too

#

I’ve figured out the scale and rotation parts

#

It’s mainly translation math I need

young knoll
#

That’s almost certainly documented on the wiki

obtuse hedge
#

I looked

#

There’s nothing

young knoll
#
Minecraft Wiki

Models are three-dimensional shapes used in Minecraft that are used to display objects encountered in the game.
The models pertaining to the vast majority of blocks and items can be configured, as well as those of a small selection of entities. Models are stored as JSON files in a resource pack in the assets/<namespace>/models folder.

#

See the history section

obtuse hedge
#

I’ve looked at this many times and just did now

#

There’s nothing about translation still in 1.9 section

young knoll
#

Then perhaps it didn’t change

obtuse hedge
#

It did, the code is gone and the same model in 1.9 has different translation values than the one in 1.8

young knoll
#

You should show a side by side comparison image as well as the model json files

obtuse hedge
#

The same vanilla model is visually the same ingame

#

Just different values in 1.8 and 1.9, which don’t work when swapped

young knoll
#

What

obtuse hedge
#

Side by side diamond sword is visually same ingame

#

But when looking in the model file for it

#

The values are different

#

But let’s say I copy the 1.8 model to 1.9, it won’t be the same visually anymore

young knoll
#

Do you have said model files to look at

obtuse hedge
#

I’m not at my computer right now, but they are in the vanilla jar

#

handheld.json in 1.9+ (1.21), diamond_sword.json in 1.8

wet breach
young knoll
#

handheld.json?

#

Last I checked there’s still individual model files for each item

#

Granted it might just be empty with handheld as a parent, idk

obtuse hedge
#

But diamond_sword just calls to parent handheld for its positions, with a added texture

obtuse hedge
young knoll
#

Seems like John Hypixel has the conversion down

obtuse hedge
#

They don’t convert item positions

#

The pack converter I help work on derives from that repo

young knoll
#

I mean

#

I’m fairly sure they use custom item models so…

#

@worldly ingot may have more insight

obtuse hedge
#

They do but the code is not in that repo if they do have it

#

It only fixes the textures name path

worldly ingot
#

That pack converter is extremely specific to our needs tbh. It doesn't fix everything

young knoll
#

Surely you have item models to convert though

#

Warlords had custom weapons and whatnot

worldly ingot
#

I don't think so. Nothing complex enough

#

Simple models, simple textures

obtuse hedge
#

Smash heroes or whatever

alpine urchin
#

?

obtuse hedge
#

They won’t work out of the box copy n pasting

#

Tho I haven’t check a side by side comparison on hypixel, they could be different in different versions

young knoll
obtuse hedge
#

That’s the one I help work on

young knoll
#

I see

obtuse hedge
#

It has a conversion for it but the current calculations are wrong

#

It only works on some items

#

And no third person calculations

young knoll
#

Maybe that site works properly, and hopefully uses JavaScript :p

obtuse hedge
#

That’s a texture pack converter, I doubt it handles models and or 1.8 anything

#

I’ll try it

#

But I still doubt it handles models

#

it didnt even touch the model

#

so it didnt work/doesn't have it

young knoll
#

I see

grim hound
#

Can someone help me? This benchmark isn't executed

eternal night
#

I mean, how are you running jmh?

grim hound
eternal night
#

just running main() here won't magically run jmh

#

if that is what you are doing

grim hound
#

it indeed is

eternal night
#

Yea no

#

that is not how you run jmh

grim hound
#

uh

#

so

#

how

eternal night
#

gradle?

grim hound
#

ye

eternal night
#

smack that in, move the benchmarks to the src/jmh folder and then just

#

gradle jmh

#

Note, that is not how you'd tell jmh to pass a byte buffer

grim hound
eternal night
#

no

eternal night
#

you'd create that yourself

grim hound
#

also, this little thing pops up

#

it's something I removed like a year ago

#

and can't find

#

where tf it is

eternal night
#

Whats the reason it failed? xD

grim hound
#

it doesn't exist

#

I removed it

eternal night
grim hound
#

but intellij insists on compiling it

#

xd

#

uhhh

#

Adding module dependency doesn't help

#

it just

#

doesn't see it

#

in the import

young knoll
#

Tf are these class names :p

grim hound
#

I mean

#

testin

young knoll
#

Holy shit Sex2 has been invented

surreal loom
eternal oxide
#

Don't worry I'm sure sex2 is new an improved.

timber crescent
#

is it possible to teleport to an offline players last pos?

eternal oxide
#

their last position is in teh data, but not accessible via the api

surreal loom
#

(to uuid)

#

otherwise you keep the player initialized (i think)

eternal oxide
#

when was that added?

surreal loom
#

😭

#

2021

#

sometime then

#

lmfao

eternal oxide
#

I bet Col just added it to make us look like fools

surreal loom
#

fr

timber crescent
surreal loom
#

1.16 prob

young knoll
#

1.21 it looks like

surreal loom
#

yea

#

1.21

#

wasnt present it 1.20

grim hound
surreal loom
#

its about time to be fair

young knoll
#

Maybe I did just add it and I don’t even remember

worldly ingot
#

Didn't you add it?

#

lol

young knoll
#

There’s no way

worldly ingot
#

You didn't

#

I thought it was you

eternal oxide
#

Told ya, its Coll making us look foolish 🙂

grim hound
young knoll
#

Okay good my memory hasn’t gotten that bad yet

surreal loom
#

on a side note, whats the most efficient way to have a boss do a custom attack randomly, obviously running a bukkit runnable every tick and creating a new random chance isn't correct.

young knoll
#

You could generate a number of ticks to wait until the next attack randomly

#

And then have a delayed runnable for that many ticks that executes the attack and generates the next number

surreal loom
#

and then i would regenerate that every attack?

#

thats what i was mostly thinking thank you 👍

wet breach
pulsar pier
#

How do I add a dependency to be included with my jar in Maven?

sullen marlin
#

maven-shade-plugin

river oracle
#

how the fuck do shadowJar relocations work are they like black magic or some shit
for some reason the pattern sh.miles.pineapple.* won't relocate but sh.miles.pineapple does, however sh.miles.pineapple captures all packages that include sh.miles.pineapple at all including something like sh.miles.pineappleenvoys, which is annoying as hell. This pattern matching seemingly doesn't allow regex? I've tried multiple valid regex for capturing and still nothing I'm beyond confused

obtuse hedge
#

heres a side by side, with 1.8 and 1.9+ (1.21)

#

so far I have the +45 on the y rotation, and scale by 0.4 on xyz

#

its just the translation which is the hardest part

#

funnily enough, I found the equation to get the values to be the same as they were in the first 2 snapshots of 1.9, but then mojang fixed their mistake

#

meaning theres either 2 or 1 more missing steps I don't have

obtuse hedge
#

I can share my current python script if anyone wants to see it

pine swallow
#

how do i put the economyshopgui plugin in my singleplayer?

quaint mantle
#

Single-player doesn't support plugins

surreal loom
#

should I avoid lots of bukkitrunnables? ie. using Bukkit.getScheduler().scheduleSyncRepeatingTask instead of making a bukkitrunnable that runs every so so ticks

#

or is there a better practice?

echo basalt
surreal loom
#

say for example updating a gui

#

whilst a players in it

#

obviously making a bukkit runnable for every open inventory that can be updated mid opening is a waste of resources.

slate siren
#

Oh damn, When a new time is added to the previous time, I try to stop the countdown of the old time, but it doesn't work, it's ridiculous

echo basalt
#

Are you talking about the time statistic?

#

or just world time

#

or tasks

#

?? @slate siren context pls

slate siren
#

Consider a command, I give a gift to a player and an extra time is started, after this time is over another command is run

So far everything is correct, but when I add extra time before the current time is over, the old countdown is not cancelled

#

I'm so confused

surreal loom
#

why create a new countdown when you add extra time?

slate siren
#

I calculate the new time with the old time and save it in the timer.yml section, but I could not start the countdown according to the new time

echo basalt
#

Have you considered having some sort of central tracking system?

echo basalt
#

With kotlin it's quite easy to just have a Map<UUID, Job> and use coroutines

slate siren
#

nope code is java

#

Not kotlin

echo basalt
#

With java you either have a central task that runs every tick, or manage tasks yourself

slate siren
#

Hmm

echo basalt
#

I need to write a proper scheduling lib that lets you schedule stuff accurately at XYZ time of the day, stack task times etc

slate siren
#

Mhm

echo basalt
#

But yeah you can use some sort of "central" task that uses some sort of priority queue that sorts by expiry time

#

And it just peeks and polls whatever until it reaches a task that's not meant to be executed in this tick

#

Pretty sure smile has a guide on this but it uses a paper method

slate siren
#

ill try

#

1m

#

?

#

?paste

undone axleBOT
slate siren
#

damn

#

@echo basalthttps://paste.md-5.net/ixemehetuw.cpp

#

I cancel and start a new countdown but it doesn't start

echo basalt
#

I feel like it's time you make the distinction between "in memory data" and "saved data"

#

Less static abuse, better code

slate siren
#

mmm

#

ill

#

tyu

#

try

echo basalt
#

Check my message in pins

#

Press on it (It's a whole chain) and just read :)

echo basalt
#

It's outdated

surreal loom
#

is it

echo basalt
#

I wrote it

surreal loom
#

thats why i linked it

#

what changed?

echo basalt
#

I rewrote the liskov substitution principle example to be a bit less confusing

surreal loom
#

they look the same to me i may be special though, it is definitely a good post to read though.

#

i appreciate you writing it 🙏

obtuse hedge
#

How does one get 3 vec3f's from a Matrix4f, (rotation, translation, scale)

candid galleon
#

well a vec3 is three numbers

#

and a matrix4 is 4 numbers

sly topaz
#

If it is for display entities, you can get the Transformation object out of them which contains the transformation elements

obtuse hedge
#

trying to get back the final translation/rotation/scale values as if when passed in & calculated

sly topaz
#

I mean, if this is a JOML Matrix4f, it has utility methods to get each of these values out of the matrix

obtuse hedge
#

yes

obtuse hedge
#

alr

#

ty

#

these values...

#

seem wrong

grim hound
grim hound
dull python
#

How can I solve the chat verification problem in 1.20.4? I want to send data packets so that only the player can see the content.

eternal night
#

What are you running now? Again, the main method is completely useless for jmh

rough drift
dull python
#

Isn't this the development channel?

rough drift
dull python
#

Yes, I want to develop my own plug-in, but I found that there will be genuine verification problems when sending player chat packages

rough drift
dull python
#

Although the content I sent shows the player's name, the following content prompts me that the chat verification error occurred. I don't know how to solve this problem.

rough drift
dull python
#

The ClientboundPlayerChatPacket package is used

dull python
sly topaz
#

question, why use packets at all for this?

dull python
sly topaz
#

messages are per-player, unless you broadcast it

#

Player#sendMessage (or the bungee chat component equivalent) will only send a message to that player

dull python
sly topaz
#

you mean intercepting the component

#

if so, the chat events are also viewer aware

chrome beacon
#

If you want to send a component message use sendMessage from player.spigot()

sly topaz
#

||-# though for this I would use Paper since Spigot has no support for components in chat events as far I am aware||

dull python