#💻︱programming

1 messages · Page 32 of 1

quiet marlin
#

I know how to do it, if you want you can send me a direct message

#

I already helped him

queen hound
#

I'm BACK !

minor roost
#

this is because F5 is “hard coded”

#

almost impossible to make it

#

that’s what i heard anyway and believe me i have already tried

queen hound
#

Love how I got banned for 3 days after saying one word right here

gaunt berry
#

hello could you stop spamming unrelated links

dapper ginkgo
gaunt berry
dapper ginkgo
pine breach
#

What would be a good program or class that can help me learn how to code and stuff

wild shadow
#

stackoverflow

wild shadow
minor roost
#

i’d say udemy but

#

honestly it’s not worth the money

#

s

#

self teach urself there are plenty of great free resources

pine breach
#

Not sure if that’s still has coding in it since I’m still quite new

wild shadow
spring tiger
#

Unity itself has tutorials for beginners built into the software. Just download it and it should be on the starting menu :)

minor roost
small plank
#

C++ is for unity

torpid crypt
#

Im trying to learn how to use UE5. Although it all seems very complicated I'm slowly learning 😅

small plank
#

Nice

gaunt berry
small plank
#

Not that much

gaunt berry
#

c# is the language its made for

#

its written in c++

small plank
#

anyone has expierence with coding minecraft clients?

small plank
#

Can I dm u

dense zinc
rancid trail
#

I put the 'pro' in programming

brisk trout
#

heavy cap

ocean sparrow
#

looks hot ✨

wild shadow
dense zinc
minor roost
#

tbh I thought it was more recent

dense zinc
minor roost
#

Is there a plugin for me to freeze someone in my server (for screensharing)

minor roost
#

Is it 1.16.5 or outdated?

dense zinc
#

No clue

#

I’ve used it in the past

minor roost
#

Cool!

gaunt berry
minor roost
#

it doesnt work if the player is a blatant hacker even though the anticheat is installed

gaunt berry
#

that... was a joke

minor roost
#

the blatant hacker can use netbeaner and get away from being frozen

small plank
#

code a anticheat

sullen jacinth
# small plank code a anticheat
public void onMove(PlayerMoveEvent event) {
    Player player = event.getPlayer();
    if (player.isCheater()) player.ban("GET OUTTA HERE, CHEATER!!");
    Bukkit.getServer().broadcastMessage("§4[ANTICHEAT] §bPlayer §e" + player.getName() + " §bhas been banned.");
}```
#

easy

small plank
#

Niceeee

#

looks good that little code

#

do u know Spartan?

sullen jacinth
#

yeah

small plank
#

I'm the Developer of it 😄

sullen jacinth
#

wait

#

wut?

small plank
#

with 15 more people's

sullen jacinth
#

really?

small plank
#

yes

sullen jacinth
#

proud of u

small plank
#

aha

sullen jacinth
#

do u know "GregAC"?

small plank
#

on what?

sullen jacinth
#

I'm gonna sell that little code for 30$

#

that's my new anticheat

small plank
#

whahaa

#

goodluck

sullen jacinth
#

I'm gonna get rich!!!!

#

jk xd

sharp crystal
sullen jacinth
#

since ehm

#

3 years?

#

maybe 4

sharp crystal
#

i fr didnt know 😳

small plank
#

im developer since 7 years 😄

sullen jacinth
#

weird flex lmao

#

u boomer

small plank
#

i know

sullen jacinth
#

I'm only 14

#

and started coding at 10/11

sharp crystal
#

wait what

sullen jacinth
#

xd

sharp crystal
#

i thought you were like 17

small plank
#

im almost 20 😄

sharp crystal
#

loool

sullen jacinth
small plank
#

whaha

sullen jacinth
#

Nooo! Don't make me a boomer

#

)):

sharp crystal
#

i fr thought u were older

sullen jacinth
#

how old are u?

sharp crystal
#

17 lol

#

but

sullen jacinth
#

boomer

sharp crystal
#

i code in css

#

since its amazing language

sullen jacinth
#

ew

#

css

sharp crystal
#

every mc plugin etc that i coded isnin css

#

yk

small plank
#

how?

sullen jacinth
#

how can u code a plugin with css?

small plank
#

yea

sullen jacinth
#

Minecraft only supports java

small plank
#

i was thinking the same

#

😄

#

yupp Java and Gradlew the only ways the code Mc plugins

#
  • Maven *
#

but it all supports java

sullen jacinth
#

Maven is actually a build tool

#

isn't it

small plank
#

but i never heart that css support mc

#

it is

#

Gradlew to

sullen jacinth
#

ye

#

then it's just java

#

xd

small plank
#

yup

#

@sharp crystal can u show a little code of css minecraft plugin

sullen jacinth
#

I think they were joking xd

small plank
#

haha

sullen jacinth
#

wait are u a he or a she?

#

@sharp crystal

small plank
#

no i think he is a boy

sullen jacinth
#

they were at tcct, me bad staff manager

#

I don't know what gender my staff is

small plank
#

where are u manager?

sullen jacinth
#

tcct

#

u know it?

small plank
#

no

sullen jacinth
#

The CubeCraft Times

#

no?

#

How dare u

small plank
#

inv me in dm 🙂

#

maybe i know it

#

but im not sure

sharp crystal
#

im a she/her lol

sullen jacinth
#

sorry

gaunt berry
ocean sparrow
#

In theory it should be possible to write a Minecraft Spigot plugin in a language like C++

#

but you'd need to bridge it to Java somehow and it's just not worth the time and effort

sullen jacinth
#

^^

small plank
gaunt berry
#

but java and kotlin are the main languages used

small plank
#

@gaunt berry do u know about MCP?

gaunt berry
#

yes

small plank
#
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path: C:\Users\damia\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Users/damia/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149/jre/bin/server;C:/Users/damia/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\damia\AppData\Local\Microsoft\WindowsApps;;C:\Windows\System32;;.
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2423)
    at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:808)
    at java.base/java.lang.System.loadLibrary(System.java:1893)
    at org.lwjgl.Sys$1.run(Sys.java:72)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
    at org.lwjgl.Sys.loadLibrary(Sys.java:87)
    at org.lwjgl.Sys.<clinit>(Sys.java:117)
    at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2942)
    at net.minecraft.client.main.Main.main(Main.java:39)
    at Start.main(Start.java:11)```
#

do u know what this errors means?

gaunt berry
#

add lwjgl64 to the path variable

#

™️

#

or set it in the start arguments thingy

small plank
#

where?

#

i use eclipse, but from where do i have to add path variable

gaunt berry
#

google is your friend

#

but to answer ur question

#

go to advanced system settings

#

then the advanced tab

#

then environment variables

#

then set path to the folder u have ur lwjgl in

hearty bloom
#

why not just add log4j2.properties file to /resources?

gaunt berry
#

thats not the error tho is it

small plank
#

@gaunt berry

#

you said ```go to advanced system settings

hearty bloom
#

well yes, but it's still the reason why this:ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.is displayed

small plank
small plank
hearty bloom
small plank
#

src/main?

#

its MCP

#

not spigot 😄

gaunt berry
sharp crystal
#

what

hearty bloom
sharp crystal
#

why there

small plank
hearty bloom
#

did you mean gradle/maven?

#

src/main is common for most java programs

gaunt berry
#

they wanted to say its a mod and not a plugin

hearty bloom
#

but --

gaunt berry
#

idk why but

hearty bloom
#

it's still java lol

gaunt berry
#

yes xd

small plank
#

wait

small plank
#

and then?

hearty bloom
# small plank

mcp folder and net.minecraft should be wrapped in main folder

small plank
#

i dont understand anymore 😭

hearty bloom
#

this is most common directory structure for most java applications

small plank
#

but its a mod

#

it decompiles and made the src files by him self

gaunt berry
#

its the same thing

sharp crystal
small plank
#

i cant follow it

hearty bloom
#
|- lib
|- jars
|- src
|   |- main
|   |   |- java
|   |   |   |- mcp
|   |   |   |- net.minecraft
|   |   |- resources
|   |- test
|   |   |- java
|   |   |- resources
#

it should be something like this

lusty pagoda
#

wha-

#

is Tha-

small plank
#

Code?

sharp crystal
#

no lol

#

that a structure

tawdry sorrel
#

lol ye

hearty bloom
#

I love generics... List<List<Supplier<CompletableFuture<Void>>>>

brisk badge
#

Rip

#

I really hate those <>

#

I think it looks really messy in ur code

#

When used like that

sweet barn
#

I think they look fine in general use but if you have a list of a list of a completable future supplier... you may want to reconsider your implementation a bit 😄

craggy orbit
#

If anybody here wants to know about coding just @ me and I will give you a link to practice with.

gaunt berry
#

they could also just use google

hearty bloom
#

^ the reason why I don't do it on go is the shutdown process

#

that needs to be reversed, but yea, there might be a better way to do that

#

also suppliers because I need to start tze modules when I want to

#

(I use the same exact Method for creating startup queue and shutdown queue, just reversed

spring tiger
#

don't you think you should make these more concrete though, ie using your own made class rather than just general classes like List<List>..?

hearty bloom
#

hey mit :)

#

that doesn't sound like a bad idea, I will try to improve it :)

#

tbf, I was just happy that I managed to make it work haha

sullen jacinth
gentle patio
#

Or by cubecrafts way 'if it doesn't work, don't try to fix it'

dense zinc
#

Yk how demotivated you would feel if you spent weeks trying to create something fun and exciting for thousands of people and all the feedback you get is “wow did you even try?”

gentle patio
brisk trout
#

hey man

#

stop crying

#

❤️

gentle patio
#

doubt im only here to complain

small plank
#

i hope somebody can help me

#

i got this in my console when im trying to run my client MCP

ocean sparrow
#

And 1 cropped screenshot is really not much info

hearty bloom
quasi oasis
brisk trout
quasi oasis
#

I'm recently blue

brisk trout
#

😮

#

YOU GOT THE PROMOTION

#

ARE YOUR EYES BLUE

quasi oasis
#

Sometimes

brisk trout
#

LIKE THE ATLANTIC?

quasi oasis
#

OH

#

YES

brisk trout
#

congrats man ❤️

honest heath
#

ED

minor roost
honest heath
#

but its ed

#

:(

minor roost
#

yes

#

it's inspiring

brisk trout
#

Hey man

#

You might be the coolest pickaxe

#

but I am the coolest person

#

Fre$h Daddy B @honest heath

#

Can my nickname please be Fre$h Daddy B

honest heath
#

@brisk troutdone bb

brisk trout
#

Doing the lords work ❤️

gentle patio
#

E

brisk trout
#

EEEEEEEEEEEE

#

A

#

Sports

gentle patio
#

B?

dense zinc
dusky rune
#

Look at me now deeming with power I will tear into your nuts

#

Nuts as in the food

gentle patio
craggy orbit
#

@dusky rune wha idk

quasi oasis
small plank
#

anyone that can help me with this error

#

it says the error: package javax.vecmath does not exist import javax.vecmath.Matrix4f;

#

but i added the jar

brisk badge
#

Isnt the name of the packet “vecmath-1.2-1.14”?? @small plank

small plank
#

it is

#

i fixed it

brisk badge
#

Oh ok :)

small plank
#

but i was looking at github and i found a link but its a .kt file

brisk badge
#

Sorry for late reply

small plank
#

what is .kt for language?

#

np

#

look at that

#

its .kt

#

does that work in mc?

brisk badge
#

Uhm I believe the kt extension stands for a Kotlin file. Kotlin is a programming language which I don’t think is usable for mc

#

Kotlin is used for Android apps, so I think doesn’t work

#

Not sure tho

gaunt berry
#

im actually an idiot

#

i unironically just did that

plush walrus
dense zinc
#

It’s basically Java but not really

#

Like anything you can write in Java can be done in kotlin

hearty bloom
#

yep

#

but idk if I should learn kotlin or not, it's seems weird lol and I just like the predictability of java

hearty bloom
#

or nah?

ocean sparrow
#

It's just compiled to bytecode like the old plain Java and can run on a JVM

gaunt berry
#

xd i wrote a python script to generate 4294967296 enchantment level texts

#

in roman numerals that is

#

the file is 1.5 gigs already

#

and it didnt finish yet

#

now that i think of it

#

i probably dont have enough storage

wheat relic
#

how to spawn in a splash Potion?

#

wait

#

I might just be dumb

#

Yea I want it to be a specific splash potion how to do on bedrocc

brisk badge
wild shadow
wheat relic
#

Immense brainpower pogpog

brisk badge
brisk badge
# wild shadow

I would throw my computer through my window if I would get that captcha ngl

#

Hm

#

Best language stays datapacking language

#

:(

minor roost
#

what coding language is cubecraft written in

lusty pagoda
#

Bedrock or Java?

#

Bedrock : I think C#
Java : Java

minor roost
#

ok

brisk badge
#

Lol

spice plaza
lusty pagoda
#

Then bedrock bug fixes would be fastly resolved than Java's ones

#

But instead, it takes a while

spice plaza
#

A programming language is a programming language

lusty pagoda
#

But Java is easier than C#?

#

Or C++?

spice plaza
#

That's a matter of opinion ¯_(ツ)_/¯

#

I would say C++ is defo harder to learn than C# and Java

#

but C# and Java would be about equal

#

Although if you're experienced enough, that shouldn't matter when fixing bugs 👀

lusty pagoda
#

Idk which one is harder, C# or C++, but what I know is bedrock for C and Java for Java idk

#

I barely know html

spice plaza
#

The bedrock client either uses C or C++, I forget

lusty pagoda
#

But I read conversations in this channel

spice plaza
#

and the java client used java

lusty pagoda
#

Yeah

spice plaza
#

mmmm ✨ memory leaks ✨

lusty pagoda
#

I know

small plank
#

can someone help me

#

'MCP

#

idk if you understand that code

#

dude

#

i first want to know if u understand MCP

#

if you dont

#

why do i have to explain my hole issue, even you dont know it :

#

who are u

spring tiger
#

Most likely included this regular code to trick bad antivirus

minor roost
#

What is obfuscation and why my antivirus deletes the file?

gaunt berry
#

obfuscation is used to make code(or anything really) hard to understand for humans

#

and idk why av software detects it

tawdry sorrel
#

Mabye the software you're using

gaunt berry
#

im guessing malware is often obfuscated?

tawdry sorrel
#

That's probably it but it might lead to more problems with the computer later

gaunt berry
#

obfuscation?

tawdry sorrel
#

Ni

#

*no

#

That the anti virus deletes the file

gaunt berry
#

you can exclude files

#

in the av software

tawdry sorrel
#

Ye ig

minor roost
spice plaza
#

think so, yup

minor roost
#

Thanks

gaunt berry
#

they use the same software for both java and bedrock

minor roost
#

Ok thanks

gaunt berry
#

which is a modified version of bukkit

minor roost
#

👍

gaunt berry
#

they have a forums thread explaining how it works

#

i think its called behind the cube

minor roost
#

I'll have a look

small plank
#

anyone that can help?

#

here you see i added the Vecmath jar

#
import javax.vecmath.Matrix4f;
                    ^```
#

and then i still get this error in console when im trying to run the client in Intellij

minor roost
#

what coding software does cubecraft use

#

i know its java

dense zinc
#

I believe it’s probably personal choice, all IDE’s get the job done

#

But I’ve seen the majority use IntelliJ

minor roost
#

ok thanks

gaunt berry
#

jk lol

#

yeah as already mentioned its personal choice

small plank
#

Most uses IntelliJ

small plank
gaunt berry
#

text editor

small plank
#

Ohhh

brisk badge
#

Word is best codeeditor

#

But still pretty unknown

gaunt berry
#

excel

#

is better

tawdry sorrel
#

Nah word is

brisk badge
#

Word is better cuz it takes less time to run in windows cuz it’s a shorter word

#

Time is money

minor roost
hearty bloom
#

VIM FTW @gaunt berry

minor roost
hearty bloom
minor roost
prisma arrow
#

so

#

do people actually talk about coding here?

spring tiger
#

Ya

prisma arrow
#

what type of coding

#

like the servers coding or coding in general?

spring tiger
#

anything coding related

prisma arrow
#

oh

#

nice

#

havent coded in a long time but i like to get back into it

wheat relic
gaunt berry
#

scratch is still programming

#

its just a simpler "language"

wheat relic
#

yes

#

jay coding in 2015

#

it's so bad

#

2 yeara after that much better, still could have done better lmao

#

is PmmP the only Bedrock server host?

#

that isn't vanilla

#

nvm Nukkit

queen hound
#

I'm back !

#

(again...)

queen hound
queen hound
#

soooo

#

Scratch could be called BBL
BlockBasedLanguage

quiet arrow
gaunt berry
wheat relic
#

imagine not coding in morsecode

foggy hemlock
#

Imagine coding.

queen hound
#

If you wanna go into every language

gaunt berry
#

english is a programming language

queen hound
#

Lemme bring out my Français, my Español, my 日本語

gaunt berry
#

and your brain is the processor

ocean sparrow
gaunt berry
#

every language except uwu++

#

uwu++ is...

ocean sparrow
#

That's a thing

gaunt berry
#

special

ocean sparrow
#

And there was a lolcat language I think but it's still English-like

gaunt berry
ocean sparrow
#

Uhm, no thank you

gaunt berry
#

xd

spice plaza
# wheat relic is PmmP the only Bedrock server host?
Minecraft Servers Wiki

Unlike the official Minecraft: Java Edition server software, the unofficial Bedrock Edition server software usually lack many things that are present in Bedrock Edition vanilla server that are built into the Bedrock Edition's client.
The servers, excluding the official Bedrock Server Software, are also free of Mojang source code. In many cases, ...

wheat relic
spice plaza
#

oooo :0

#

best of luck, how's it going so far? blobparty

wheat relic
#

I

#

Am figuring out how to code in Java again that's what I am doing

#
package DSps

public class `mainclass` extends PluginBase{
    @Override
    public void onEnable (){

        getLogger().alert("Plugin Enabled");

    }

    public


}```
#

I have that right now LMAO

#

I am trying to look at other plugins to try to help me but no clue where to look lmao

wanton timber
#

Try and learn the basics of java first

#

For starters, learn about the syntax and then the naming conventions

wheat relic
#

I already made gaem on whatever it's called

#

Unity but I was in 5th grade like 13years ago

#

no wait

#

LMAO

#

mnot 123

#

13

#

like 8

wheat relic
#

yEs

#

I realized I was wrong

#

I have to remake it

dense zinc
#
    @Override
    public void onEnable() {

        getLogger().alert("Plugin Enabled");

    }```
wheat relic
#

shush

#

I haven't used java in 8years

#

nor have I coded in like

#

3

#

Actually, I'mma just find a tutorial for a gamemode before party, so I can figure out what half this means lmao

wheat relic
#

Before it was a 3minute video lMAO

dense zinc
#

Saved you time

wheat relic
#

yea, they spend like 8minutes setting up a github? for who knows why in the video about how to make a minigame

small plank
#

I never use @override method

spring tiger
#

It's not required, but it can help prevent errors

small plank
#

I never got a issue with it 😂😂

wanton timber
#

It's kind of so people can understand your code better and it's a really bad practice to never use them but meh

hearty bloom
#

quick question: maven or gradle? and why?

queen hound
#

hmmm

#

Lemme see

queen hound
hearty bloom
queen hound
#

yeah but

#

What am I using then ?

#

Am I just doing it manually lol ?

hearty bloom
#

I think so

queen hound
#

hmm

#

Welp

#

Then I say None cause why not

wanton timber
#

It's just way more efficient and faster than maven

dense zinc
#

Easy and makes sense

hearty bloom
#

the issue is that I know both and idk what to choose

#

maven seems to be more reliable

#

but gradle is faster

sharp crystal
#

just let a random number gen choose between 1-2

#

ez solution :3

hearty bloom
#

LOL

dense zinc
#

So you waste 15 seconds

hearty bloom
#

that's what I am asking myself too xd

dense zinc
#

Usability + reliability > performance

#

Imo at least

hearty bloom
#

but maven is xml

#

that's ew

dense zinc
#

I like it :(

ocean sparrow
wanton timber
#

Gradle may be harder at the start but once you understand it it is way more reliable than maven

small plank
#

Anyone that knows how ChatComponentText() calls in MCP 1.12.2?

brisk trout
#

@elder void sorry for tag how do I make hello world ploogin

dense zinc
#

@elder void i wanna know as well

hearty bloom
#

@elder void help me please too

gaunt berry
#

@elder void i dont need ur help but apparently pinging you is cool now

gentle patio
#

@elder void plz tell

elder void
tawdry sorrel
#

Console.log hello

#

*Console.log("hello");

brisk trout
#

sorry for starting a trend of tagging you stuart ❤️

gentle patio
#

Console.log("this is cool channel");

spice plaza
#

pls how woUld i create hypixle thank

gentle patio
#

console.log(CreateHypixel)

#

i think i should be dev

spice plaza
#

instant promotion to dev lead blobparty

gentle patio
#

yes

dense zinc
#

Or your definition of console or CreateHypixel (which is a bad naming convention + and a variable when you likely want a method to create hypixel then print the result in console

#

im just kidding

scenic totem
spice plaza
wanton timber
#

Lua?

spice plaza
#

yup

#

I both love it and hate it

wanton timber
#

It's a pretty good functional language

ocean sparrow
#

and other stuff i can't remember atm

spice plaza
#

try to do any object orientated stuff with it though and it's a pain

wanton timber
#

Not really it's pretty easy but it looks horrible

spice plaza
#

¯_(ツ)_/¯

dense zinc
#

Hypixel is coded in Java

ocean sparrow
#

how can you know though? monkey_look monkey_look_away

gaunt berry
#

they probably wrote it in html tbh

tawdry sorrel
#

Nah if anything that's the one they didn't ue

#

*use

gaunt berry
#

why

tawdry sorrel
#

It's not that compatible with mc

gaunt berry
#

its faster than java tho

tawdry sorrel
#

True

gaunt berry
#

i dont see a single reason why you shouldnt write a minecraft server in html

tawdry sorrel
#

If I were to do it in would use c# or c++ tbh

tawdry sorrel
gaunt berry
#

id only use html or xml

#

those are the best and fastest languages for minecraft

#

json would be good too

tawdry sorrel
#

Well everyone has there own personal choises

#

Ye json would be good

wanton timber
#

Json is not a programming language doe

dense zinc
#

Yes

wanton timber
#

.

queen hound
#

it's something like this right ? System.out.println(String msg)

queen hound
#

It's just not possible

#

Since Html is a Markup "language", you can only use the existing markups

dense zinc
#

‘‘Twas a joke i believe

queen hound
#

Do not give credits to the bad HTML

#

GIVE IT TO THE MIGHTY JAVASCRIPT !!!!!!!!!!!!!

proper abyss
#

lol

dense solar
#

Hey how did CC make the mob hearts to the actual heart icons without a texture pack?

ocean sparrow
#

Tho Minecraft's font does not display all characters so I'm not sure if it's this one

dense solar
#

Oh wait maybe it was only on bedrock, which does use a texture pack

ocean sparrow
#

Nah, Java has them too I think

gaunt berry
spice plaza
#

Then the font code is \uE1 00 -> FF

#

So like the top 16x16 pixels would be \uE100

#

Ohhh I'm talking about bedrock

ocean sparrow
#

The one you'd make with Alt+(NumericPad)3 looks ugly in-game

#

But i'm pretty sure the one I sent earlier would look fine

gaunt berry
#

i have no idea which one they used lol

#

probably the same they used on java

gentle patio
#

Console.log("this is a dead chat");

plush walrus
#

^

round pike
#

is there a setinterval equivalent in Java?

round pike
#

anyways foud a way how to do it 😄

rancid trail
#

I'm not functional either

rancid trail
minor roost
#

Does anyone has the error that u cant access any Cloudflare protected website when u are using vpn?

queen hound
#

It's litteraly the point of cloudflare

#

To block suspicious users

minor roost
queen hound
#

The point is that any bot or Ddos attack could go threw them to stay anonymous

#

So vpns are a no no

minor roost
#

Technically, i need to turn of vpn before accessing cloudflare protected website?

queen hound
#

yas

#

Maybe not with a paid one, but certainly with a free vp

minor roost
#

Can someone suggest good game engine?
Unity or UE4? And why should I choose them?
Im not good at art, so, art is not my main skills

ocean sparrow
desert tulip
#

umm can anyone help me?

nova wigeon
plush walrus
#

So I've been getting this error when trying to run Minecraft 1.17 server

||Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0||

and I apparently need Java 16 for that but as far as I know the highest version supported on 32bit linux is Java 8 so is there any way of running the server?

sullen jacinth
#

There isn’t a way to start a 1.17 server without Java 16 unfortunately

#

You might try forking the .jar but it’s kinda hard

minor roost
plush walrus
spring tiger
#

Why are you using 32-bit, out of curiosity?

plush walrus
#

well because raspbian buster is 32bit

minor roost
#

How do I make my 1.16 server hack-proof? Recently 2 hackers crashed the server using wurst

desert tulip
desert tulip
#

@nova wigeon sure

#

Even without the # doesnt work

nova wigeon
#

@desert tulip it looks right

desert tulip
nova wigeon
#

r u sure it isnt like a stupid ass reason?'

desert tulip
#

My files

#

Sword are working but the recipe ;-;

nova wigeon
#

i have no idea then

desert tulip
#

a?

#

@minor roost it marks for format version ending

#

?

desert tulip
#

Then minecraft would send an error from content lig

spring tiger
#

Your IDE is complaining about that last bracket, see it has the red underline below it

#

You have one too many brackets like Krypton has said

desert tulip
#

Umm here is updated code

#

Yesterday someone told me to add one so I screenshot that its too much and sent it here by mistake

#

Still doesnt work

spring tiger
#

On your game, go to Settings -> Creator -> Enable Content Log File + GUI
When you load the pack on a world, you'll get errors displayed on your screen with the issue

desert tulip
#

Its already enabled

#

I made a mistake on function file and it told but didnt send anything about the recipe file

spring tiger
#

Are you able to see the item in your inventory when you use /give ?

desert tulip
#

yeah

#

There is 4 ways I made to get it

#

1 creative inventory (works)
2 /give (works)
3 /function give (works)
4 recipe (doesnt work)

#

sad I dont have luck on anything I want to do :(

ocean sparrow
plush walrus
#

thanks, I'll try that§

ocean sparrow
#

Ofc download the JRE, tar -xvf filename.tar.gz to unzip 😁

plush walrus
ocean sparrow
#

cd folderName/bin and try running ./java --version

plush walrus
#

yup, openjdk 16.0.1

#

so now I move it to the /bin?

ocean sparrow
#

no

#

which distro?

plush walrus
#

Raspbian Buster

ocean sparrow
#

Never heard of it, is it based on something other?

plush walrus
#

it is Debian 10 based

#

so pretty much Debian 10 lol

ocean sparrow
#

Do you have a directory /usr/lib/jvm/?

plush walrus
#

yup

ocean sparrow
#

Then move the folder there

#

So it should be like /usr/lib/jvm/theFolderHere/bin/java

#

no additional folders in-between

plush walrus
#

ye, that's it

#

btw there are more java folders

ocean sparrow
#

sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/theFolderHere/bin/java 1

#

if you have any spaces in the paths for some reason, quote them with " so i.e. "/usr/lib/jvm/java space here/bin/java"

ocean sparrow
#

update-alternatives --config java and you should be able to select it

#

then run java --version and it should be 16

#

without ./ at the beginning this time

plush walrus
#

yup, works

ocean sparrow
#

Then MC should start normally

plush walrus
#

yup, looks like it works

#

thanks!

ocean sparrow
#

If you'd need other Java version then you need to specify the full path /usr/lib/jvm/java-xx.xx.xx-vendor-arch/bin/java

plush walrus
#

alr

ocean sparrow
#

👋

tawdry sorrel
#

👋

plush walrus
#

shhh

#

is there a way to proxy SRV DNS records with cloudflare?
I've set up an SRV record but I get a warning that my proxied IP is exposed

ocean sparrow
plush walrus
#

I am just trynna set up DNS for MC sever and not sure how to yous TXT for that

#

so u gotta pay for the Spectrum

ocean sparrow
#

then SRV will expose your IP

#

Maybe newer MC versions will connect without it but only to 25565

plush walrus
#

hmmm

#

that sucks

minor roost
#

How do I clean the dusty/corroded part in laptop ports?

#

If you need to then you can take it apart and use compressed air pointing it so the dust gets pushed out

#

If it's corroded that's a whole other issue

gaunt berry
#

brush + isopropyl alcohol

minor roost
#

So, compressed air solves it all?

#

Not always

#

Does desktop users have the same problem as mine?

#

Not with usb ports usually

spring tiger
#

Laptop ports generally get dirtier or corroded quicker because they're exposed to the elements since they're portable

minor roost
#

In conclusion, what I have in my picture is a lot of fine grained dust in the usb ports, and I can clean it with compressed air or alcohol?

minor roost
spring tiger
#

yes

#

but it looks more like fine dust
Compressed air may not work as its probably stuck to the metal, so using a small brush (isopropyl alcohol might not be needed if the brush can move it off)

minor roost
#

I heard that compressed air is dangerous if inhaled. How do I prevent from inhaling compressed air? I bought it before and the doctor said that I have the higher chance to be exposed to "huffing". I throw it away afterwards. And why does compressed air have water when I use it? Is the water dangerous?

spring tiger
#

Compressed air doesn't have water in it, it usually has difluoroethane which when compressed is a liquid.
You must have been right in front of the nozzle to be breathing it in, it evaporates almost immediately if used correctly. Just point it away from your face and you'll be fine.
If you point the bottle at the wrong angle you'll get some of that come out as a cold liquid which cools and evaporates.

spring tiger
#

It should he used in short bursts rather than holding it down to also prevent the liquid from spraying

minor roost
spring tiger
#

Vacuums don't have great pressure so they only suck up what's directly in front of them. They also cause static which will damage your electronics.
Compressed air creates a much more powerful blast which removes dust, even from hard to reach places that a vacuum couldn't get

#

You should never vacuum electronics due to the fact they make a lot of static

minor roost
#

Phew. Ans why does laptop manufacturer nowdays solder the ram slot? It is very unfortunate since I need to upgrade from 4 to 8 and the 2nd ram slot is soldered

spring tiger
#

That's not really common anymore, it's usually done for cheaper manufacture or ultra lightweight laptops

minor roost
#

I think I might build my own desktop one day. What should I do after assembling all parts? How do i install windows?

minor roost
minor roost
#

What should I put in the usb stick?

#

You can download the windows 10 install media free from Microsoft's website

#

Then you just run the program

#

Make sure you have a usb stick with at least 8gb of storage plugged in

#

Then when you boot up new computer with the usb media plugged in it should just go to the windows install menu

#

How do I install drivers after installing windows?

#

Most will be automatically installed by windows

#

Any others you can get from the manufacturer's site

rancid trail
#

Since when is there a programming vc lol

minor roost
rancid trail
#

I somehow doubt that..

dense zinc
#

for a while tbh

pastel osprey
#

letsss goooo

#

programming babeyyy

tall summit
#

Aswell as keeping file size down and web applications, when would you index color when creating textures for a game or program?

wheat relic
#

anyone know how to make a slapper type thing in Java Vanilla?

#

nvm I forgot armorstand show nametags

gaunt berry
#

slapper type thing?

wheat relic
#

yEa

#

I did it dw

#

Why does having your hotbar give you a slight vignette?

#

oHHH NVM

#

It slightly fades away after being in a cave

wheat relic
#

I forgot and since I am stupid

#

What is the Audio played on the Eggbreak? and at what pitch
What is the Audio for spawning in Eggwars?

hard roost
#

Turn on subtitles in Minecraft sound settings

wheat relic
#

still doesn't tell pitch lol

lusty pagoda
wheat relic
#

yea

lusty pagoda
#

Isn't it like wearing a leather tunic?

wheat relic
#

I think it's random click

#

no

#

that's for timer

#

I think it was Dragon Flap

minor roost
#

Does anyone know how to obtain coordinates of a certain player?

#

Tried

#

entityPlayer.getPlayerCoordinates()

#

But I need something more accurate

#

With more decimal numbers

wheat relic
#

nO clue

#

all i can guess is

#

execute as (player) at (player) run tp ~ ~ ~

shy tusk
#

java

dense zinc
queen hound
#

<@&174837853778345984>

minor roost
celest geyser
#

anyone know the code for java

dense zinc
wheat relic
#

Java MC I think

#

to make plugins or datapacks possibly

lunar vapor
#

I have a question.... How exactly does the generator blocks work on Skyblock for bedrock?

#

This is literally the only reason I joined this discord is to ask that question.

wheat relic
#

after a certain amount of time the blocks will change from terracotta to the ore

#

Similar to the ones on Cosmic PvP

#

I know how to make them with command blocks too

#

Like natural ones, not ones you can pick up and place anyways

#

Bedrock harder because you can't give a armor stand no gravity

#

You would do /execute @e[armor_stand, tag=(tag for generator)] testforblock
And somestuff

#

if the block is air replace it with terracotta

#

then after the replace block with teroccata happens it then waits x amount of time to place the ore block

lunar vapor
#

@wheat relic You can make an armorstand to act as if no gravity effects it though by using TP commands to keep it always in the certain place. However, I know how to use them on skyblock, I am more concerned with the programming behind it. Surely they didn't use command blocks right?

gaunt berry
#

you dont need command blocks

#

nbt tags exist for a reason

lunar vapor
gaunt berry
lunar vapor
#

Yes, I know, but wondering how you could do it on bedrock.

gaunt berry
#

you can do that with gametest then ig

#

doing it with only command blocks is really hard if not impossible

#

/not stable

#

/performant

lunar vapor
#

It isn't impossible. I have gotten something close to work for it, but then it'll glitch out. I might just make some blocks using blockbench as a work around.

#

and bridge.

gaunt berry
#

how are you gonna know which blocks are gens

#

when there are no armor stand nbt tags

lunar vapor
#

You make an entity that is tag as (ore)_generator, any where that is a command block will look for it, and then it'll place an ore over it.

gaunt berry
#

yeah that wouldnt work in some scenarios tho

lunar vapor
#

Like what scenarios?

#

When someone is too far from the ticking area?

gaunt berry
#

doesnt work in air for example

#

and you cant stack em

lunar vapor
#

Except you can if you know how to keep certain physics out of it... You can turn gravity on and off for objects same with collision boxes...

haughty forge
#

Programming is mad 🤯

lunar vapor
#

Found a work around using silverfish and infested blocks.

minor roost
#

Does anyone know how to make a click gui?

#

Similar to hoe it's done in for example xaeros minimap

#

I would like to have a similar menu like this to pop up when clicking a button

#

Allready made a key bind and I suppose I should make a @subscriptionevent with key listening for a button click but yea having huge problem with making a click gui menu like this

#

And classes like button or buttonscreen are not helping

pastel osprey
wheat relic
#

Not exactly like cubecrafts but with a water lava one

#

but again, couldn't move it lmao

dense zinc
minor roost
minor roost
dense zinc
#

You can have Minecraft source code

pastel osprey
# minor roost Does anyone know how to make a click gui?

so sadly, it doesnt look like theres a ton of info on gui's. you could search for "minecraft imgui libraries" to check out examples. the gui thing isnt standarized in forge so you kinda have to write your own library or use someone elses.

ocean sparrow
pastel osprey
#

I assume thats the idea, thats why mods like Botania and Astral hasve such nice gui :()

#

it would be like creating mojangs own internal version of java Swing

gaunt berry
#

thanks :D

minor roost
#

Hi guys, i own minecraft PE edition (supports cross-play with windows 10 Edition actually they are the same) , but when i download it using emulator the controls is so hard , i mean I can't even look around without pressing the Mouses Left Key , is that the same as windows 10 edition or its only because im bedrock edition using emulator?

emulator : a program that creates a phone environment in your pc such as (Memu , BlueStacks , Gameloop) etc

ocean sparrow
minor roost
pastel osprey
pastel osprey
#

You might need to buy it here.

gaunt berry
#

and if you use linux you can use mcpelauncher

#

/macos

#

can probably use it on windows too with some workarounds

spring tiger
gaunt berry
#

has the content of edu edition tho

minor roost
gaunt berry
#

yea you can buy that on the microsoft store

lunar vapor
#

Slowly getting ore generators to work. Made a non-moveable entity to spawn a block on top of itself. The blocks are also able to be stacked. You are not able to see the entity either and it has no gravity or antish- gravity if you manage to hit it. It's sole purpose is to replace and fill blocks at it's position... Only problem I am having with it is creating a timer and how to turn off the fact it takes damage when another block is placed above it.

ocean sparrow
pastel osprey
#

mongodb time, have fun!

ocean sparrow
pastel osprey
#

probably a good idea lol

lunar vapor
#

Also the entities no long die unless you through them in lava or use /kill @e

#

Fixing the lava issues right now though.

minor roost
#

What does it means by "ratted" in programming?

The client were ratted out since it have hidden bitcion miner
^ Sample sentence

oblique quest
#

wait.....

#

foreach($filesToCopy as $fileToCopy) { // Set source file path and check if file exists - otherwise continue loop. $sourceFilepath = $

#

that shall be helpful

spring tiger
minor roost
#

I downloaded a 2005 cracked game and It shows high cpu usage? My settings are low and that game usually dont use high processing power. Does it means that the cracked game that I've downloaded have bitcoin miner?

spring tiger
#

Potentially, or it could just be a virus.

worldly osprey
#

simple solution, avast anti-virus

#

also check task managers background running apps, if you see something thats not suppose to be there then... well..

pastel osprey
#

Rat could mean Remote Administration Tool

#

If your talking about ratting a device that could be it

minor roost
minor roost
#

both games uses lowest graphics

minor roost
minor roost
#

What happens if I put NoCheatPlus on my 1.16 smp?

dense zinc
worldly osprey
#

I Mean do self research, the website should supply the information and details for what versions of the server must be present for it to run properly

sharp crystal
worldly osprey
#

^^

lunar vapor
#

Got almost everything working now. All I need to find out is how to create interactive blocks with custom UIs.

#

If anyone has a video for that, I would rather watch that... But I cannot find one.

spring tiger
#

That's not possible on Bedrock like it is on Java

gaunt berry
#

i dont think its possible on java either lol

spring tiger
#

Custom UIs? I mean with modding yeah

#

Vanilla, no

gaunt berry
#

hes using datapacks/commandblocks

#

afaik

vale yew
#

it's possible using resource packs

minor roost
#

it's possible to add custom uis to both of the versions but it's not possible to make it so it pop up a custom ui whenever u click on a block in bedrock version, whoever, that's possible when u r using a server software but if u r trying to do it in vanilla then it's not possible since u can't make a block u interact with

lunar vapor
lunar vapor
#

They have to go hand and hand.

#

Me and a couple of people have been hard at work trying to figure it out, but we got it. Only issue now, when you interact with a block let's say on y:23 it opens the menu for the block on y:22 or where ever your feet are...

#

Or it just opens the block that is closest to your feet.

#

So like if you interact with the block on y:24 and their is a block at Y:23 right below it, and you are at y:22, it access y:23. So on and so forth... That is the only thing I am trying to fix now.

gaunt berry
#

clone the block to your feet, then clone it back

north hinge
#

Custom entities, blocks, and GUIs are completely possible, I have worked on a "modding in Spigot" library with a friend, we'll revisit that project in the future because we're working on something else. Plugins can hook into the lib and register their own textures etc. After countless hours of pain, decompiling MC server code, etc., we've even managed to register and create new biomes, entity types, etc. We've also started to create custom fluids and an AI lib, with a hella optimized pathfinder (it could even parkour to some extent), but we've abandoned the project until we finish the one we're working on atm. It was amazing what we can do with this game, although with some "hacks". We've used several techniques and "hacks", and took so many hours of debugging, but it was/will be worth it. Although with command blocks I saw some solutions from a YouTuber named SimplySarc, although sometimes he does not show how he did it.

north hinge
# lunar vapor If anyone has a video for that, I would rather watch that... But I cannot find o...

Hey, decided to ping you, although I don't know whether it will help you or not. (assuming you're using command blocks and vanilla)
https://www.youtube.com/watch?v=bv_wYNs5L6M

Today I'll show you how to add new GUIs (graphical user interface) to Minecraft! You don't have to replace any pre-existing GUI textures and you can make anything you like, new containers, new storage blocks, new crafting station, whatever you want!

►Subscribe - http://bit.ly/Subscribe_Sarc
►Follow Me On Twitter - http://bit.ly/SarcTweet

─────...

▶ Play video
minor roost
#

Anyone here play (Tower Defence) message me, trying to grow a discord where you can find people to play with!

minor roost
north hinge
#

but since this is just a resourcepack

#

I assume yes

minor roost
#

anyone knows python

spring tiger
#

👋

pastel osprey
#

Python ftw

minor roost
#

Why use python

#

Just use HTML

gaunt berry
#

why use HTML

#

use powerpoint

wheat relic
#

why use powerpoint?

#

use a typewriter

gaunt berry
#

why use a typewriter

#

use a pen

wheat relic
#

why use a pen

#

use a needle & ink

gentle patio
gaunt berry
#

why use a needle & ink

#

use a knife and a piece of wood

lunar vapor
#

Why use a knife and a a piece of wood
Use clay and a stick.

sharp crystal
wheat relic
lunar vapor
#

Why use a paints in caves
Just use an Empty Universe

wheat relic
#

omg no way

minor roost
#

This still going

dense zinc
#

Yes

granite pond
#

um can someone explains why the portal to darklands is broken?

dusky breach
#

so basically theres a thing in programming called a bug

wooden fox
#

^^^

lunar vapor
#

Does anyone know how to add extra blocks inside of a block_list?

#

I have been trying now for awhile, but cannot for the life of me figure out how to add extra block into the array.

#

I can only get one block in there to work, and it is a custom block I made. Not sure what I am doing wrong.

lunar vapor
#

Forget it... All I ended up doing was making a duplicator....

#

Keep feeling like I am getting so close, but then I find 100 other issues to figure out...

lunar vapor
#

Does anyone here know how to tell an entity it has collision with every block with the exception of a few blocks?

wanton crag
lunar vapor
round pike
rancid trail
#

How do you mean every block? Do you mean every type of block? Or every block in a given area

lunar vapor
#

Right now I am just trying to tell the entity to despawn when it enters air, which that is working. The reason I did that is because I want to be able to push the blocks it spawns in without the block making extra copies of the entity, however when I push the block with a piston the entity comes out of the block. I need the entity to stay inside of the block, and if I gave the entity any type of collision box, I would not longer be able to interact with the box. Giving it a collision box does help it to stay inside the block however when I push it with a piston, I am just not able to interact with it. Which is why I am trying to find out how to tell it that it has collision with certain types.

iron jolt
#

I was creating a plugin that allowed you to go in specator then when you go back to survival your in the spot you went to spectator in. So I need a way to use a global variable, I tried defining the variable outside of the if statement but that doesnt work. It throws an error in the game

dense zinc
iron jolt
dense zinc
iron jolt
#

I tried these
Location location = null;

location = player.getLocation();

player.teleport(location, PlayerTeleportEvent.TeleportCause.PLUGIN);

dense zinc
#

public final Map<Player, Location> beforeSpectateLocations = Maps.newConcurrentMap();

#

Use googles api

iron jolt
dense zinc
#

I think that’s the maven repo

iron jolt
#

where would I put this, Sorry im dumb sometimes

iron jolt
dense zinc
#

It would go in your pom.xml file

dense zinc
iron jolt
dense zinc
iron jolt
#

yeah

dense zinc
#

Ohh

#

Would encourage you to look into maven or gradle they make things easier

iron jolt
vale yew
#

Just do private final Map<Player, Location> beforeSpectateLocations = new ConcurrentHashMap<>();

iron jolt
#

i get the error Illegal modifier for the variable beforeSpectateLocations; only final is permitted