#💻︱programming
1 messages · Page 32 of 1
I'm BACK !
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
Love how I got banned for 3 days after saying one word right here
Ok sorry for that
nothing to be sorry for, just something to be aware of
Ok thanks
What would be a good program or class that can help me learn how to code and stuff
stackoverflow
okay what are you planning on doing with coding
i’d say udemy but
honestly it’s not worth the money
s
self teach urself there are plenty of great free resources
Just coding a simple 2D unity game
Not sure if that’s still has coding in it since I’m still quite new
all, so you wanna learn c# or something?
Unity itself has tutorials for beginners built into the software. Just download it and it should be on the starting menu :)
codecademy or a good book for learning the basics. I would recommend to start off with a well established language like C, but its completely up to you, there aren't really many bad options. Depends on what your goals are.
then move on to leetcode or codewars to master the language thru solving problems
C++ is for unity
Im trying to learn how to use UE5. Although it all seems very complicated I'm slowly learning 😅
Nice
c# too
Not that much
anyone has expierence with coding minecraft clients?
Yeah
Can I dm u
Sure
looks hot ✨
I'm going to turn that into an emoji. gimme one sec
DANGGGGG
Damn our last message is from feb 23
tbh I thought it was more recent
Same
Is there a plugin for me to freeze someone in my server (for screensharing)
Staff plus on spigot
Is it 1.16.5 or outdated?
Cool!
/effect give username slowness 600 50 true
/effect give username jump_boost 600 255 true

it doesnt work if the player is a blatant hacker even though the anticheat is installed
that... was a joke
the blatant hacker can use netbeaner and get away from being frozen
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
yeah
I'm the Developer of it 😄
with 15 more people's
really?
yes
proud of u
aha
do u know "GregAC"?
on what?
since when are you a dev
i fr didnt know 😳
im developer since 7 years 😄
i know
wait what
xd
i thought you were like 17
im almost 20 😄
loool
WHAT?
whaha
how old are u?
boomer
how?
how can u code a plugin with css?
yea
Minecraft only supports java
i was thinking the same
😄
yupp Java and Gradlew the only ways the code Mc plugins
- Maven *
but it all supports java
I think they were joking xd
haha
no i think he is a boy
where are u manager?
no
sorry
kotlin too
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
^^
not that much
but java and kotlin are the main languages used
@gaunt berry do u know about MCP?
yes
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?
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
why not just add log4j2.properties file to /resources?
thats not the error tho is it
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
what do i have to do to fix it?
create a log4j2.properties file and add it to src/main/resources
if you use win 10 its here
what
I can give you my favorite config for it btw
why there
??
did you mean gradle/maven?
src/main is common for most java programs
they wanted to say its a mod and not a plugin
but --
idk why but
it's still java lol
yes xd
wait
mcp folder and net.minecraft should be wrapped in main folder
i dont understand anymore 😭
its the same thing
application
i cant follow it
|- lib
|- jars
|- src
| |- main
| | |- java
| | | |- mcp
| | | |- net.minecraft
| | |- resources
| |- test
| | |- java
| | |- resources
it should be something like this
Code?
lol ye
I love generics... List<List<Supplier<CompletableFuture<Void>>>>
Rip
I really hate those <>
I think it looks really messy in ur code
When used like that
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 😄
If anybody here wants to know about coding just @ me and I will give you a link to practice with.
they could also just use google
I know haha
it's a queue for starting up modules:
first goes the first list and all suppliers are executed async and then it waits for all of them to finish
them second, and so on
because modules depends on each other so I need to make sure that those that need to be started, are started
^ 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
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>..?
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
typical haha, "if it works, don't change it"
Or by cubecrafts way 'if it doesn't work, don't try to fix it'
..
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?”
actually im happy with new content but when what would be good content just gets left to die as you move onto new content it ruins it
im only here to complain
i hope somebody can help me
i got this in my console when im trying to run my client MCP
What task are you trying to run
And 1 cropped screenshot is really not much info
ok yes, you were right :)
this is better xd
Edward 👀
papi
I'm recently blue
Sometimes
LIKE THE ATLANTIC?
congrats man ❤️
ED
inspiring
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
@brisk troutdone bb
Doing the lords work ❤️
E
B?
It’s in the game

@dusky rune
idk
It’s in the game
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
Isnt the name of the packet “vecmath-1.2-1.14”?? @small plank
Oh ok :)
but i was looking at github and i found a link but its a .kt file
Sorry for late reply
what is .kt for language?
np
look at that
its .kt
does that work in mc?
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
well this whole plugin is written in Kotlin 👀
kotlin works in mc
It is
It’s basically Java but not really
Like anything you can write in Java can be done in kotlin
yep
but idk if I should learn kotlin or not, it's seems weird lol and I just like the predictability of java
isn't it like that:
.java -> .class
.kt -> .class
and both results should be the same?
or nah?
It should be
It's just compiled to bytecode like the old plain Java and can run on a JVM
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
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
Oh I’m not familiar with mc coding so good to know
Java data packing is better pmw
I would throw my computer through my window if I would get that captcha ngl
Hm
Best language stays datapacking language
:(
what coding language is cubecraft written in
ok
Lol
Pretty sure they use Java for both servers 
Then bedrock bug fixes would be fastly resolved than Java's ones
But instead, it takes a while
A programming language is a programming language
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 👀
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
The bedrock client either uses C or C++, I forget
But I read conversations in this channel
and the java client used java
Yeah
mmmm ✨ memory leaks ✨
I know
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
Most likely included this regular code to trick bad antivirus
What is obfuscation and why my antivirus deletes the file?
obfuscation is used to make code(or anything really) hard to understand for humans
and idk why av software detects it
Mabye the software you're using
im guessing malware is often obfuscated?
That's probably it but it might lead to more problems with the computer later
obfuscation?
Ye ig
So they use java for both servers?
think so, yup
Thanks
cubecraft yes
they use the same software for both java and bedrock
Ok thanks
which is a modified version of bukkit
👍
they have a forums thread explaining how it works
i think its called behind the cube
I'll have a look
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
I believe it’s probably personal choice, all IDE’s get the job done
But I’ve seen the majority use IntelliJ
ok thanks
they use vim
jk lol
yeah as already mentioned its personal choice
Most uses IntelliJ
And what is vim?
text editor
Ohhh
Nah word is
Oh worthy opponent
Word is better cuz it takes less time to run in windows cuz it’s a shorter word
Time is money
🤦♂️
Lets goo dababy convertible
VIM FTW @gaunt berry
dababy!!!!


Ya
anything coding related
Scratch.mit 
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
Man the sprites graphics are so bad lmao... Couldn't you just take an image from google xD
i guess... Html is still HTextMarkupLanguage
soooo
Scratch could be called BBL
BlockBasedLanguage
👀
nO
I made it a few years ago
english is a language
imagine not coding in morsecode
Imagine coding.
programming language
If you wanna go into every language
english is a programming language
Lemme bring out my Français, my Español, my 日本語
and your brain is the processor
Technically all of the languages use English so I guess that's true
That's a thing
special
And there was a lolcat language I think but it's still English-like
Uhm, no thank you
xd
https://minecraftservers.fandom.com/wiki/Bedrock_Edition_server_software
Here's a pretty comprehensive list ^^
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, ...
I'm using Nukkit and making a party system rn
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
Try and learn the basics of java first
For starters, learn about the syntax and then the naming conventions
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
pls
no more
@Override
public void onEnable() {
getLogger().alert("Plugin Enabled");
}```
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
I just watched a 15minute video that told me to do this
Before it was a 3minute video lMAO
Yk
Saved you time
yea, they spend like 8minutes setting up a github? for who knows why in the video about how to make a minigame
I never use @override method
It's not required, but it can help prevent errors
I never got a issue with it 😂😂
It's kind of so people can understand your code better and it's a really bad practice to never use them but meh
quick question: maven or gradle? and why?
What about just java from Eclipse ?
I prefer IntelliJ, but still. that's IDE, not dependency management framework
I think so
gradle
It's just way more efficient and faster than maven
the issue is that I know both and idk what to choose
maven seems to be more reliable
but gradle is faster
LOL
that's what I am asking myself too xd
I like it :(
Gradle. For me Maven just stopped working many times after loading the project back
Gradle may be harder at the start but once you understand it it is way more reliable than maven
Anyone that knows how ChatComponentText() calls in MCP 1.12.2?
@elder void sorry for tag how do I make hello world ploogin
@elder void i wanna know as well
@elder void help me please too
@elder void i dont need ur help but apparently pinging you is cool now
@elder void plz tell
Console.log(“hello world”)
sorry for starting a trend of tagging you stuart ❤️
Console.log("this is cool channel");
pls how woUld i create hypixle thank
instant promotion to dev lead 
yes
Where is your semi colon
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
nerd

const techno = bad
local CreateHypixel = "Create Hypixel"
Lua?
It's a pretty good functional language
C# actually uses UpperCamelCase/PascalCase for methods
and other stuff i can't remember atm
yeah I agree 
try to do any object orientated stuff with it though and it's a pain
Not really it's pretty easy but it looks horrible
¯_(ツ)_/¯
But
Hypixel is coded in Java
sorry, just being nerdy
how can you know though?

True
they probably wrote it in html tbh
why
It's not that compatible with mc
its faster than java tho
True
i dont see a single reason why you shouldnt write a minecraft server in html
If I were to do it in would use c# or c++ tbh
I'm just saying most people use other languages
id only use html or xml
those are the best and fastest languages for minecraft
json would be good too
Json is not a programming language doe
Yes
.
But that wouldn't work in a java plugin right ?
it's something like this right ? System.out.println(String msg)
you litteraly can't
It's just not possible
Since Html is a Markup "language", you can only use the existing markups
‘‘Twas a joke i believe
I shall break up those puny jokes on HTML with my bare hands if I need to !
Do not give credits to the bad HTML
GIVE IT TO THE MIGHTY JAVASCRIPT !!!!!!!!!!!!!
lol
Hey how did CC make the mob hearts to the actual heart icons without a texture pack?
Tho Minecraft's font does not display all characters so I'm not sure if it's this one
Oh wait maybe it was only on bedrock, which does use a texture pack
Nah, Java has them too I think
bedrock used to have the unicode heart but they changed it because it looked awful
change font/glyph_E1.png in a resource pack
Then the font code is \uE1 00 -> FF
So like the top 16x16 pixels would be \uE100
Ohhh I'm talking about bedrock

There are many Unicode heart characters
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
Console.log("this is a dead chat");
^
is there a setinterval equivalent in Java?
anyways foud a way how to do it 😄
That's good, what did you find?
Does anyone has the error that u cant access any Cloudflare protected website when u are using vpn?
ain't an error mate...
It's litteraly the point of cloudflare
To block suspicious users
So, my free vpn arent reliable?
The point is that any bot or Ddos attack could go threw them to stay anonymous
So vpns are a no no
Technically, i need to turn of vpn before accessing cloudflare protected website?
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
I only ever used Unity, and if you're not good with arts it has a huge store with some free assets there
Thanks for your suggestion!
umm can anyone help me?
with?
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?
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
Use aternos minecraft server hosting service. It is free and reliable (I wont send the links here cuz most of u think that it is an ip grabber)
I am not going to use aternos or any free hosting lol , I wanna host it myself on my own server.
Why are you using 32-bit, out of curiosity?
well because raspbian buster is 32bit
How do I make my 1.16 server hack-proof? Recently 2 hackers crashed the server using wurst
I made a recipe code that has a correct code but its not working on the game
can i see it?
the code
@desert tulip it looks right
I know I even checked on jsonlint and says correct but in minecraft doesnt work
r u sure it isnt like a stupid ass reason?'
i have no idea then
You can see the code
Then minecraft would send an error from content lig
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
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
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
Its already enabled
I made a mistake on function file and it told but didnt send anything about the recipe file
Are you able to see the item in your inventory when you use /give ?
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 :(
Try here, select each architecture and try to run it https://adoptopenjdk.net/releases.html?variant=openjdk16&jvmVariant=hotspot
thanks, I'll try that§
Ofc download the JRE, tar -xvf filename.tar.gz to unzip 😁
what do I do with it after extracting 👀
cd folderName/bin and try running ./java --version
Raspbian Buster
Never heard of it, is it based on something other?
Do you have a directory /usr/lib/jvm/?
yup
Then move the folder there
So it should be like /usr/lib/jvm/theFolderHere/bin/java
no additional folders in-between
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"
alr done
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
yup, works
Then MC should start normally
probably installed earlier or by other software
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
alr
👋
👋
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
there must be, but pretty sure they're just special TXT records
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
ah, if this what we talked about a while ago
then SRV will expose your IP
Maybe newer MC versions will connect without it but only to 25565
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
brush + isopropyl alcohol
So, compressed air solves it all?
Not always
Does desktop users have the same problem as mine?
Not with usb ports usually
Laptop ports generally get dirtier or corroded quicker because they're exposed to the elements since they're portable
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?
Is there are higher chance fot the usb ports to be corroded if I store my laptop in humid places?
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)
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?
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.
Thanks for your advice!
It should he used in short bursts rather than holding it down to also prevent the liquid from spraying
Why do ppl recommend compressed air rather than vacuum? I think vacuum is more easier to use
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
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
That's not really common anymore, it's usually done for cheaper manufacture or ultra lightweight laptops
Like this? https://youtu.be/Kbt4aWhWNWA
Hardware has been outside in the rain. it is very dirty & muddy and already wet.
I think I might build my own desktop one day. What should I do after assembling all parts? How do i install windows?
The cleaner deserves a promotion
USB stick
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
https://youtu.be/1Zt1P41pjE4 this explains everything
Thanks to Nvidia and MSI sponsoring this build guide! Check out the parts we used below:
Amazon:
MSI B450 GAMING PLUS MAX Motherboard
https://msi.gm/2RCPiC2
MSI GeForce RTX 2060 VENTUS 6G OC Video Card
https://msi.gm/2DaP3FH
Newegg:
MSI B450 GAMING PLUS MAX Motherboard
https://msi.gm/2P2JP5Q
MSI GeForce RTX 2060 VENTUS 6G OC Video Card
htt...
Since when is there a programming vc lol
from day one
I somehow doubt that..
for a while tbh
Aswell as keeping file size down and web applications, when would you index color when creating textures for a game or program?
anyone know how to make a slapper type thing in Java Vanilla?
nvm I forgot armorstand show nametags
slapper type thing?
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
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?
Turn on subtitles in Minecraft sound settings
In bedrock
still doesn't tell pitch lol
When you're unreleased from cages?
yea
Isn't it like wearing a leather tunic?
Does anyone know how to obtain coordinates of a certain player?
Tried
entityPlayer.getPlayerCoordinates()
But I need something more accurate
With more decimal numbers
java
player.getLocation() then location.getX() and etc.
<@&174837853778345984>
Will check it out thanks
anyone know the code for java
What do you mean exactly?
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.
Place them down
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
@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?
Guess if you had access to such a thing they would work... Bedrock does not have access to those things.
cubecraft runs on java edition
Yes, I know, but wondering how you could do it on bedrock.
you can do that with gametest then ig
doing it with only command blocks is really hard if not impossible
/not stable
/performant
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.
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.
yeah that wouldnt work in some scenarios tho
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...
Programming is mad 🤯
Found a work around using silverfish and infested blocks.
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
Xaeros is a Java mod, I don’t believe there is a way to make click GUIs in spigot. I am willing to be wrong if anyone knows the solutions.
I did it before
Not exactly like cubecrafts but with a water lava one
but again, couldn't move it lmao
Yeah just look at mcp code at how it makes a new menu and make it on a key press
No no no i making a forge 1.16.4 mod, not a spigot plugin
Mcp code? Don't understand
Minecraft coder pack
You can have Minecraft source code
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.
All guis are different and do different things so I guess a standarized api at this point would have to include so many things that it's just not worth it
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
wow thats really smart lol
thanks :D
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
Emulators can have difficulties, I suggest you ask their support or just buy the game for the second platform if you want full support
well im a java player , if i want to play bedrock on windows 10 , the controls is like java right ?
and where i can buy windows 10 education . Is it from Microsoft store?
I remember education edition used to be like bulk purchase only so like your school board or whatever pays for like 1500 licenses or an educational license.
Learn how to download Minecraft Education. Follow these simple instructions in order to access Minecraft Education on your phone, computer or tablet. ,
You might need to buy it here.
education edition is included with bedrock
and if you use linux you can use mcpelauncher
/macos
can probably use it on windows too with some workarounds
Education Edition on Bedrock =/= Minecraft Education Edition
The version on Bedrock lacks many of the features the dedicated educational one has
has the content of edu edition tho
There was a mistake im sorry , i meant windows 10 edition* not education
yea you can buy that on the microsoft store
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.
I don't know if you're using datapacks or Spigot but if it's Spigot I'd suggest you to save all positions in a database, another plugin or someone may just kill that entity
mongodb time, have fun!
I'd just use sqlite for a plugin like that
probably a good idea lol
I only have bedrock and not sure those work for it. I am using Bridge v2.
Also the entities no long die unless you through them in lava or use /kill @e
Fixing the lava issues right now though.
What does it means by "ratted" in programming?
The client were ratted out since it have hidden bitcion miner
^ Sample sentence
wait.....
foreach($filesToCopy as $fileToCopy) { // Set source file path and check if file exists - otherwise continue loop. $sourceFilepath = $
that shall be helpful
"ratted out" isn't a programming term, it's just a saying that the person was caught doing something
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?
Potentially, or it could just be a virus.
simple solution, avast anti-virus
also check task managers background running apps, if you see something thats not suppose to be there then... well..
Rat could mean Remote Administration Tool
If your talking about ratting a device that could be it
Mcafee
it is not normal considering gta 5 runs 50 degree celcius while that game runs 70 degree celcius idle
both games uses lowest graphics
they dont want more malware lmao
What happens if I put NoCheatPlus on my 1.16 smp?
It should work as expected
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
Look at featured versions on the spigot page, it will show you with which versions the plugin is compactable
^^
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.
That's not possible on Bedrock like it is on Java
i dont think its possible on java either lol
it's possible using resource packs
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
It's possible using by creating a resource pack and a behavior pack to go with it.
I bet you I can... Because I have that working... I mean it is attached to an entity, but one cannot work without the other.
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.
clone the block to your feet, then clone it back
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.
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
─────...
Anyone here play (Tower Defence) message me, trying to grow a discord where you can find people to play with!
There is looking for a party channel for a reason 🤣
Can this work with bedrock?
no idea, I'm not experienced with Bedrock
but since this is just a resourcepack
I assume yes
anyone knows python
👋
Python ftw

Why use a knife and a a piece of wood
Use clay and a stick.
use css
Why use than when you can just make a cave painting
Why use a paints in caves
Just use an Empty Universe
omg no way
This still going
Yes
um can someone explains why the portal to darklands is broken?
so basically theres a thing in programming called a bug
^^^
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.
Here is the Json
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...
Does anyone here know how to tell an entity it has collision with every block with the exception of a few blocks?
I'm not sure you'll get the answers you need here, there's probably a modded minecraft discord where they discuss programming in better detail if you google around for it
Yea, I am asking around. People do know things here as well. I've gotten some help here.
what u trying to do with collinsion?
How do you mean every block? Do you mean every type of block? Or every block in a given area
testforblock iirc
Prob not on bedrocm
Trying to have the entity understand only when it is being pushed by a piston. That way it stays inside of the block it is in.
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.
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
Make a map with player, and a bukkit location
like this? public interface map<player, location>
What language you in? Java?
yes
I tried these
Location location = null;
location = player.getLocation();
player.teleport(location, PlayerTeleportEvent.TeleportCause.PLUGIN);
public final Map<Player, Location> beforeSpectateLocations = Maps.newConcurrentMap();
Use googles api
how do i do that?
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
</dependency>
I think that’s the maven repo
where would I put this, Sorry im dumb sometimes
when i try this I get an error inside the IDE saying only final is permitted
This is a maven project right?
It would go in your pom.xml file
Odd, take away final or make it private
i dont think so
How are you getting dependencies in, (like spigot) is it through jars
yeah
private, same thing took away final also didnt work only works without both but then that makes it a local variable
It's not necessary
Just do private final Map<Player, Location> beforeSpectateLocations = new ConcurrentHashMap<>();
i get the error Illegal modifier for the variable beforeSpectateLocations; only final is permitted
