#💻︱programming
1 messages · Page 26 of 1
im looking to make a custom texture pack for bedrock edition probs not best place to ask but does anyone know the file location for blocks and entities?
I have never worked with bedrock so heres a tutorial https://minecraft.fandom.com/wiki/Tutorials/Creating_resource_pack_add-ons
🤷♂️
When you accidentally tell intellij to autocomplete a switch statement to include every material type... 4k lines of code casually created
You will still get a error
String code = switch (key) {
case "1A9JMB3" -> "Blue";
case "N8967LL" -> "Red";
case "443F2J5" -> "Yellow";
case "AG239NW" -> "Orange";
default -> "Error";
};``` Also anyone doing java - if you're using language level 14 I highly recommend the updated switch statements, much nicer and more compact to use, threw together a quick example to show you
im learning python basic level. that hurts my brain and its simple
Do you understand how it works or are you just like "this is crazy"
lemme try and understand
so the key = 443F2J5 at the start of the program right
then your identifying things like 1A9JMB3 to blue
and if none of it works
then it will print error
correct?
yeah so its a really basic non-working example lol. Basically if you have a value - like our key - you want to loop through a lot of other possible values - the cases - and return another string - the code - and if you dont match anything it returns "error"
k
gonna learn c++ tho because i prefer bedrock and can also make aaa games in future
goodluck to you 🙂
PLEASE -1 GUI PLEASE!!!!
Lol
There was a python file that macs can run
Oooh, I'm still a 8 og but this seems fun
that was the point >]
also - we have some internal projects going on that we would need to finish first before we can even consider going onto it, because of the nature of those projects
passport was a prerequisite because any API we'd have we'd want to be authenticated to prevent potential abuse - but it's one of many prerequisites at the moment 😅
I was wondering because I would be more than willing to jump on and work on the API, I figured you guys had higher priority projects and this would give you the chance to focus on those. I'd sign any NDA required.
I don't think that'll be possible, but feel free to email jobs@cubecraft.net if you're interested in joining our development team
On a related note, if you're the kind of person to be reading this channel, we have opened some job applications again recently (for both development and infrastructure!) so if you meet the requirements and are an enthusiastic candidate then go for it - you can read more @ https://jobs.cubecraft.net/
Coding API is fun :)
Unfortunately I was denied but thank you though :)
The site says most are full-time jobs, but is it possible to apply for part-time too?
Our current library and content developer positions are full-time, but I believe Platform Engineer still allows for part-time :)
Ah, thanks! I was intrigued by the library developer position, but can't make full-time unfortunately
mmm 
I see it as an opportunity to better my profile and cover letter writing skills haha. I am at a severe disadvantage having lost all my previous work, but I am already starting on work to rebuild new projects to show what I'm capable of. Next time I'll be more propared.
Oh thank you 😊
+1 :)
Well, mainly you seem really skilled
im also really skilled
Lol, what's the thingy on right?
why I thought that was a ceiling, I will never know
toothpaste
lol
that's the spirit! :)
^
Hey @hearty bloom still working on your minigame?
Did not start yet. I'm on Easter holidays XD
And have few things I wanna code for the Translation Team
I see, hope things go well for that!
Ty :)
What is the latest java? Also what are the other pros compared to 8? I recall String#repeat but don't know much more... Also for 1.17 you need like 1.11 or 13, right?
I never really wanted to use higher java version because it was not needed and just disallowed user with most used java (8) to use it, but since I'm considering to upgrade because 1.8 is deprecated, I might also upgrade to latest.
I would stick a few updates back, probably to around level 14 is fine
I think the latest is 17 but I'm not at the computer to verify
@untold grail I’ll trade u 3 cubelets for dev rank
but i have a billion cubelets
but you could have a billion + 3
worth it
true
oh 
what has this channel turned into 
I don't know
¯_(ツ)_/¯
The latest release is 16. I always say if it's possible to upgrade to the latest, you should do so because of the JIT optimisations, GC improvements and other performance benefits that come in new versions
Although people generally stick to LTS releases because of the support
ty :)
This ^ I always try to stick behind a little bit, worth sacrificing the new shiny stuff for more support. But it's personal choice
I'll probably explore the newer java stuff once paper finally updates to 1.17
I once did a game in java 13 (2-3 years ago I believe) and my father was not really happy that I used java 13 because he always uses 8 (when possible)
8 is ol' reliable tbh
Do you think there is a way to show only 1 entity without stacking them?
Like the entity stacking plug-in that combines multiple cows to one cow for example?
5 items on the ground but it doesn’t stack them it only loads 1
And if a player picks only one up it will still show 1 iron in the ground but there is 3 more
like
It doesn’t stack tho
different types of items?
Like they are still individually on the ground but some are invisible
or the same but stacks of more than 64

You know how if you drop 64 it has like 64 on the ground?
yeah
And you pick them up over time
Like that but it only shows 1 iron but you still have to pick up the 64 over time
You can do that, you'll need a way to tie that item to the amount that's really there
Pick it up, spawn another one with that value -1
nOT stAcking
You're not making sense
Like they are there but invisible
but that's what items do in vanilla o.o
Bedrock bad tho
ohhh this is for bedrock
Like in egwor they don’t stack
well I mean
And it makes frames on Xbox drop to 1fps
anD nOByd Is VOTinG goR mY forums poST
Yea I want to know if it’s possible to hid an entity without stacking it
🤣
but with an indicator of how many items there are-
And invisible entities are still gonna lag you a bit if they exist.
The game has to keep them tracked even when invisible
If it doesn't work in singleplayer, report it as a bug to mojang and they'll send you in the right direction
^
They’re awful at bedrock support there’s so many bugs
I mean a bug is a bug
Microsoft: Buy a new Xbox
The frames on xbox have been like this for a year
worst case they just don't fix it
I don’t think they can
but if it's a singleplayer bug, there's nothing you can do :l
Microsoft can’t code a game to work on their own console fo you think they’ll fix it?
as the entities still exist
It’s technically CubeCraft’s fault for having 100’s of entities rendering
It runs better on the PS4 it’s sad
Cubecraft could implement stacking 👀
I would personally group them on generators to only render 1
An easy fix would be to (stack) them
I did suggest it to stack but someone said it wouldn’t divide the iron
What does that mean
wait like
But what I think cubecraft could do now is add stacking, but once an entity spawns it takes 5 seconds to stack
Like if 2 people jumped on the gen it would only give it to 1 player
ah
If they stacked
that can be fixed if cubecraft add stacking
That was handled by the java edition though
if they added it themselves, they could do a check to see what the item entity was colliding with and distribute it equally
Picture this ok? You have one iron on the ground but its actually like 2 stacks. There's not really 2 stacks it just says it is. When you walk over it it can only pick up one stack at a time and and it drops another iron with a value of 1 stack
Idk there's multiple ways to do it
I know what entity stacking is
The reason I was asking if it could show 1 but really be 64 (without stacking) is because they said they tried stacking before but didn’t want to add it back because it wouldn’t split the gens
It could easily see where another entity is related to where the stack is and if there are 2 then split the stack evenly or something
Or even stacking to 5 and making a new stack, so you have 5x less entities
so I think it's worth making a suggestion on the forums that suggests the items should be stacked and that they should be properly distributed :)
Over 3 because that’s the biggest problem
people won’t even vote on adding an in game option to change chunk caching and entity loading distance
And one kid in #📺︱media trying to tell me my frames are bad because of my wifi????
Like wtf?
a suggestion is better than nothing
I mean
I have had situations where my wifi slowing down has also weirdly affected my frames
but that ain't the full picture, I agree
I’ve never had that happen to me and if it was true my phone on mobile data should be worse than my xbox or my PC
I just find it ridiculous that if you want to play eggwars
You need to be running it on an ipad or a win10 PC
Or a new gen console
Like I installed astral even which win10 players say it boosts fps
I got nothing

Because resource packs don’t change loading times it’s just resource pack
yeah

I can understand the entity loading distance option but what would be the reasoning behind the chunk caching option? All that does is store chunks on your local disk for reuse so we don't have to use as much bandwidth, so it should improve chunk load times.
¯_(ツ)_/¯
Make it chose how much it would cache
Like save it between worlds
Or just keep it on one world
It's part of the client. We don't have control over the amount it caches
O
It's always enabled apart from on nintendo switch which doesn't support it
That crashed the console right?
Not that I know of but Redned worked on that.
Xbox has been cursed for the past year
On launch day of the chunk caching system there was a crash that occurred on switch as a result of it, but it was patched within an hour or two
Chunk caching if anything should improve performance
But as part of those changes it allowed us to speed up the chunk sending speed which was extremely slow prior to that update
Yea
Yo tha smart guys
Same 😂
i mean i can kinda understand but not really
lol
I thought I was dumb, then I came here and it got confirmed
Think of it this way. Are you not smart for not knowing Japanese or Russian or any other language? No. Same goes from Java or C++ or anything really. It's a language and you just need to know how all the pieces fall together.
is it same with PHP tho? 👀
🤢
:>
:<

No comment 🤐
:(
Haha
php is cool

ive worked with php, its interesting
indeed
does java have this?
👀
no, because it has something better but shush
lmao
I wish Overloading was in PHP :(
Hey @hearty bloom wanna be impressed?
YES
finally adding this lol
I taught myself how to develop in Java 👀
guess its not special 👀
I thought to myself one day "Why would I listen to someone teach me when they dont have a clue what pace I work at" so i just started learning
@AllArgsConstructor 👀
LOL
I was like
yooo this website is cool
I wanna make a login system
so I learnt PHP
public float x,y,z = 0.0f;
not even java has this 👀
👀
or do you?
i dont personally but ive seen it done
i dont usually have that many common variables to do that
Kotlin has some nice things that eliminate boilerplate code
Lombok is essentially pointless with kotlin 😄
k
do you use kotlin? 👀
Never tried it tbh
I both hate and like writing boilerplate code
is there a way to get intellij to just reindex your whole project from scratch? nevermind, the handy invalidate caches button worked
other than recreating the project from the source
what do you mean?
like you have a project from another IDE or no IDE and want to add it to
?
oh that
yes
haha
Try file > reload all from disk
I got confused by the second message lol
see if that works
I mean, it's working now :)
@floral sundial do you - by any chance - have experience with docker 👀
thanks for the help anyway ^^
No 👀
Docker too hard
I need help
isnt docker something similar to screen
SAVIOR more like
just use vms
but it's a whole computer archived inside
who needs wine when you could just put your whole steam library into docker

lol
less frames = better clearly
wine is for peasants, real gamers use orange juice
wait
milk
Oh @hearty bloom wanted to ask - do you want your minigame project to be solo or would you like a partner? I could ahem totally help you out cough if you wanted.
Exception in thread "main" java.lang.StackOverflowError
that would be really cool :)
like, I just want to learn spigot as fast as possible
zoom
I have been reading some online tutorials, but they are so boring lol
I usually just want to get a project
and learn while doing it
+steal from stackoverflow
that's how I learnt discord bot (JDA) lol
in like 2 weeks
and can do anything with it atm
just chuck some vectors at it and pray for the best
sounds are pog too
XD Well let me know when you're ready to do that - we will get git going (wow say that 3 times fast)
I was about to say
@hearty bloom spigot forums are so much better
dont throw flags at me!
I started using canary lol
now all my recent emojis are gone
so I can't just do :jo and tab
🇨🇿
hub
🙁
Lab expensive
Lab free
yes xd
Thought it cost money
that's why we use it
nono, bitbucket is paid
and github (if you need perms in project)
Wait
Why does the gitlab say free trial
I can only get a trial for 30d tho
you can get free trial of gitlab pro
Where’s the free version then 

github > gitlab
The trial is for gitlab ultimate not normal gitlab
^^
github is pog
same xD
SAME
and ben is ignoring my DMs :(
so wait, are we all of CI but cba actually setting it up- ?
Yall are talkin chinese
lol
he responded to me instantly LOL
F
it was
me: Hi ben
1 minute
ben: Hi
me: sends a message asking for help
--- waiting ---
--- still waiting ---
nice
oOF
@Getter is the best invention
||You misspelled Ge1ster
||

@Getter on class is the best invention
@abstract scroll here i am
omg 
👀
ill get back to you within 5 working years
ik 
LOL
why would you-
why not hack garfield kart
Why-
I am currently in the programming VC, and giving a speech on everything I know about it
Yes
I have said everything I know
Lmao
Thanks for coming to my Ted talk
best source to learn js?
w3schools for everything
but are you sure you wanna learn js?
I already used it, but I want some simple projects to start with
Yeah, what's the problem?
well, java script is kinda weird with types and ...
but sure
you can try SoloLearn mobile app
But it's amazing to build an attractive website
yes, agree
btw I'm learning php, do you suggest me to keep on it only or to learn js too?
if you want website frontend, then JS is the way to go
php is fun
you need to know JS for client sided changes
yeah but my main goal to learn them is to build something like admin panels
I see them so funny with different possibilities
Can you explain more?
don't really have time for that rn, sorry :(
but shortly, you sometimes need to update the website without reloading it - the only way is javascript
I got you
Alright ty ^^
nw :)
Hmm
@tawny spade btw, if you wanna use some frameworks, these are my favorites:
PHP - Nette - https://nette.org/cs/
JS - Next.JS (cooler React) - https://nextjs.org/
Although I am very nub when it comes to js, I heard that Next.JS is good 👀
tyy ♥️
Cooler react? Does it have air conditioning built in or something?
lmao
Hi I need help
how to return the sum of all the numbers in the range defined by its parameters python
I have this so far:
def Sum (UpTo, StartFrom):
while True:
FinalSum = 0
try:
for i in range(UpTo):
FinalSum += i
except:
print("error")
return FinalSum
break
range as from - to, or with skip
from - to
well
:o python
it's just simple maths
8th week of coding ;-; idk what im doing
that's sounded mean, sorry haha
no its fine xD
it was more like, that it's a math question, not a coding one
hmm
def Sum (UpTo, StartFrom):
return (UpTo - StartFrom + 1)*(UpTo + StartFrom)/2
this should do the trick
@ashen bramble
Ohh ok let me try
- I don't think you really need the
breakat the end because it is gonna get returned only once anyways but I'm not sure
Aye thanks it did the trick. I see what I had to do thanks
def Sum (UpTo, StartFrom):
if UpTo < StartFrom:
# throw an exception here or return null
return Null
return (UpTo - StartFrom + 1)*(UpTo + StartFrom)/2
just to make sure, UpTo is not smaller than StartFrom
Ok. Thanks for the help 😄
also its none in python, it doesnt have null 😛
oh yea, I was not sure haha because it did not turn red. thanks :)
also how do you do exceptions?
or errors?
idk what's in python
raise
i.e
raise NameError("Incorrect Name!")
classes passed to the raise keyword must derive from Exception class
so like
stop typing i know what you're gonna do
try:
runGiveawayBot()
except DiscordCompletelyBreaks:
raise BenBrokeIt("Discord down")
```?

LOL
:(
dunno what youre talking about
LOL

woa meanie
cubecraft never crashes when im around
ben forgot to power the potato servers
well, it's too scared to crash
makes sense
yes
F
shocking
well I think it is no coincidence


github is my girlfriend
SAME
Im sorry to say ive pushed and pulled your girlfriend
owo
hol up
😳
Help
It always crashes after you “fix” something and then get offline.
Anyone know a good pocketmine plug-in for making ui?
Who changed my name
Please Someone Help me i need someone to make me a Minecraft Server on Java ive been Up all day and Night i can Pay if you need i beg
Well ye, I would just find some hosting, it is the easiest and probably the cheapest for you.
LOL
Plus if you really wanted to self-host, there's an alarming amount of tutorials to set up a server on youtube :)
plus you can just download the Mojang server.jar and just create a startup script that can be found online
don't
ik, but it is an option
Ok
Purpur is cool too
./createserver
/mps
I think you mean /pg, CubeCraft's revolutionary private game system created by their best infrastructure developer

that does not even work
in reality every time you run that command ben has to swap some ethernet cables around so you join with friends
lol
lmao
Yeah it actually sends an alert to me via whatsapp so I have to go to the server and plug it in
makes sense
That's why you have to wait like 30 seconds because that's how long it takes me to run to France
damn ye
speed
fitness
slow
add to bedrock pls
Ohhh that’s why sometimes it takes a minute
Sorry for waking you up
How you make npc's on ps4?
/summon npc
@junior jasper Hello
.
Computers
yes
I appreciate your wisdom
Omg who is that amazing developer? Please let me know when they're here! 
Hm?
no idea, maybe Jens?
Jens as in the lead designer of Minecraft Jeb?! 😮
omg yes pls lol
😏
👀
@minor roost
👀
Hello developerbot
woop 😮
😉
doesn't work from code
but works using a command :(
MVWorldManager#cloneWorld("game-lobby", "an-epic-game") doesn't work
but /mvclone game-lobby an-epic-game works
anyone knows what I am doing wrong?
typo? cloneWork -> cloneWorld ?
oh lol, but that's just typo on discord
this is the only output I get from MV
this is the MV class
well, Multiverse doesn't know it
weird
Bukkit.getLogger().info(manager.getMVWorlds().stream().map(MultiverseWorld::getName).collect(Collectors.joining("\n")));
My brain too small to understand this
😂
not even if I force load it...
and the clone command should work the same way

and when I tried importing it, MV already knows about it
?

well, this is channel for programming, please use another channel - probably #💌︱staff・help is the way to go
it's for coding
@plush walrus why not use javascript?
cuz I don't know js
its not that complicated...
yes
Yes
well cant they just use the snowman survival thing and make it into slime survival?
Java best language
very
hi noob
Php is better uwu
don't forget Kotlin
Make me anything but a website in php then we can discuss
Kotlin is weird
true
lol
make Minecraft 2 in php :>
Kotlin is great*
I’ve tried to use it before it just seemed kinda stupid formatting wise
Kotlin is weird*
lol
It’s quite similar to java, just not as strictly typed as java is tho
But it can be used inside of Java projects which is nice :>
Yes that’s true
It’s just a little weird like wth why is there “fun” here
Like language isn’t fun 
it stands for function and yes kotlin is very fun
agree
I’ve coded in it and I never realized that AHAHHA
lmao hahaha
type of not a number: number
when git just decides "Oh, you wanted those classes? NO, into the ether they go!"
lol
Java 
merge the files yk
yeah we got them fixed
but rebase first :>
actually
you just need to rebase
for sure.
I just started python, and I’m making a Rock Paper Scissors game. My issue is that after it asks if I want to play again, and if I type “y”, nothing will happen and no new text will be made. Can somebody help?
Can anybody help me with my python code it's a discord bot but 1 error I am facing if anybody know pls tell me
ok wait
Tysm!
👀 let me take a look
I would recommend creating an infinite loop so the game will play when the user wants to play again, just add this to the top of your code and remove the new_game stuff
While True: # Creates the infinite loop
# paste all your game code here
newgame_input = input("Do you want to play again?") # Asks user if he wants to play again
if newgame_input == "n": # If he says no
print("game has ended") # prints that the game has ended
break # It breaks the loop and ends the game
else: # if he inputs something else that "y"
pass # continues the loop
I think this should work, lemme know if you have any issues with it
- I do not think it is necessary to import libraries after
ifstatement, you should just import everything you want at the very beginning
@ivory flume hello
hello :)
gud mod
is it hard to make a plugin that spawns you randomly at one of 4 locations on join?
I don't think it will be that hard
but I never made a plugin so you gotta ask someone else :>
me neither hahaha
I think you want to look for how to teleport a player first, then just make the location random from some list of locations
Should be really easy to do tbh
Depends on how you get the locations. Could just do a config for it
not hard at all. if you want them to spawn in an area of 100x100 for example, youll need to get a random number between minX and maxX, and minZ and maxZ. if you want them on the surface just make sure to do World#getHighestBlockAt(x, z) and there you go
Important to remember if your center point is around 0,0, you will need to account for that. your minX and/or minZ will be a negative number
finally do some checks. if the location is unsafe - like in lava - redo the teleport
you can do that with datapacks if youre in a newer version
/spreadplayers exists
thats the unfun way though D:
ty gradle very cool
Maven better

NO
pom.xml files scare me
^^
How
I learned them when I learned Java
It’s so easy
Just copy paste the dependency and if you need to shade it copy paste that too!
@dense zinc gradle is much easier and nicer
but like I understand maven, just dont prefer it
that does not mean you understand it
whomst is that handsome devil
no clue
I think they're an apprentice or something
it's XML
how can XML
be
considered SIMPLE?

my trying to use xamarin:
You are the best for saying that

If you use kotlin
Adding a dependency in gradle is 1 line, maven is like 5 or 6
Gradle is also much faster 😄
Initial setup may take a bit longer but the build times are extremely quick
I will probably give it a fair shot, just got so used to the niceness of maven lol
yes
So I have a problem... I am close to being one of the best controller players on bedrock but I got a new PC and idk how to connect my controller. I’ve plugged it in through USB, tried Bluetooth pairing but it didn’t show anything so I don’t think I have Bluetooth and DS4 doesn’t seem to work. Can anyone help me?
you use xbox controller I assume right?
I am not sure that is possible
It is because related noobs does it
idk if this is relevant but maybe check out this:
https://www.businessinsider.com/how-to-connect-ps4-controller-to-pc
Ok so I should try USB and Steam u think???
And will it connect to Minecraft Windows 10
I would try the windows utility or bt
and what do you mean with "DS4 did not work"
And USB at the same time
Uhh so I downloaded everything but I don’t get the correct file on my home page that is meant to show
do you know how to download from GitHub?
Yea that’s what I did
But the files didn’t show on my Home Screen
That’s why that didn’t work
it will be in your downloads folder
Yes but there should be one on ur homepage too
download this version https://github.com/Ryochan7/DS4Windows/releases/tag/v3.0.1
and download the .zip
Also when it did show up anywhere else nothing opened
might wanna share you screen so I can help?
nw
But I will try USB and Steam that sounds like it would work
But would I have to buy minecraft windows through steam,
*?
you gotta use MS store
Ok good that’s how I got it
cool
So it should just connect after I put it through steam?
well the steam is gonna work only for steam games I think
gimme a sec, I am tryna run the DS4
have some issues installing .NET
Hmm
well what was the error for you
I’ll see if I can open minecraft windows through steam
So nothing responded when I pressed on any of the files
have you unziped it?
Nah idk how to lol
download winrar
Link??
just google winrar
Wait can we DM so no one disrupts the convo lol
mhm
Coz I can’t do it all RN but i will definitely soon
shame on you
.net is the greatest framework ever made
Hello
I think it is an issue with the app that requires it anyways
no i am pro gaming
Yo play mincraft ??
Hi pro gaming, I'm Molly
Hi not programming, I'm Molly
Hi coding, I'm Molly

Yes
yes pls ban
no im quartz
👍
I got bored and I'm trying to get better with annotations and reflection so I made this module & event system library. It's not Bukkit/Spigot specific but if I were to make a big plugin I'd probably use something like this. If anyone is intersted:
https://github.com/PalomboDev/palombo-commons
I'll post some example use cases later on if anyone wants to see a more realistic view on how you would use this.
I'm sure there are flaws in the way I'm doing stuff but I still think it's cool.
Wow cool
I came here to say that I get to write my speech for english about AI
It's all so cool
I really should look into making my own
Good luck
fr, gl
I made a discord bot called Moo-sic which plays music
Well that must've been very a-moo-sing to make
XD
advertisement, someone ban please
and it does not even have a README.md smh palombo
The readme is the code
imagine not learning reflections smh my head
Imagine saying “shaking my head my head” ahaha
smh my head my head
smh my head my head my head
Have you looked into annotation processors before?
Like the one I use in the code I linked above?
Not necessarily
Then I’m not entirely sure what you’re talking about
They're basically a way of running code at compile time
Ohh like Lombok
I haven’t done any compile annotations yet but I have an idea of something that would be cool for generics
I think Sponge uses them for their listener system when it comes to validating their usage
Basically any time the @Listener annotation is spotted in a class, it detects whether the method it annotates over is valid in a sense, and if not it fails compilation
it doesnt 😛
but I do believe Spigot at one point created a way to make a plugin through annotations, and it uses annotation processors to create the plugin.yml
I’m a fan of annotations I feel like they don’t get used enough for simple information
Maybe that’s just in the spigot world
To be fair, Bukkit as an API is over a decade old, and a handful of that stuff didn't exist when it was first created
only issue is the other alternative is Sponge, but the barrier of entry to using that API compared to Bukkit is significantly higher
although Bukkit may be outdated in places, it is very easy as an API for people to pick up
@sweet barn teach me processors please :>
Sponge plugins aren’t compatible with spigot tho right?
correct
Spigot or some fork of spigot are the most popular nowadays
So sponge development wouldn’t get too many customers

yeah, sponge is nowhere near as popular in the community as it used to be
they're just about to have release builds out for 1.16... they're currently still stuck on 1.12 which has hurt them tremendously
I didn’t realize they didn’t have 1.16 😳 that’s unfortunate
They've got development builds but not quite release yet
I’ve seen some popular plugins support both so I always assumed it was more modern
they took the opportunity to redo their API in 1.13 but it ended up taking them far longer than they anticipated
not to mention the further internal refactors that occurred in 1.14+ too
I will give them that they've solved a decent bit of the shortcomings in their old 1.12 API, but eh, I doubt they'll be able to recover honestly
as much as I like Sponge, I doubt it'll ever be as big as Spigot/Paper
ye, we support Sponge with Geyser and we're like 10x their size 😄
tfw you make a commit but forget to push it
xd
Hey, so there is this Pascal code block which is:
for i:=0 to 11 do begin if (i xor 3 <> 0) then write('a'); else write('x'); end;
So, i have 2 question:
- How many Times the code above Will be executed?
- What is the output?
Uh, i just wanna know ;-;
ikr i should publish my project which contains login data for my server
New intellij updates looks so cool
^^^^
You can upload files directly to a repository on the site sure, but then that's not really making much use of github, you might as well just put your files on cloud storage
¯\_(ツ)_/¯
hmm guess so
if you want to use it for version control, github desktop is a decent place to start
GitHub is kinda good once you learn how to use it
Imagine not using Python
ikr 😎
gitlab ftw
irrelevent
i remember why i didnt like gradle
i honestly gave it a try - but it doesnt even generate my src folder
lol

which server software does cubecraft use?
software?
do you mean like OS, minecraft framework, or?
minecraft server software
like spigot?
yes
I am not sure, but I highly doubt it's CraftBukkit. It's gonna be Spigot or Paper (with Bungeecord ofc). It doesn't really matter, but I would recommend using PaperMC because it's more efficient, it's that's the reason you are asking :)
ok thx
nw :)
We run a fork of Spigot, but if you’re looking for something to use on your server, I would suggest Paper, especially if you’re running a 1.16 server 😄
We have an in house system we use called Translator
and why do you dont use nukkit?
More info here btw: https://www.cubecraft.net/threads/behind-the-cube-1-feelin-lucky.264600/

but how to use UI´s in spigot
I would recommend using Geyser with Floodgate 2.0 to achieve that
ok
You’ll need some programming knowledge to utilize the forms but there is an api in Floodgate for that
that's me :)
that was a bad joke
I laughed
I didn’t 😏
I didn't either
CubeTap 👀
Whoever came up with thay name deserves a raise
I know about other really optimized forks which I tested like Tuinity and Purpur.
They both can handle a very high amount of players (especially Purpur)
open source, really interesting tbh
Purpur is pretty neat tbh, loads of customization options
????
floodgate 2.0?
tell me more of your magik 👀
I use purpur, works great
Is anyone willing to hop in a VC and help me install DS4 to my PC? (If so DM)
The mouseClicked MouseEvent ijn my java code gets activated multiple times, does anyone know how to fix that?
do you have more context?
public void newButton() {
x = ThreadLocalRandom.current().nextInt(0, 1800);
y = ThreadLocalRandom.current().nextInt(0, 940);
clickButton.setBounds(x, y, 120, 120);
frame.add(clickButton);
timesClicked++;
timesClickedLabel.setText("" + timesClicked);
if (timesClicked == 5)
endGame();
}
the method gets called by a MouseEvent
oh wait no, it gets called by a ActionEvent on a JButton
@brisk badge are you sure MouseEvent is not Mouse has been moved event?
also what framework is that?
forge?
what do you mean with framework :p
public void mousePressed(MouseEvent e) {
so it is a mousePressed event
or library
like spigot, forge, fabrics, ...?
it isnt something MInecraft related, just a java practice project
i have that, and the clicks are working, but are registered multiple times
but you said you have MouseEvent not ActionEvent
also I believe you have to check the type
oh ye sorry, i was unclear. I showed the wrong event :p
public void actionPerformed(ActionEvent e) {
if (e.getSource() == startButton) {
frame.remove(startButton);
frame.remove(startText);
frame.remove(endLabelText);
frame.remove(endLabelScore);
frame.repaint();
startGame();
newButton();
}
if (e.getSource() == clickButton) {
newButton();
}
}
so this gets executed more times than i want to
I don't understand why you have this:
if (e.getSource() == clickButton) {
newButton();
}
oh nvm
there are more buttons that can be clicked
can you post the whole class please?
i am making a game where a button appears in your screen and you have to click as fast as possible on it
at the end you get a score in miliseconds
oh nvm i have found the problem



😂




