#dev-general
1 messages · Page 297 of 1
uhhh
you're making your own world generation system? gl lol
Don't question it Bardy
No, height mapping
Ah
Was the easiest way to atleast visualize it a bit
im guessing you make some sort of random chance and floodfill out
or smthing
did you get the algorithm down
No, that's why I don't want to move to mc yet
Ah
I see
well idk, this is just a starting point, but for each chunk you could have some sort of chance of spawning a mountain.
then find some points where it will be the highest. again it will be random
make a recursion out using floodfill
ew no
for each of the floodfill operation
you should be using a perlin noise map
lol
you know what the best part I find about this is?
this is the exact pain me and BM are gonna go through with MineKraft lol
oh great
I mean I'll os this so steal if you wish
I will probably steal it
it not only has to deal with generation, but loading, storing and rendering
But I mean this is probably gonna take a while to get right
we gonna use the same world format as the notchian server or we making our own? lol
ew imagine storing, just don't restart the server duh
imagine having to update to fix important security flaws though
and bugs
and add new features
imagine
I mean this looks pretty solid when it comes to basic terrain I think https://paste.helpch.at/nebidokela.diff
Making a visualizer right now
I mean the idea is to have 3d terrain, especially since 1.17 will increase the height limit
also, I swear perlin noise works between 1 and -1
that's the one
so why does yours have negative numbers and numbers greater than 1 in it then?
I'm confused lol
math bardy, math
up scaling it cause seeing decimals would get confusing as fuck
plus, this would be represented by blocks so decimals aren't of much use
show me
also, if it wasn't negatives, how do you think you'd get negative numbers?
0.5 < negative, 0.5 > positive ?
eh, fair
@prisma wave senpai you never answered my question
trying to decide if I should work on adapters or MineKraft lol
MineKraft it is
Lol
Uh
I'd need to think about that
If you're gonna do something can you make it work with 1.16.5 protocol
K thx bye
Nah it was written before 1.16 came out
only works with 1.15.2 atm iirc
I'm out so will be slow to reply btw
what ver you want this to work for btw?
just latest or the older ones too?
I suppose we can add the old ones afterwards
Any idea why iij doesn't highlight a project?
Try invalidate and restart
Do I use a special library for paper servers? Or just normal spigot?
I want to create a plugin for paper server, do I just use normal spigot dependency?
u can use the normal spigot dependency yea
but u wont get the upgraded features of paper ofc (if u need them)
Anyone wanna choose some colors for this?
DEEP_6(-6, 0),
DEEP_5(-5, 0),
DEEP_4(-4, 0),
DEEP_3(-3, 0),
DEEP_2(-2, 0),
DEEP_1(-1, 0),
DEFAULT(0, 0),
HIGH_1(1, 0),
HIGH_2(2, 0),
HIGH_3(3, 0),
HIGH_4(4, 0),
HIGH_5(5, 0),
HIGH_6(6, 0),
(second value, rgb color)
What do I get from paper that I won't get from spigot? And where do I find the paper dependency
extra customisability ig, mainly little things
nope 😦
this project if you wanna try - https://github.com/ChiefMoneyBags/TempFly
There is an even for that
EntityPortalEnterEvent maybe?
Though i think world change event would probably be better
Probably
Close the project, delete the .idea, go to IJ open new project, select the pom and open the project, then it'll be a maven project
Reason for that is eclipse
make an altitude chart
like in science
on of those
blue to red

I just used the standard colors for height mappings
If I can get this whore to properly display it
I know, Imma change it later on
Why this always blank, I sadge
swing
nice ik that
final JFrame frame = new JFrame("Terrain Mapping");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(WIDTH, HEIGHT);
frame.add(new TerrainMapper(WIDTH, HEIGHT, SCALE, terrain));
frame.setLocationByPlatform(true);
frame.pack();
frame.setVisible(true);
TerrainMapper: https://paste.helpch.at/vetemaqepu.java
for (int x = 0; x < height / scale - 1; x++) {
final int value = terrain[x][z];
printout = printout.concat(String.format(" %s ", value));
final ImageMapper mapper = ImageMapper.getValue(value);
try {
image.setRGB(x, z, new Color(mapper.getR(), mapper.getG(), mapper.getB()).getRGB());
} catch (final ArrayIndexOutOfBoundsException ignored) { }
}

Ignore the catch
lol
I got annoyed
set the panel visible?
I suggest you use IntelliJ over Eclipse, also suggest you use Gradle to manage dependencies instead of adding a library like you are
Will make your life much easier
You can use NMS with gradle?
if you wanted to
Same thing Pulse
nah the jars can be better than buildtools
Check out the official 1.0 launch trailer for Breathedge, the outer-space survival game with a few oxygen gasps of comedy mixed in for good measure. Breathedge launches as version 1.0 on February 25 for PC via Steam, Epic Games Store, Origin, and GOG.
#IGN #Gaming #Breathedge
It's happening
Never lol
@unkempt tangle #off-topic
yes it is
Just use clip's repo
Doesn't change anything lol
Maven local is still better than adding a jar
How is it harder? You run buildtools and it's done lol
Once
20
👀

is there some method to create all at once 👀
The same amount of times you need to run build tools is the same amount of times you need to download and import the jars from all versions
So any clue as to why nothing appears Pulse?
piggy or clip whatever hosts a zip
of jar files
lmao
idrc tho cause either way i just get it easier lol
Lol
let me see frosty
@prisma wave @frigid badge Any ORM recommendations? 🥺
pinging trusted 👀
Hibernate?
language?
Java/Kotlin
I rarely really use any ORMs in those languages but Hibernate or Exposed seems nice
@hot hull try setBackground(Color.BLACK); in the JPanel to make sure it exists first
rarely even use those langs 😭
Exposed seems weird now that I look at it a bit more
Hibernate outside is spring is kinda
Sad 😭
I don't like the look of Exposed tbh
can't remember the ORM I found though lol
Yeah
Ebean, bukkit approved!
Also Lemmo, managed to do a JWT authentication with HttpOnly cookies
Saw a bunch of people yelling saying that this is the safest way to handle it, because saving the token to local storage was vulnerable or something like that
image.setRGB(x, z, new Color(mapper.getR(), mapper.getG(), mapper.getB()).getRGB()); try setting the color to something like white and leave the black background
i want to make sure the imagemapper couldn't be causing the issue
All black
if its still black, its probably something to do with mapper
aaaal right
huh?
you need to add the spigot dependency
^
Add compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT' to your dependencies
And maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' } to the repositories
plugins {
id 'java'
}
group 'me.dkim19375'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
expand 'pluginVersion': version
}
}
```This is mine 🤷
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
what is that ^
the processResources at the bottom let you put ${pluginVersion} in the version in plugin.yml instead of like 1.0 or something (it'll use the version in build.gradle)
You can remove it, those are used for unit tests
Dkim you don't have to always do that
Yeah you can delete the test folder
test folder is for what it stands for, tests. if you want tests you can keep it
but most cases you dont need it
it takes so long to load, freezes up my computer when loading up the tab, and by the time it loads u guys are sometimes already on a different topic
Not for me i can just click it lol
Hmm?
So I don't need to put spigot in External Libraries?
my computer sucks
That is much better, like perfect way to do it!
Nah, all you need is to add the dependency and it'll be added to your project
That's the beauty of build tools
then do ctrl + shift + o i think
https://prnt.sc/yvibw7
How do I get that auto "add org.mojang....." as i do in eclipse?
is there any channel where I can post the image link?
you didnt run buildtools
It should have been auto, did you refresh the gradle changes?
so that i dont make a wall in chat 🤷
#bot-commands
no image perms
probably no embed perms either, but ill try
yep no embed perms either
rip
@forest pecan I think I see the issue here https://paste.helpch.at/iqoyivucek.cs
:why tho:
lmao
oh
o
noice
I'm currently writing NBT data lol
https://github.com/BomBardyGamer/KotlinNBT (a fork of the library that MineKraft is now using lol)
this DSL is so nice
phat oof
didn't know that was a thing
Fefo probs saved you a lot of time I'm imagining
don't think it's gonna be very different
since I still gotta write the same amount of data
Sadge
What is MineKraft
I mean NBT has a specification so yeah
a fast and lightweight Minecraft server implementation in Kotlin
the only thing you could change is the compression but yikes
basically me and BM are rewriting Minecraft server from scratch in Kotlin
like recreating NMS
you're joking
nope
you know this gets done a lot in many different languages lol
👀
you didn't know that DKIM?
nope
lmao
I think someone wrote one in PHP once xD
a whole mc server
thats too much for my brain
all you need to do is send and receive packets
if this was the client from scratch, I'd be concerned
but the server is ez (compared with the client)
Servers aren't that complicated
don't u have to do like calculations and stuff too
so that the client doesn't go too fast or smth
yeah ofc
that's not that difficult
but that's also documented
Probably
oh my
yeah literally everything has been reverse engineered and documented
if anyone wants to join the project btw, feel free
more hands on deck would be useful
Will we be getting multithreading or can we go fuck ourselves again?
oh we're getting coroutines lol
lol
better than multithreading™️
Thank fuck
is using an nbt api worth if u just want to support 1 version
tbh the Minecraft modding community is amazing
and don't really need an entire api
I want to be running a server with 50 players on latest on a microwave Bardy.
NBT API?
=plugin nbt api
this one
I can't guarantee much, since the Minecraft protocol is a mess, but I'm sure me and BM can make it work
Would be nice to see atleast some performance improvement
we haven't got to the part where everyone else generally just calls it quits yet
a.k.a chunks
Chunks are ez
from what I've heard, chunk loading is a nightmare
efficient chunk loading you mean*
I mean what I said
Just load the entire world, ez claps
Why?
Lol
oh yeah, because we can just do that can't we
because running a Minecraft server on anything less than a datacentre-sized supercomputer is not allowed
Kek
hmm why am I so bad? I can't really figure how CompleteFor works 😦
Blitz
i am using kotlinx for serialization and im tryna serialize some UUID's, should I just convert them to strings then serialize that?
cant it do that automatically?
oops
i meant
this
erm idk
there is a @Contextual annotation
i need to use
but idk what that does exactly
Oh I see this makes so much more sense. I was thinking of using it for something completely different.
yeah or make your own serializer
Don't use @Contextual
ty Frosty
Ok, thats what i was thinking, no idea what contextual even is
Basically reflection
Like something like Gson would use
Whereas kotlinx usually functions by generating classes
Which is faster, obviously
Ok
and by make ur own serializer
how would i go about that
actually
u know what
forget that
make an object extending Serializer<T>
Then u reference that in the Serializable annotation
improt elara/json

let text = toJson(struct)
yup
improt
we may never know the genius of bm
pakage main
improt main.mane
improt iwanio
iwanio.delete()
aaaaaa
🥶
Reality bending powers
Elara is truely amazing
People be theorizing what happened in WandaVision
Little do they know...
🪄
Cool feature of rust
amazing
Bloomin bloody brill mate
Ok
object UUIDSerializer : KSerializer<UUID> {
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("UUID", PrimitiveKind.STRING)
override fun serialize(encoder: Encoder, value: UUID) {
encoder.encodeString(value.toString())
}
override fun deserialize(decoder: Decoder) : UUID {
return UUID.fromString(decoder.decodeString())
}
}
this is what i have
How can I with meta.setDisplayName(); give item a colorful and bold name?
Color codes?
just &6?
Use the ChatColor enum
You can't use &
Lmao
Well
Either use ChatColor.COLOR or ChatColor.translate
Can someone else type it
I cba
d;spigot chatcolor#translate
boolean isWaterlogged()```
Gets the value of the 'waterlogged' property.
the 'waterlogged' value
lmao
@Serializable(UUIDSerializer::class)
and i use this to use the serializer
Classic docdex
Yup
y not just use string to serialize uuid
what if i want more tho
wdym
like 2 different serializers
like
i have one for UUID
maybe some other object
or class
like
er
i can only use one
you can use @Serializable on a field / property / parameter
OH
You use an empty annotation on the class
And then specify a Serializer for a property
@Serializable
data class ChefSellRunnableData(@Serializable(UUIDSerializer::class) private val uuid: UUID,
private val timeRemaining: Int,
private val initialSellPrice: Double) {
big brain
massive brain
🤯
🤢
Ima be honest a struct would be a lot cleaner there
I have an item, how can I add a certain "flag" or "meta data" to it?
Which wont show ingame?
why when I find a project to work on I don't feel like it but 2 days ago I was so border I didn't know what to work on.
nbt tags
Elara equivalent of a data class 
nah sadly not this time
it hits different
annotations are monads for people with no imagination
@prisma wave in case you didn't take a ss of it, before it goes down: https://i.imgur.com/1JB7cr2.png
That's not getting removed
lol
the so called "not corrupt" mods
cant believe i have to change my lambda calculus username but this sort of thing is fine apparently
How Do I Add an NTB tag to an item?
googleeeeee
Is this the best way to later on check if right-click and with the stick with ntb tag = lol
there are like a billion tutorials and apis
shouldnt i use addAttributeModifier or AddIItemFlag
Neither are related
I just need a way to later on identify that exact item.
Google nbt api
anyone good at making plugins?
really need someone who can at least configure them
Working on a really big project
I need a team
Like
/awesomestick
Later in code:
on RightCLick
if clicked with the awesomestick
#805698761442590730 probably
lots of talented people over at https://fsharp.org
Yes Enebz, set a custom nbt tag to the item and then check if the item they right clicked with contains that nbt tag
if you're on a sane version there's a built-in API
It is not paid. We will just split the money when we get them but this idea is very good and people will love it for sure
I need 1.16.5
then #805698757411995648
wot
lemme get a can of fanta real quick
maybe just use nbt-api
welcome to spigot 🙃
then use nms
you can shade the api
PDC works for ItemStacks
So what is PDC
PersistentDataContainer is the API's access to NBT data, 1.14+
Not quite full NBT access
you get your own namespace for your plugin and.. that's it, you can't access anything outside of it plugin scopes
Well I mean you can get another plugins namespace
spigot api moment
How do I use the https://www.curseforge.com/minecraft/bukkit-plugins/nbt-api/files
with gradle in inttelij
lol u just see me sneaking
"sneaking"
How did they add a working dialog system here.
🤷
Any devs online that could help me update a plug-in from 1.12 to support 1.16+
Shouldn’t be too complicated
hello humans
Hi human
does anyone have any insight on why running this code in parallel would make it slower rather than faster
https://pastebin.com/pMm3RCRj
dont mind the messy code i threw this together in like 15 minutes
[note both below examples are running 10x less tests than my pastebin link has]
with 1 thread:
Thread-0 running 100000000 tests!
0% done on Thread-0
...
90% done on Thread-0
results:
good: 16199/100000000
0.016199%
time: 2980ms
with 4 threads:
Thread-1 running 25000000 tests!
Thread-3 running 25000000 tests!
0% done on Thread-3
Thread-2 running 25000000 tests!
0% done on Thread-2
Thread-0 running 25000000 tests!
0% done on Thread-0
...
90% done on Thread-3
results:
good: 16208/100000000
0.016208%
time: 16025ms
Are you having to synchronize on something to increase that counter?
no, i have 4 futures that return integers representing the number of good rolls
sorry I didn't even see you posted the code lol
it's all good lol
int total = 0;
for (Future<Integer> f : results) {
total += f.get();
}
is what i use to get the final result - this runs on the main thread
ah, i found the reason this was so painfully slow
looks like there's a reason people use splittableRandoms instead of new Random() or Math.random()
🥲
Any devs good with NMS please message me. Need help updating a plug-in. Thanks to Mackenzie, I now know this 😂
NMS 😬
Is that why you sent a friend request?
Yeah, if you know NMS. I trust staff here. Dx I know that's bad.
It's better to ask your NMS question in #development than have someone specific message you
Just need help updating a plug-in for 1.16+ since it's no longer under development. That's all it is. But I posted there.
*** The version you have requested to build requires Java versions between [Java 8, Java 10], but you are using Java 11
*** Please rerun BuildTools using an appropriate Java version. For obvious reasons outdated MC versions do not support Java versions that did not exist at their release.
```lmao
this is funny
@echo off
set /p version=What version?
java -jar BuildTools.jar --rev %version%
PAUSE
```just made my own batch script 😎
Uhm... cool?
lol
Anyone who used to be like me who just rigs all the variable of NMS PlayerInteractManager and EntityPlayer just to find the suitable one 
lol
so it was a client....
ive never been on hypixel with it tho
you've already been reported

i use it to test anticheats
i have like 10 anticheat test servers on my server list
and I have Matrix premium
and tested about every free anticheat out there i could find
btw what does the cap emoji mean?
-.-
u keep replying with it
it means lies
-_-
cuz ur sending too much cap
hypixel himself is reviewing my report rn
nope, cuz ur gonna reply and say its false and I cant have that
.-.
enjoy the ban 🙄
🙂
oi
the whole cap emoji thing is the dumbest thing ever
hello i need help
how make thing same but different
Basically I want different pages, each page representing a table in a database,
which loads all the rows, etc, and lets me edit them, ive already got the rest api built up, i just dont know the best way to do tihs
Why does gradle just break sometimes randomly lol
tf is pascal
it looks old
What are you using to create the water streams?
ah
But I mean that looks really cool
Generate worlds using CBR 
cbr?
Cosmic Background Radiation
The fuck
Cosmic background radiation is electromagnetic radiation from the Big Bang. The origin of this radiation depends on the region of the spectrum that is observed. One component is the cosmic microwave background. This component is redshifted photons that have freely streamed from an epoch when the Universe became transparent for the first time to...
the 'k' was on my clipboard for some reason xD
I was pasting this
But would the terrain generated be a direct outcome of the big bang? no xD
Will add that as a preset
I was joking btw
I dont think you can get accurate reading of that
But its noise too
Like the static we get on old televisions are supposed to be CBR i think? not sure
This is annoying me
Whats wrong?
Water not showing up, and I can't figure out why
As in the color?
Yea
Show us your render function
Am I being an idiot rn or? https://paste.helpch.at/lenayozepe.java
It's generating properly so the mapper is cucked https://paste.helpch.at/ajuvukihir.diff
um wait
Why is your depths part of each other's intervals?
Deep_6 => [-20, -50]
Deep_5 => [-15, -19]
values from to
Just represents as what color it should be displayed
If it's from -15 to -19 it's DEEP_5
Unless I'm misunderstanding what you're trynna say
I mean as in is that not a misrepresentation of depth?
It's just some basic visualization
It's not necesary for it to be accurrate completelly rn
That not what I mean frost
Elaborate
Your noise map seems to be right but the depth ranges should be mutually exclusive afaik
8:20am, no fancy words please
as in (-50, -20] could be depth 6
and the next range would be (-20, -10]
next being (-10, 0]
...ect...
I guess
Still doesn't change the fact that negatives don't work :p
How tho
Changed it a bit so it's a bit more obvious https://paste.helpch.at/afehofexay.php
from is exclusive
gray color is 0 0
0,0
DEFAULT?
Yea
ok
Lemme see if IJ displays colors properly
Maybe the declared value was never negative?
It was
Did you debug that yet?
Okay a tad better representation of the colors :p
I did yea
Try printing out value whenever mapper is null
oh tea
found your issue
Your negative range should be inverted
switch from and to values for negative ones
Nice
Dis in Kotlin btw?
If so, makes it even better when we steal it for MineKraft
I would say kotlin is better for hacking things together
Java's better for more robust stuff
Enterprise, you might say
I find java a lot cleaner
idk why but ive really been not liking kotlin recently
(when you don't have everything already figured out)
FrozenJoin is the prime example of that, it's just stuff hacked up together and it looks like shit
obviously you can hack stuff in any language
But
I think kotlin's extra flexibility means it's much more hackable
No, we should hack stuff together in Prolog 🙂
😬
now onto 3d generation, please do someone bring me a rope
Although lemme see if I can see how it looks like in mc rn
uhm
Oh I'm stoopid

is pascal still used?
its been listed as like a suggested language for one of my classes, but google seems to tell me it outdated lol
Why does it only generate a single chunk?
Show us your chunk gen class?
2d array
then what dimension is a normal array 🤔
There's also int[][][]
Which is even more fun
Aj, ie:
array int[] -> array[x]
array int[][] -> array[x][z]
array int[][][] -> array[x][y][z]
o so its like an array in an array or something? Like when you fetch something from the array you get an array back?
Aka: array tree 👀
whats it look like in kotlin
burn efe.
is it equivilent to like Array<Array<Something>>
Array<Array<Array<Object>>>
disgusting
So anyone got any clue as to why it generates only one chunk?
The provided heights are all valid so it's an issue with the chunk data, but I've no idea what
i dont think it's used much in industry but it's taught pretty often
This list also has ActionScripting for Flash on it
Pascal is still being studied most commonly here
also never heard of BASIC
Grade 8 and 11 at school
BASIC was a programming language for computers in the 80s and early 90s
It has essentially no use anymore
Lmao
eh, VB is whatever
the only one ive heard of on that list is vb
yeah VB and flash are probably the most common
Delphi... well...
I think that's some derivative of Pascal
VB 😫
except nobody does
I thought Adobe Flash has been cancelled by now? 
but like with Windows 7, no matter how many times you tell people to upgrade, people don't listen
@ frosty
well flash has been removed since 2021
good
Aj sthu
also, whoever said chunk loading is ez btw, show me the ways senpais
ooh fancy with pro
kek Bardy
because https://wiki.vg/Chunk_Format#Data_structure is a nightmare
Still noone was able to give me atleast an assumptions as to why it would only generate a single chunk
Have you checked if there are any array index out of bounds exceptions being caught?
Also try generating the noise for that location when needed rather than pregenerating a 2d array
I'm gonna have to do that yea for infinite worlds, however it fucks stuff up so I'm just trying it out in a predefined area
can a 2d array not be negative values or am I stupid

Yes or No
can a 2d array not be negative values
what does this mean
Can an array index not be a negative value
An array index cannot be a negative value
Okay just read that back to myself
pretty sure it can in c
https://wiki.vg/Chunk_Format#Data_structure for that chunk section, how tf are you meant to write a short into a byte array?
or am I getting confused
since the protocol page says it's a byte array, but that page says array of chunk section
you just write a short
it's all bytes
yeah
You encode it
yeah
I'm confused on 1. whether it means a byte array or a chunk section array and 2. how I can convert a chunk section array to raw bytes
yeah ik that
but what are the elements meant to be?
I don't get how I'm supposed to write this
I think you might be confused by the fact that there are 2 "Data" fields
byteArrayOf(
blockCount,
bitsPerBlock,
palette,
dataArrayLength,
dataArray
)
```seems wrong to me
probably because that is wrong
because it is
writeLength()
for each section {
writeBlockCount
writeBitsPerBlock
etc
}
mhm
alright, cheers
also, for the palette, if it says 14 bits per block means no fields, I just send nothing for the palette right?
where does it say that
yeah i think you'd write 14 for bits per block and then just send nothing for the palette
i dont think you should be using coordinateX and Z in setBlock
setBlock expects numbers of 0-15
so im guessing it's only setting when chunkX and chunkZ are 0 or 1
since
Setting blocks outside the chunk's bounds does nothing.
oh yea forgot to change that from when I wasn't generating when it's called
also, if there's only 1 block, I only need to send data for one block right? lol
uh
data array
That's why pregening better pog
lol
looks good 👍
trying to figure out how I know what long to send for just grass
😮
that looks good
It actually looks amazing
https://i.imgur.com/vgCC4NI.png okay maybe choosing 14 bits per block wasn't the best of ideas
kek
are these holes or rendering glitches?
ahh nice
Now time for perlin worms??
You'll need worms for cliffs and stuff afaik too
mhm
Looking good nice to see people creating new generators
ocean is 60 i think
Oh damn this cool
nice
that's how i generate the material classes for papi 3
huh Gaby
noice
stupid
world generation
ok
"ok"
ok
Would it make sense to make it so if it's a positive value it has a chance to apply an amplitude (for easier mountain generation)
"In, say, Java, the JVM must check for null pointers and throw an exception if you deference one." Java's implicit null check is (mostly) costless. Java implementations can and do take advantage of virtual memory to map the null address to a missing page, so dereferencing a null pointer triggers a page fault at the CPU level, which Java catches and throws as a high-level exception. So most null checks get done by the memory mapping unit in the CPU, for free.
that's pretty interesting
Yes but also no
Looks spikey in a way
Beautiful
Gosh this is ugly
u ugly
wow rude
https://i.imgur.com/PICfx0j.png does eclipse give no fucking warnings?
It's a terrain visualizer, so I don't have to look at numbers to imagine how it would look like
good good
bad
https://i.imgur.com/6CafFp6.png am I wrong or this part of code wont ever run?
Would having some kind of meshes which would represent chunks make sense? Using the logic that, that would significantly ease stuff like populating trees, setting biomes, caves, etc
Why wouldn't it run Gaby?
Yea I mean that would run, so long it's present in the map
right but if the uuid is present on the map at first it will stop there
then at the bottom it just does the same check
if (FlightUser is not null) do
anyways
OMG
God my brain
Functional programming is actually good lol
obviously
there's a very small chance they disconnected while the method is running i guess
cough
Looks like it would

