#dev-general
1 messages ยท Page 306 of 1
but Oracle said they wanted to remove it in Java 9 remember
o
it doesn't work
weird
oh yeah, never changed to 11
that's with 8
@prisma wave scratch the id
yeah it just exits with code 1, doesn't throw an error or anything
ok
im not sure i can easily google this because of the symbols so im gonna ask you, what's the difference between . and $?
. is for composition and $ is for chaining arguments?
public static Unsafe ventureIntoSomeUnknownDeepAndDarkForestToRetrieveThisThingTheyCallTheUnsafe() {
try {
Field field = Unsafe.class.getDeclaredField("theUnsafe");
field.setAccessible(true);
return (Unsafe) field.get(null);
} catch (NoSuchFieldException | IllegalAccessException exception) {
exception.printStackTrace();
}
throw new RuntimeException("How the fuck did we get here?");
}
```๐
actually I can make that better lol
idk what $ is exactly so I went with what I know lol
oh ok lol
. is definitely composition
afaik $ is for chaining arguments, eg a (b c) is the same as a $ b c
okay
so the const is just to avoid a messy lambda
yeah
Ok then $ might be a more elaborate way of what I'm doing
seems weird that applyMaybe wouldn't be in the standard library
import Data.Maybe
import Text.Read
main = putStrLn (getType "asaswwfwef")
getType s = head $ catMaybes [
(readMaybe s :: Maybe Integer) >>= (\x -> Just "integer"),
(readMaybe s :: Maybe Float) >>= (\x -> Just "float"),
Just "string"]
There we go
god
oh ofc
makes sense
okay im a bit confused about yours johnny
(const (Just "integer")) this is of type Maybe String right?
lmao
uh ok
because of the laziness?
oh no
wait what lol
const :: a -> b -> a
No bcs const is a -> b -> a
ohh
yeah
you're only applying 1 argument
right
okay
in that case
if applyMaybe :: Maybe a -> (a -> b) -> Maybe b, shouldn't the first argument be of type Maybe a not b -> Maybe a?
and >>= makes sense, I think that's basically my applyMaybe
It takes a function
probably a dumb question, is Maybe a a function?
no
then how is that working then?
huh?
applyMaybe :: Maybe a -> (a -> b) -> Maybe b
applyMaybe (const (Just "integer")) (readMaybe s :: Integer)
my mistake
okay great lol
๐
pretty much the same thing I think bm
yeah
yeah
Just that you actually know your stuff lol
just trying to understand the semantics of >>= in this case
it's pretty much like Optional#or right?
yes
great
More like Optional#map, no?
if lhs is Nothing it does nothing
possibly
if lhs is just it maps to a new Maybe value with the lambda
true yes
yeah that's not or
the returned value is also a Maybe bm
semantically equivalent to the applyMaybe function i made
right
mhm
awesome
okay that makes sense
i changed it to use const too which looks a bit nicer
ty for assistance
line <- getLine
putStrLn $ getType line
``` is there any way to condense this into 1 line?
i feel like there is
i need a function m a -> (a -> b) -> m b
similar to >>=
i think
aha fmap
maybe
wait no
because putStrLn wants a String not an IO String
๐ฅฒ
I mean
main = (getLine >>= (\x -> return (getType x))) >>= putStrLn
You probably dont want to do that tho
xD
ikr
<- is just a shorthand for the callbacks like above
right
f = do
a <- getLine
putStrLn a
is equivalent to
f = getLine >>= (\a -> putStrLn a)
isn't that also equivalent to ```hs
f = getLine >>= putStrLn
Yup
But ther eis possibly that wrapping function as it considers the rest of the body to be a continuation
similar to how suspend works on kotlin
uh
whats wrong?
wdym?
everything after a suspend function is part of a Continuation
yeah
yea <- is similar
oh
What the hell does Task 'wrapper' not found in project '[project name here]'
it means you are homosexual
how do i undo
is that the error where the entire build.gradle is greyed out kinda?
idk then
@forest pecan means you don't have the wrapper within the project, gradle init should fix it
Those variable names ๐ฅฒ
I think I can count the pixels in that photo.
Lol
Not too shabby
my time stats all messed up cos i leave my IJ open
that's not how it works
isnt it?
no
Is it code time?
o... thats concerning
after 2 minutes or so from when you stopped typing, it'll stop counting
https://dev.bukkit.org/projects/projectiletrajectory I really like this project though, ngl
But it only supported on version under 1.12-
So the project was open-sourced, and when I am looking at the code...
How wonderful
And if anyone is wondering why I'm editing it, I'm just updating it to 1.16 ._.
I have online school, except today
I'm an active person, what can I say
Bro, is this a freaking joke?
Snowball action in PlayerInteractEvent doesn't even work right (Spigot API 1.16.4)
It fires both action LEFT_CLICK_AIR and RIGHT_CLICK_AIR at the same time
It only happens for snowball; every item else works fine
imagine having to go to school
it's half term for me (basically, we get a 1 week break in around the middle of every term which we call "half term", for those unfamiliar)
arrow code
Not even using private methods for events, smh
??
You can't?
You can actually
hi clever haskell people, any idea what's wrong with this? ```hs
split :: [String] -> [[String]]
split [] = []
split a = [a]
split (a:b) = [[a], [b]]
split (a:b:c) = [[a] ++ parts[0], [b] ++ parts[1]] where parts = split c
eg split [1, 2, 3, 4] returns [[1, 3], [2, 4]]
not sure what's wrong but the compiler seems to think split (a:b) = [[a], [b]] is wrong for some reason
The patterns for the list are probably incomplete there
this should be an easier way to do it
import Data.List
import Data.Maybe
main = putStrLn (show (split [1, 2, 3, 4]))
split l = do
let isEvenIndexed l x =
fromMaybe False $ (elemIndex x l) >>= (\x -> Just $ x `mod` 2) >>= (\x -> Just $ x == 0)
partition (isEvenIndexed l) l
@prisma wave
hmm
lmao
Thats pretty much equivalent to what you would have with streams in java?
Or kotlin?
or similar
Oh no
๐
yeah the process isn't that different, the syntax is just different
the first element in a List of Optionals filtered where Optional#isPresent
The Haskell purely functional programming language home page.
no
There are a few jvm ports
That probably isnt clean anyway efe
Those are just what is written fast during coc
coc code is never readable lol
ok i think i mostly understand what's going on here
Finally got everything installed
xD
"I dont know Egyptian, Cant read, 10/10 sucks. k tnx bye"
๐คจ
Make an opinion once you have made an attempt
why use multiple >>=s here? can't you do ```hs
fromMaybe False $ (elemIndex x l) >>= (\x -> Just $ x mod 2 == 0)
Yea you can
the same way you learn what public static void main means
only because you know what each of those things mean
and what does static mean?
what does void mean?
what exactly does public mean?
A beginner does not know
if you've never seen java before , that code makes no sense
not necessarily
public to what?
what's a class?
why is it public?
I've seen many people ask what that means
lol
18*
i wont deny that imperative languages are usually easier to understand than declarative
but every language has its own quirks that wont make sense if youve never learned that language
Again, this is all just random stuff coming from a person who hasnt yet tried
If you dont know arabic, you aint reading arabic
And you shouldnt expect to read arabic until you learn to do so
intuitive readability is not everything
im sure a beginner would have no trouble understanding this ```java
Optional.ofNullable(v)
.map(Math::sqrt)
.or(() -> Optional.of(2 << 4));
๐
they're not the same thing
wrong comparision
im sorry to ruin ur dreams sir. im just built different and i can already read and write arabic after looking at the first page of a book
you can't compare those 2
public static void main(String[] args) {
}
main = ()
(act like you dont know both languages)
not really possible, also yeah those snippets are not equivalent.
thats better
let's compare java public final class Main { public static void main(String[] args) { System.out.println("Hello World"); } } with ```hs
main = putStrLn "Hello World"
which is easier?
lol
not even a final class
lmao
soz
Not even final args
haskell is obviously easier to read there
we're having a discussion without fixed premises here
For example, what constitutes a "beginner"
Someone who hasn't touched any programming language at all?
^^ someone who's never used either language isn't gonna be able to understand either
Any other background knowledge?
python 
lol
haskell is closer to english in that example
but that's not how to rate a language
skript looks like english
it doesnt make it good
java got more words in it so that means the language can do more things so its better right?
Speaking of which https://osmosianplainenglishprogramming.blog/
yep!
I would agree that yes, imperative style is more intuitive in the beginning, but I'd also argue that this isn't fixed and will change according to how much you learn. Now you may say "sure, but that's not only true for beginners" but I think it's simpler to recognise with beginners
i love putting at least 4 keywords and annotations for every method ๐
I mean people experiment with teaching complete beginners a lisp as a first language
is that about the plain english compiler I've seen floating around yugi?
And the learning curve of reading that is not very steep
Probably yea piggy
I saw some guy plugging it on quora a while ago
imperative is usually more intuitive to a beginner, but does that mean it's better?
lmao
gotta love typing one key to the right on every key
Seems the haskell opposer had fled
The point I was trying to make regardless of what you think is better is that readability should be seen as a graph over time spent learning, not a fixed rating
!! cheers to haskell gang
========
And I would still argue that Haskell has a rather steep curve
haskell has a very steep curve
for me at least
compared to other less strict FP langs
Just talking about readability here, obviously in most other aspects Haskell is very difficult too
c#

Sharp is different
1 c-style language is not "the complete opposite" of c
lol
The Haskell purely functional programming language home page.
Haskell is Haskell
IO Haskell
it actually took me to haskell
lol
ocaml ๐ฆ
eww google
rust
rust has caused a lot of internal conflict
so safe and pragmatic but it's imperative ๐ฆ
Wait really?
rust is haskell without hkts
let seems to be common among the best languages ๐
worst*
hkts?
hkts?
higher kinded types
senpai is hyperactive once again.
oh
lol idk what i'm talking about
We might send him to a sandbox once again.
me neither
literally just found a gist
A browser interface to the Rust compiler to experiment with the language
then another gist incase i was asked what a htk was
which I was
so was definitely worth finding it
the rest of you will wonder for a very long time
๐ฆ
Without any knowledge about neither of those two languages.
But Rust simply cant die yet, cuz it brings solutions everyone seeks.
clever type systems are so cool
like i dont understand them
but it's crazy how simple java's is in comparison
it is beyond me how my school managed to acquire a pdf of my physics textbook
i scoured the interwebs for ages looking for one
maybe you get one when you buy the book
no you don't
scanned it
it's not a scan
Maybe a digital copy is distributed to the school by your syllabus centre?
could be
except some of the other textbooks that are provided to us online are scans, as you said before
and some textbooks simply aren't available online
weird
l*bgen?
wat
don't see it on there
but thanks for telling me about that site
will come in handy
people say "for educational purposes" when doing sketchy shit all the time
and I feel like this is the one time where it actually, truly applies
What is an HKT?
I can't believe I now actually understand terms like "endofunctors in the category of types"
dear god
You will need to study category theory for 10 years and acquire a PhD before you can understand them
So I've heard
basically when type constructors in data (Haskell) or enum (Rust) constitute an own type
private class ComponentHolder(override val extra: MutableList<Component>) : Component {
override val data: ComponentData
get() = throw UnsupportedOperationException("Not allowed!")
override val colour: Colour
get() = throw UnsupportedOperationException("Not allowed!")
override val clickEvent: ClickEvent
get() = throw UnsupportedOperationException("Not allowed!")
override val hoverEvent: HoverEvent<*>
get() = throw UnsupportedOperationException("Not allowed!")
}
```๐
lol
I wanted the DSL to return a single Component object, so had to make an implementation specifically to store the children components

Komponent's colours all have colour spelt the British way
- because I'm British
- to avoid confusion with existing colour objects, such as AWT's
Color
and I thought ComponentColor was a bit too long
and didn't want to copy adventure's TextColor
ColorComponent
that will confuse it with component types
e.g. TextComponent, KeybindComponent, SelectorComponent, TranslationComponent and ScoreComponent
those are the 5 chat component types
also, wanna see the DSL I made for this?
component {
text("Hello World!") {
colour = NamedColour.BLACK
formatting {
bold = true
italic = true
}
clickEvent = ClickEvent.openURL("https://example.com")
hoverEvent = HoverEvent.showText("Click me")
children {
text("I am a child!")
}
}
}
mmmmm
children {
text("I am a child!")
}
Indeed you are
pray for me rn plz
fun toInt() = red shl 16 or green shl 8 or blue
Goddamn this fucking whore
fun fromInt(value: Int) = RGB((value shr 16) and 0xFF, (value shr 8) and 0xFF, (value shr 0) and 0xFF)
NullPointerException ๐ฅฒ
phat oof
guess where u dont get them
DRY you coward
wat?
Sadly that translates to NPEs ๐ฅฒ
Don't Repeat Yourself
๐ฅฒ
omg haskell good?
how does one not repeat oneself there?

I don't know either, dw
also, can I have an interface val that is overridden with an unreadable val?
what
actually I can just remove it from the super
what
no reason for it to be there
I had children and formatting as public vals in Component.Builder (extended by each component type's builder), but I didn't want people to be able to access them in the DSL
because you can't make vals protected or private in interfaces
they have to be public
I fixed that now anyway by just moving those into the impls
now gotta figure out how I'm gonna serialise this lol
One day, one day I won't be such a failure
Doesn't know what you're talking about || ๐ ||
@heady birch When does JFrame#paintComponent get called?
use an abstract class then
javafx is so awesome ๐
yeah JavaFX >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Swing > AWT
elm
Honestly can't be fucked with javafx
no I mean the usecase is so simple it's not worth
it literally has a app where you can drop and drag items
like buttons
and text
its so EASY
But I mean the more you talk about it the more I'm tempted in switching
you think JavaFX is just designed for advanced use cases?
you know it's built around simplicity right?
imagine typing to make guis ๐คฎ
also, Swing is old (and I think deprecated)
Honestly fuck you, switching
._.
<VBox>
<Label text="Hello World!"/>
</VBox>
```ez
dw
edited your message -_-
dependency for JavaFX is a separate JDK module iirc
absolutely horrid
for OpenJDK it's OpenJFX
When ever it needs repainting
JavaFX good Swing bad AWT bad
You can call repaint() yourself and it will call it aswell
plugins {
id 'org.openjfx.javafxplugin' version '0.0.9'
}
javafx {
modules = [ 'javafx.controls' , 'javafx.fxml' ]
version = '11.0.2'
}
thats all i put
looks about right
in build.gradle
ill showcase my project that is super ez to make once you learn how to use containers in javafx
epic
sorry for the first 10 seconds, sharex does some weird stuff
How do you apply a plugin to only one module?
gradle plugin?
yes
Good work although I can suggest never actually releasing whatever it is with that Progessbar with gui programming I could never structure it nicely and after the app starts getting big it starts getting messy for me with dependencies everywhere absolutely everywhere
apply from?
talking to me?
or frosty
you
oh
nice work dkim
wdym by this:
it starts getting messy for me with dependencies everywhere absolutely everywhere
thx! ๐
me too
And I quite like that it's all CSS powered
this is just my hierarchy
What's that GUI designer?
JavaFX
SceneBuilder
i added all the HBoxes so that it wouldn't be right above and below each other
-_-
javafx?
this is the preview
God it's annoying creating new modules which depend on frameworks
yes
use scenebuilder
wtih With eclipse
Die.
^
I think I once used ORACLE JavaFX Scene Builder 2.0
you realize scenebuilder uses javafx...
oracle ๐
i dont get you n3w0rk
cuz I am too fast for ya
The Labor Department is bringing one of the largest federal anti-discrimination cases to go before a judge.
this thing took me like 5 hours to figure out how to center it
then i found out that im dumb
and it took 2 seconds to center it
E
i am sure JAMES GOSLING had a part to play in this !!
Lawrence Joseph Ellison is the oracle CEO!
Okay this SCENE BUILDER is kind of cool
How does JAVA FX performance comapre to SWING?
Java FX should make a docking panel
and it's more widely used as well
Currently developers must rely on modern third party alternatives such as INFONODE and JIDE COMPONENTS
InfoNode?
just googled that and I found a site that still has copyright from 2009, and looks like it hasn't been updated since then lol
Yeah lol thats the irony!
@half harness How do I add a Menu
You under estimate the market SHARE of LEGACY software
Swing MenuBar, but I want it in JavaFX
whats swing menubar look like
Nine craft launcher (copy right Mojang) has been using AWT since 2011 and still refuses to update!
File Edit View kind of thing
There is something beautiful about Swing Metal UI
the template has it
Yeah but I can't find the MenuBar object!
Ah found it
wait... MC uses AWT?
๐
Okay this is kind of chill
is that meant to be some sort of joke?
time to use AWT
Swing is just AWT with a "J" on the front
lol
legitimate sources
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
Isn't Intellij made with pure java swing

Yes it is
you think BM's capable of providing legitimate sources to backup his claims?
Yes I think he is
wow you well overestimate him lol
He has proven many times
this is all the proof you need
do your own research
no
no
Where is 15 when you need it
15 doesnt have TRUMP!
1 Attachment: donald_trump_interview_on_legacy_software.wav
niall
15 ai is superior though
ur gonna become like n3w0rk
๐
Yup, unfortunately
knew it
The ai that site uses is really good, I have a feeling they wouldn't add politicians or anything
๐
I think software toolkits such as AWT and Swing are truly great, very well designed, perfect for any sort of Graphical Interface
- Donald Trump, 2003
@half harness Thanks for showing me that scene builder Im gonna play around with it now
lol np ๐
Now I must find a Metal UI css sheet
lol
Once you get to know all the containers its really easy to put objects where you want
VBox HBox, Grid, and BorderPane are probably the most common
And it has like a TreeTable and Pagination components
its epic ๐
Charts as well? Nice
yep
Why am I watching korean made fastfood?
#๊ธธ๊ฑฐ๋ฆฌ์์ #๋ถ์ #์์ฅ์์
๐์๋
ํ์ธ์ ์์์
๋๋ค :)
2020๋
๋ง์ง๋ง๋ ํํด๋์ ์ดฌ์ํ๋ฉด์ ๊ฐ ์ข
๋ฅ ์์
์งง์ ํธ์ง์ผ๋ก ํ์ด๋ผ์ดํธ ๋ชฐ์๋ณด๊ธฐ ์ค๋นํ์ต๋๋ค :)
๋ค๊ฐ์ค๋ ์ํด์๋ ํ๋ณตํ๊ณ ์ฆ๊ฑฐ์ด ์ผ๋ง ๊ฐ๋ํ์๊ธธ ๊ธฐ์ํฉ๋๋ค
์ํด๋ณต ๋ง์ด ๋ฐ์ผ์ธ์!!
๐Social media
โถ์ธ์คํ๊ทธ๋จ : https://bit.ly/39D5adW
โถ๋ค์ด๋ฒ๋ธ๋ก๊ทธ : https://bit.ly/2VQ3mdA
๐๋น์ฆ๋์ค ๋ฌธ์
โถakongfood@gmail.com
Copyright 2020. Yum Yum All Videos Cannot Be Copied Without Permission
๐
that looks red
well the title says 2020something YumYum something something something | YumYum's Best COllection 2020 Year
So, I just learned that C# doesn't have an equivalent to final variables and final parameters wtf
Literally unusable
not true?
Are you sure?
From what I could find, const/readonly for fields, sealed for methods and classes, but nothing for variables and parameters
readonly?
it's just a note for yourself
what abt { get; <no set;> }
I mean yeah, but I would prefer if that was a thing, that's why the "literally unusable" joke
java be like
@NotNull private static final Map<List<Date>, Integer>
ah it was a joke
is there any way of doing the weird annotation inheritance sorta thing
wym thats sexy ๐
lol
oui
so i could have like java @SourcedBy.KeyIn( in = @SourcedBy.File("fileName"), withKey = "key" ) but also permit ```java
@SourcedBy.KeyIn(
in = @SourcedBy.PluginConfig,
withKey = "key2"
)
y
theres no inheritance
@Child
public @interface Parent {
}
ridiculous
but i currently have this but that doesnt work
and it's gross
i want to be able to do SourcedBy in()
unrelated things in the reflection loading stuff
Wouldn't it be @SourcedBy.KeyIn
yeah
but i want KeyIn to be able to reference any of the other annotations
@KeyIn(
in = @SourcedBy.File("fileName"),
key = "blah"
)
does not work ;((((((((((
oh, idk
is that supposed to be java?
Can you even use nested annotations in Java? I don't think so
i thought you could
yeah one sec
that's a kotlin thing I'm pretty sure
well I mean you can do this
hm interesting
Why is the default text highlighting of intellij not highlighting anything and how can I change this?
i dont think this is possible
How people use it then?
make sure you're not on power saving mode
i meant my problem isn't possible
dw
oh
what would you want to highlight by "default"
By default I mean: the default text highlighting, what you get as soon as you download it.
font?
frankly I do not understand
jetbrains mono
what type of file
๐
.java file
My question is:
How can I change the text highlighting?
Yes and I asked "what text highlighting"
The text highlighting of intellij
The colors
Settings > Editor > Color Scheme
i would pay a lot of money for Stream#associateBy to be a thing
๐ฆ
Just make your own
4Head
๐ก
I now love generics lol
sealed class ClickEventSerialiser<T : ClickEvent>(private val keyName: String) : SerializationStrategy<T> {
override val descriptor = buildClassSerialDescriptor("ClickEvent") {
element<String>(keyName)
}
override fun serialize(encoder: Encoder, value: T) = encoder.encodeStructure(descriptor) {
encodeStringElement(descriptor, 0, value.content)
}
}
object OpenURLSerialiser : ClickEventSerialiser<OpenURL>("open_url"), KSerializer<OpenURL> {
override fun deserialize(decoder: Decoder): OpenURL = decoder.decodeStructure(descriptor) {
OpenURL(decodeStringElement(descriptor, 0))
}
}
object RunCommandSerialiser : ClickEventSerialiser<RunCommand>("run_command"), KSerializer<RunCommand> {
override fun deserialize(decoder: Decoder): RunCommand = decoder.decodeStructure(descriptor) {
RunCommand(decodeStringElement(descriptor, 0))
}
}
```lol
How the fuck do insets work
How do you position shit?
ah right
I could tell you how to do it in FXML, but you're probably not using FXML lol
in FXML we'd do this: ```xml
<GridPane>
<padding><Insets top="25" right="25" bottom="10" left="25"/></padding>
</GridPane>
Pane#setInsets?
button.setLayoutX(150); button.setLayoutY(100);
Either I'm hella dumb or I'm just retarded
press the button to quite life
tell me what you want to do first
yeah that's not quite specific enough
Just trynna play around with buttons rn lol
if you want a button to not be in the centre, GridPane probably isn't the right pane
since grid panes order their children by a grid (hence the name xD)
I want free movement
try using a BorderPane?
that gives you top, left, centre, right and bottom sections to play with
Why does setLayoutX/Y not work tho lol
yeah... no, that's not how that works afaik
That's dumb tho lol, why would it force positioning on nodes
if you just put a button without any panes it should actually shove it in the top left
because you should be using a pane at all times
Pane would be my application window, and Scene would be the different parts, correct?
Doing a poor job so far
Scene is the window you have open
Is it just me or has the average IQ dropped in the past few weeks?
care to share what brought you to that conclusion?
sonarlint is tripping right
surely you dont need to close a stream you're collecting
Plugin support
let me guess: LuckPerms Discord
And EngineHub but yes
you're a mod at EngineHub as well? or do you just minimod there? xD
Nah I'm just there for the laughs
inv me
/enginehub
I'm a pro now Bardy
it's a square
Shut up
Thatโs the sexiest square Iโve ever seen
actually, I guess I got excited the other day over a cube so I can't really say shit
A proper Chad square
Can I set individual pixels? Or will I have to make an image and just set the image
images in JavaFX are a pain in the fucking ass
Bruh why can nothing be done properly for fucks sakes
or maybe it was just me
I'm not asking for much
Make a 1x1 rectangle for each pixel :cct:
@remote goblet hey
Fefo, I'm getting the rope
"third dick" 
just for u
oh yea btw, I ripped off one of my brace holders :kek:
wow bardy stalker
Just do them duh
well some of them are NBT
duh
which means komponent will need to optionally hook into nbt
insertion 
why am I making my own component library instead of using adventure?
- because BM wanted something custom for MineKraft
- because it means I can write in Kotlin, which means I can make a really sexy DSL, and also use kotlinx.serialization
Stonks
A bigger square 
On the blue square goes a big Go Fuck Yourself and on the gray one there's options on how you can go fuck yourself


damn frosty thats like more customisation than ive ever done in apps
i cba with the design, i just slap the buttons on the page
Where can I download this
on my way
well that's new
But no, blue square is map display, gray is settings for it
What IDE most people use for java?
oh btw, I know I kinda keep asking this, but anyone wanna join the MineKraft project?
IntelliJ
intellij
Intellij
๐
Bardy, too sm0ll brain 
not true
yes yes
I thought I was small brain, but it's actually easier than you think
just lookup a packet, try and make something that works, if it works, great, if it doesn't, Google, go on IRC and ask the experts, you get the idea
anyone wanna see Komponent's smexy DSL btw?
"why's this returning null?" ๐คก
great question
component {
text("I am text!") {
colour = NamedColour.BLACK
formatting {
bold = true
italic = true
}
clickEvent = ClickEvent.openURL("https://example.com")
hoverEvent = HoverEvent.showText("Click me!")
children {
text("I am a child!")
}
}
}
mmm
Anyone know how to intercept a forge packet with protocollib on thermos 1.7.10? I haven't been able to find any examples but its supposed to support it.
1.7.10 
ProtocolLib doesn't support Forge afaik
According to https://github.com/dmulloy2/ProtocolLib/releases/tag/3.7.0 it does
does Forge even send custom packets?
actually, probably does
also, isn't Thermos a fork of KCauldron which uses Bukkit anyway?
yeah it's a bukkit/forge hybrid
basically I want to listen to forge packets on a thermos server with a bukkit plugin
Why does javafx legit not work when in a module
Only when the entire project is just javafx
@sick dove ProtocolLib supports custom packets from the looks of it
maybe just you 
That's false, it legit does not work if you don't create the project as JavaFX from the start
hmm
@prisma wave https://paste.helpch.at/awabezuxug.cpp ๐
Jesus
pls help me
idk how to turn a list of components into a single one
actually I don't even need to
fun List<Component>.joinToComponent(): Component
trying to think of a way to serialise this now
Put all of them as extra of a single empty TextComponent
div div div div div div div div
why do you all have everyone blocked
You misspelled "y'all" ๐
why do you y'all have everyone blocked*
y'all is actually disgusting
ok
i guess i dont ๐
show me the ways
can't seem to get fold to work with anything
leave
what even is latest gradle version
i can never stay up to date, i think im on 6.5 or smth
6.8
How are you doing it exactly?
I got it to work dw
Coolio
I'm just fixing really strange errors
java.lang.NullPointException
java.lang.NullException
golang.NilPointerException
segfault
๐
what.the.fuck.LifeException
this is the biggest pain in the ass I swear
Life indeed is the biggest pain in the ass

No suffering 
what isn't working
it doesn't shade?
oh
did u put correct stuff?
group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html 
alright
lol
upgrade
oh
dont use +
fine
but
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
}
are these ur only repos?
?
oh
