#💻︱programming
1 messages · Page 40 of 1
I know that pi is 3.141592653 and then the rest of the digits, idk for obvious reasons :V
And people like to say 180 rather than pi
Because there is a deep rooted racism towards irrational numbers
#AllNumbersMatter
Including degrees 👀
It's a unit of measurement, like radians, smh
Yeah
30 or pi/6!!
Imagine people said
Turn pi/6 rad to your left
How sexy that mustn't sound
I'd rather use Mils in your presence than radians Kappa
Ello
its just that most ppl dont understand radians
or even never heard of them
radians > degrees
hi
@honest heath how do i make plugin go brrrr
@torpid crypt
a
??
i miss u ed
I miss you youn 😭
hope you’re well hun xox
Better now I’ve spoken to you king x
Why u look like Ahmed from Linkedin
Made a better KB system than cubecraft
Uses true combos rather than Air Locking players.
Sprint resetting deals extra vertical and horizontal KB slightly, rather than significantly to give a more fair fight around clifs/edges. But still allows the player to combo a player
as well as removing KB sliding
I feel like this channel to much for me
That's Java
Wth it wrong with Java kb system
If they add that, people would be crying
Looks like bedrock kb on java
Looks horrible
A bit yea, but when w tapping, velocity hitting, sprint resetting. Whatever you want to call it increases the vertical KB and Horizontal KB slightly.
To still provide a fair experience between high and low pings, as well as it requiring skill to combo other players
Java KB is wack, but that is because there is many things weird and wrong with it.
Like downwards KB specifically, and then w tapping to deal extra KB on vanilla is very weird too, that's why my fixed KB really removes that
And I am on 100ping on a live server rather than a local host
Imo the current bedrock system on Java is fine as it is
Kb on Java is fine.
What you showed there would be horrible on the Java server
Everyone flying everywhere with 2 hits
No, they are taking consistent KB
Unlike Java Cubecraft where people will slide randomly
I didn't mean in all directions
and unlike bedrock cubecraft where you'll randomly get shot up into the air
The KB on Java is fine, don't try to fix what isn't broken
Bro
You don't even play Java?
Do you even play java?
It isn't 1.8
In the clip you send, the guy was flying way too hard
In the video my friend was just AFK
For one hit where he lagged and took delayed KB yes
Well you're trying to optimise the game for people with bad connection, what's the point
One sec let me show you how the combo looks in an actual fight, I have to edit clip cause it shows an IP
Yeah, if that little lag spike makes you fly. It's not a good kb system
No
Cubecraft does that?
all servers do that?
No?
You don't fly away with a little lag spike
You can build up kb, but it's not lag spikes
KB on cube doing the same thing but worse(sending)
It wasn't a server lag spike, it was a player
The KB on Java isn't broken to begin with. Feel free to rant about Bedrock KB as much as you want. But leave Java out of this, you don't play it
Then why do you take random amounts of KB between 0.5blocks to 2 blocks, to 0.5 blocks to 4blocks?
and why does a player randomly get shot up 2 blocks high in very specific circumstances?
Wth are you on about
Depends how you hit, and the ping of the player
And when you hit the player
If it's only under very specific circumstances, it's not random. That's not how random works
Oh, I gtg eat
It doesn't make people fly around
It is random, because it depends on where a player is and when they take damage. Hitting a player once at a certain part at a jump can shoot them up into the air the block they jumped, the KB they took and extra KB up to 3 blocks high
Isn't this chat
It's not consistent with the KB when you slowly hit someone, if you hit players with a fist after hit delay they take random amounts of KB
If you do it with like a wooden axe it seems like consistent KB, but that's because you are going slower reducing the randomization
Oh that's pretty cool 👀
I blurred the video cause everytime I added a box to cover the IP it never covered it
But I can't read what it says for the IP
But yea you can see in the video he never took a lot of KB he took a normal amount, infact my KB actually reduces how much you take rather than increasing
the only KB it increased was horizontal slightly, but when sprint resetting it's not as high as it is in vanilla.
Horizontal/backwards KB was reduced in general and when sprint resetting
And the KB isn't to favor players with higher pings, it just removes the advantage gap between low and high ping.
If you lock a player in high ping, the person with higher ping is going to get hit another 1-2 or even 3 extra times if they try to run away. My KB gives the player more distance between the hits, but not too much distance where players will go flying backwards. And combos are not impossible, just more skillful, rather than getting a lucky bug hit off. But it also doesn't launch a player so high that they can never touch the ground and can only move at reduced and slower speeds than the person they are getting combod by
beep boop programming things beep beep boop beep
@wheat relic I'm pretty familiar with how the MC client works (currently working on my own client). There is no randomness when taking knockback. It's a simple formula that I can't remember right now. If you experience randomness, it's not Minecraft
It is minecraft
the randomness isn't in the game like built in
It's that the servers don't deal correct KB when taking damage when the player is close to the ground, causing you to most likely get sucked in to the void/ground.
But at the same time this may not happen
And as well as that at the same time, although many times more rare, you will get shot up higher than you are meant to be
It's not consistent so it's random
Servers don't handle knockback. The clients do. The servers, without any modifications done to the outgoing packets will tell the client to receive knockback, and then the client does the rest
In a survival world on Java downwards KB does not exist
It does. Depends on the situation
I have yet to see it happen on a survival world after spending like an hour testing the 2
On 1.12.2 it happened a lot
Im confused as of what you're trying to show here
in survival and on server
But the thing about the server being able to fix it. It's kinda true cause bedrock cubecraft has it. But running a vanilla server on bedrock, downwards KB is not a problem
By downwards knockback, do you mean that the player won't go down if combo'd?
That the player won't get lifted off the ground and gets sucked towards the floor at mach five
confused
I'll join you in the confusion 😂
The KB that gets me killed everytime I play skywars in minecraft bedrock
because for some godforesaken reason cubecraft doesn't want you to jump when you press the spacebar
That's... not even handled server-side
Meant the x: for
And continue x
Oh yeah its also in a while loop i think, but it's a very big resolvet etc, cannot do anything abkut it, but some for loops dont run always
And it runs very fast, benchmarked it
U can't jump because u r taking damage + downward knockback.........
Or maybe when u take damage u get a little bit of lag from the server so u can't jump
POG. I've applied specifically for minecraft development testing
No
Because bedrock allows you to jump when taking damage, unless you take damage and are in the air
But if you are on the ground you can jump.
In java it’s like a 50/50 if you can jump or if you will be stuck to the ground for the remaining time of the Iframe
Keep in mind % sign basically means to divide by 100, so 100%=1 and 30%=0.3 so you'd want to multiply by 0.3
I thought at first you were talking about modulus/% and I was about to get upset lol
I remember the day I realized ^ isn't power
Oh my gosh. Yes! That just reminds me of my student trying to square number and using ^. It was a fun day
you are a teacher?
and you are in a cubecraft discord?
Have you ever used (Java) bitwise complement operator (~)? Never found a use case for it in my life
You need it for the amount of addresses in a network I believe
It's basically binary ! i think
Afaik it flips all the bits like
1000101 --> 0111010
So if you think ! as like opposite, then yes, it basically gives you the total opposite number eith flipping all the bits
Maybe it's also used in crypto? But I'd assume not, because afaik they mostly use XOR
bitwise operations are substantially faster than regular mathematical operations
IK, I use bitshifz all the time when implementint heaps etc
a basic use it to store a bunch of boolean values as a single number
then you can use bitwise operations to check a binary digit that represents a boolean value
complement can then be used to mirror all the digit "booleans" (or a range of them if you wanted)
Yes I am
I seem to be
🤨
dont look at the last line btw(warned ya)
Anyway, back to the topic why i came here.
Does anyone have any tips on where i can get a good documentation about forge?
the official ones are quite bad
Ah yes I need to update my website thanks for the reminder
Have you ever coded something for Bukkit?
Been a hot minute. Why? I need to get back into it
Idk
I heard that there isn’t any good documentation
Hello
I just made roblox game for fun using free stuff
I added 2 buildings but they had viruses which made u purchase them everytime u joined so i got rid of it theres one virus left that comes every 1 minute idk if anyone here is roblox game programmar
well yea i dont understand how any1 can get into forge
documentation is not existing and all tutorials(which are quite a bad way of learning) all give diffrent answers
hola algien que sepa programar y que hable español
Even worse, forge's modding community is pretty bad. They won't give you any support on any other version that isn't the latest which I find very stupid since most of the modded playerbase don't run the latest version. As soon as you mention you're on a version that aint the latest, they'll lock you out
hola algien que sepa programar y que hable español
@true hornet yo
documentation is not existing and all tutorials(which are quite a bad way of learning) all give diffrent answers
@minor roost GitHub can be a good documentation sometimes
Got a link?
que bien estoy creando un mood de un tigre y estoy teniendo problemas con transportar las animaciones al bridge V2 alguna solusion
Me peacefully looking up java basics every time I come across something I would need to do for a fun project;
Google;
Really just split my search in half huh (Cool animation btw)
Hello, if you are reading this channel, you might be interested to know we have opened some job applications again recently for our infrastructure team! If you meet the requirements and are an enthusiastic candidate then go for it - you can read more @ https://jobs.cubecraft.net/
A lot of people working at cube are at school too I don't think it's there job for life or anything
lol I get that too when I search for arraylist java
"Full time"
"Can be seen when searching advanced topics"
Where does it say that?
not google themselves
I first saw it today, decided to see around da web about it
I guess it was triggered because I have been searching alot of java stuff, and foobar is java & python
The only full-time close to minimum wage is our apprentice position which are generally lower across the UK. Most other positions are very entry-level, and pay is always negotiable upon applying.
👍
Gimme a few years sir

I guess?
But I see it too when I search for "arraylist java"
My friend doesn't though xd
look
Go have a shot at it or something
Idk uni is pretty busy xd
Don't you need to do the excercises within a given time frame
Yeah something like that
I accepted, saved to my google account to access it later
(timer only starts when you request a challenge so I have nothing to lose when trying to save it for later 
Also, Nice
xd
ah okay, lemme see if I can save it for later, that'd be great
ah just if you signed in
nice
Having fun with the this amazing technology, I got access to, to thest Minecraft development related stuff.
(Copilot)
IK, that writing the code would be faster in this case, but I'll throw more and more complex stuff at it.
Rust or C++?
Petition to add build battle to cubecraft
I don't really know Rust, and only learning C++ right now (as I'm a Java dev etc.), but:
c++ for more control and speed
Rust for those who like c++, but wanna save some frustration
But all together I'd go with Go
Denied
We all suck at building just pvp
Many developers suck at any interaction with players or the game. We are not tryhards in game, but are "keyboard warriors" (hope u get the refrence)
Petition to add end to skyblock
ooh 
Cube used to have a gamemode called BuildWars but was removed due to not being popular
Rip
wtf lol
insane
What's that 🧐
Copilot, code writing AI driven by GPT-3
/ sks_7297GEE924100000JPMQVBSKWHps878#YTV978. Type rhis command for commanders only
Woah, copilot is so cool
Just got an email I was ready to use it, can’t use my laptop atm though
Sad
Anyone good with Bots?
ip!
Hey
Discord bots? And what language
deez
Discord Bots, English
?
I meant what programming language and which library 😔
Wdym?
Yes
You can tell I'm crap lmao
not exactly, the program you write your code in is often called IDE(integrated development environment) for example if u code in java you write it in eclipse or inteliJ
but idk how to define programing language
well do you know how to code?
No?
Well if u wanna code a discord bot u need to know how to code 
well there are a lot of tutorials on the internet
is a good site to learn how to code, it has paid courses but also some good free ones
while watching the tutorial make sure to also experiment yourself and write the code instead of just watching it and thinking yuh i understand it
Feel free to ask when you have a problem with something, but we can't teach you how to code here
Okay
U can suggest us some good instructors. I think Dr Angela Yu is great at teaching web dev
Idk I only did java course there
Just look at ratings
Some instructors are not motivating tho. Their voice makes me sleep
xd
Nothing like the good old //will fix later
That seems about right
Nothing like a TODO that results in another TODO because you forgot what the first TODO means
oh btw will move it to like Parameter[] params. and use params[counter], so I don't call that method many times, but other than that I still have no idea what to fix, cause it works as intended, as far as I can tell
Well you can always get it with reflections
https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html#forName(java.lang.String)
However I'd suggest using e.g. Paperweight-Userdev
Makes your life easier
First of all why can't you just use nms
Well then just use it to get the classes' names in IDE, and don't import them
Hello
Sup
idk how exactly it works, but does the subpackage stay the same for multiple classes? and do you know at least one class fully from that package?
if not, I would just use Reflections library
They're smaller and softer
Just dont mind the sub packages, you cannot avoid them, think of Class.forName or reflections as imports. They have refactored a lot of stuff, just do version specific wraps that's all. Look at the class you mainly want, then look at it's imports and use those in looking up, if u know what I mean
In the first place I dont know why would it be an issue
For getting all classes in a package u need Reflections library (not tue built in), but I dont get why would u need it, cause in reflections you only want specific ones, and u better search for them one by one and assigning it to a variable, rather than the whole thing into an array, then looking up the array for the class u want
How do I access an element of an iframe in js?
I tried var iframe = document.getElementsByTagName("iframe")[0].contentDocument
results in TypeError: gameFrame is null
But when I normally console.log(iframe) without the contentDocument, it prints the right element and its attributes etc.
@plush walrus https://stackoverflow.com/questions/14824739/how-to-get-innerhtml-content-of-iframe-element#14824749 may help
the solution would be to not use JS
Sorry Mr. Public static void main string args
At least Math.MAX isn't negative
Well
1+2+3+4+...=-1/12
And can you use that in an extension so you inject it into a page?
I can't seem to get it working even tough I just used the example
As injected code is well injected, u should have access to the entire DOM and stuff afaik
I guess u can use it
Error: Script 'moz-extension://97c850ee-3a79-475d-9b42-aa2ba71b257d/inject.js' result is non-structured-clonable data
var gameFrame = document.getElementsByTagName("iframe")[0];
gameFrame.onload = function () {
var quickRules = gameFrame.contentDocument.getElementsByClassName("quickRules")[0];
var letters = gameFrame.contentDocument.getElementsByClassName("syllable")[0];
console.log(quickRules);
console.log(letters);
}```
That is the injected code
what row
should probably move to DM though
(for the people I here I think I got it)
My external and internal (inside IntelliJ) Gradle are having a disagreement
and I'm having brain injury
Hi
what is in your build.gradle or what it calls
like same as pom.xml
but then for gradle
the probelm here is that these 2 instances of Gradle are running the exact same task on the exact same project, and they still have totally different results. I have no idea what went wrong, but I assume it was the cache of intellij
like multi projects?
you can clear the cache, File / Invalidate Caches..., and deselect the stuff you don't want
Any recommendations for VScode extensions?
Code Runner by Jun Han, Intellisense by Microsoft, Python by Microsoft
gitlens if you're using git in any way
Roughly
:o
Well, I already figured out how to put the for loop in one Matrix multiplication so :p
Disclaimer -
Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour ...
y = ax^2 + bx + c
c++ the best
Java 
equals 3
True
Minecraft Bedrock
I think it’s either the exponential or quadratic formula
It’s the quadratic
hi i have compotah vairus
great. i love viruses
Did u go to the hospital?
/report
🤡
Rip
do u recommend eclipse or intelij more/
intelij
Best teacher ever! If you know to code with Python you'll understand it but it's fun 🙂
Eclipse has is too
Previously i had huge strugles with inteliJ bcs of it having problem with forge
but yea eclipse is just old xD
made it launch
If you type something no
You have to press Ctrl space to see all classes
And IntelliJ does it auto
IntelliJ can decompile as well. I don't know if eclipse can but when I used to use it I couldn't figure out how to do it. In IntelliJ it's as easy as doing Ctrl + Left Click to see where something comes from
Ебать
I use external app named JDGui, it's not as powerful as fernflower though (intellij uses that)
Anyone knows how to make a custom text on top of a nick in forge?
What language is cubecraft coded in?
It's coded in java and for bedrock edition they still code in java they just convert it to c++ (main language for bedrock)
Alright thanks
Hey everyone, just letting you know we've opened up applications for Redstone Engineers to join our Design Team
You can apply over at our forums after reading the info here: https://www.cubecraft.net/threads/designer-applications.249899/
does anyone know any good java coding courses? im a bedrock player but C++ i’ve heard its tricky to code
i wanna get started cos coding is what i want to do as my career later in life lol
Yea, c++ is more complex and harder to learn imo and java has a much simpler syntax to start with etc
ahh i see
should i take it as my gcse
ahh thank you
That depends
like is it worth taking as a gcse or not
cos i’ve heard coding is really hard
and im not one for patience
I wouldn't recommend java as the first language
python first?
Python, Ruby or js
okay
i might try python because we might do basics on python later in the year so i figured i’ll give myself a headstart
then i can familiarise myself with more coding languages
Yea I did pretty much the same
@dreamy urchin Actually the advice given in my python course textbook is that one language should be developed fully before moving on to the next. Consider this: would you rather be able to code complex stuff (e.g. databases, interactive games, apps, mathematical simulations, algorithms for mathematical operations, even AI) in one language or be able to code only the most simplest programmes in four languages (e.g. check whether a number collapses to zero in the Kakutani's problem-Collatz conjecture: take some number m, if m is odd, do 3m+1, if m is even, m/2.). Sure you will learn about the differences between the languages but the fact that it is possible to render high quality graphics in C++ or coding AI/working with data and databases is fiendishly easier in Python will be of no use because you won't be able to do either, not even close, in any language.
@dreamy urchin Here is that book. It is completely free, reproducable and downloadable, even printable (technically you can even sell the prints). I find it an excellent first course in Python. It deals mainly with mathematical algorithms until chapter 17, but I find that that is the best way to learn the syntax because they are after all the simplest programmes that require no additional engine or environment to run (Chapter 17 - Pygame; Chapter 3 - Hello, Little Turtles!).
whoa a whole book?
@dreamy urchin The way to approach the problems varies depending on your comprehension and feeling that you get how to do things while reading the main text. If you get it well, then use the problem more as a first idea; while solving you will come up (at least I very often did) with modifications, improvements and generalisations of the problem. I suggest you venture more into your own interests than stick to a steely "problem solved" regime. E.g. chapter 17 -- you are asked to render a chessboard in Pygame for displaying solutions to the n chess queen problem (stick n queens on a chessboard so that they can't attack each other; what is the layout?); why not try creating a working chess engine where the player can move the pieces (you won't have the knowledge of how to turn it into an app, but you can play from one computer; at least it works).
yeah that's the entire book. It's quite short, only around 400 pages
Or is it just me that a long book must be >1200
I may have read way too many textbooks
😅
@dreamy urchin It can easily be completed in a couple months (1 semester equivalent) if you don't procrastinate like I do...
i procrastinate..
mhm
yes
I still haven't finished it lmao
Also I remember my chess engine being buggy.... you could capture your own piece
maybe i can make a really stupid version of checkers
yet here i am thinking im a fast reader
but good luck with the problems. You'll encounter the Collatz conjecture quite early (that's why I mentioned it)
oh
have you got the IDE/editor for writing python code?
😬😬
no i havent touched coding yet
but around 1/3 to halfway into the book you can switch to Visual Studio Code
coding?
yeah in generl
Once you read the chapter, you'll get it 😄
It's really a fantastic book for explaining things
is it like a case of algebraic expressions where its more daunting than it actually is
sometimes
like there are also really difficult problems
same as maths
the book teaches you how to think so that you are always able to solve the +1 step difficulty ones
but difficulty +3 (like a lot more difficult) is too difficult to be solved at that point anyways
But you see the steps. You start at 0, then you get to 1, then 2, 3, 4 and tadaaa you can now solve that +3 problem you couldn't before (and ofc there are now new +3 problems)
it's incremental
and difficulty is relative
if you jump into the middle of the book, you won't understand anything
if you study through the book until you get there, it will be quite easy and understandable
anyways
Ima go for a walk @dreamy urchin
cya
cyaaa
can u help?
import net.labymod.api.events.RenderEntityEvent;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.EntityRenderer;
import net.minecraft.entity.Entity;
public class RenderEntityEventListener implements RenderEntityEvent {
@Override
public void onRender(Entity entity, double v, double v1, double v2, float v3) {
String labelName = "HELLO";
float x = 10F,
y = Minecraft.getMinecraft().player.isSneaking() ? 2.25F - 0.1875F : 2.25F,
z = 10F;
int verticalShift = 0;
EntityRenderer.drawNameplate(Minecraft.getMinecraft().getRenderManager().getFontRenderer(),
labelName,
x, y, z,
verticalShift,
Minecraft.getMinecraft().getRenderManager().playerViewY,
Minecraft.getMinecraft().getRenderManager().playerViewX,
Minecraft.getMinecraft().getRenderManager().options.thirdPersonView == 2,
false);
}
}
also registered the event onEnable
but it doesnt seem to work(it should add labelName on top of player's nick
I just lost all my java homework cuz of a blackout
FFF
Anyone know do CubeCraft have API?
No public API even though we've been asking for years D:
oh oof
This is something I like
💩
yo how do I use a command block to killl all baby villiagers in bedrock lol
I can't think of a way to do that. You can't specify a baby entity cause whether or not a animal is a baby is dependant on nbt/Json data.
And you can't specify that stuff through commands on unmodded bedrock
If you are working with labymod you need to setup the packet reader in the labymod3:main channel first in order to work
You meanOnEnable? yea ik did it
Huh
i think i can't send links
but if you search for the LabyMod docs
and go to Protocol Features
you have there all the steps
yea but i want to make an addon client-side
not something server-side
/passport 236806

i just learned rust today!
)!(§&!/(§&E(AIUSD/TUI"!§$UUI!T"T&ZU/(AD/ASD {
/U!("§ZASU/DZXASXJASDJASD("Hello World");
}
Hello u guys hear me
I learned something new
very important
to learn programing
dont do programming.
why is this not working in notepad for a poppy???? "minecraft:command_block_minecart<>",SaveData:{Command:"/replaceitem entity @a slot.hotbar 8 poppy 1 1 {"item_lock":{"mode":"lock_in_slot"}}" is this right??
dang
what does i++ as a prefix and a postfix mean?
Hell place un bane me
@sweet barn you k ow where ai would go for someone to make spigot plugin to fix downwards KB?
it's not so much a bug as much as it is a side effect of ping
true, but the urge to add or change something is too big 🥺
99.99% accurate 0.01% is ummm just people who just redo it
Update ! New Jelly Been
@warped scaffold
BEANS
heya smart people question for u guys
so im trying to make animated terracotta for a texture pack
like just the plain hardened clay
but for some reason my json isnt working
[
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_black",
"atlas_tile": "hardened_clay_stained_black",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_blue",
"atlas_tile": "hardened_clay_stained_blue",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_brown",
"atlas_tile": "hardened_clay_stained_brown",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_cyan",
"atlas_tile": "hardened_clay_stained_cyan",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_gray",
"atlas_tile": "hardened_clay_stained_gray",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_green",
"atlas_tile": "hardened_clay_stained_green",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_light_blue",
"atlas_tile": "hardened_clay_stained_light_blue",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_lime",
"atlas_tile": "hardened_clay_stained_lime",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_magenta",
"atlas_tile": "hardened_clay_stained_magenta",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_orange",
"atlas_tile": "hardened_clay_stained_orange",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_pink",
"atlas_tile": "hardened_clay_stained_pink",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_purple",
"atlas_tile": "hardened_clay_stained_purple",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_red",
"atlas_tile": "hardened_clay_stained_red",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_silver",
"atlas_tile": "hardened_clay_stained_silver",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_white",
"atlas_tile": "hardened_clay_stained_white",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
},
{
"flipbook_texture": "textures/blocks/hardened_clay_stained_yellow",
"atlas_tile": "hardened_clay_stained_yellow",
"ticks_per_frame": 10,
"frames": [ 0, 1, 2, 3 ]
}
]```
anyone able to tell me whats wrong
also sorry about gigaflood
is terracotta different in that atlas like how do i set that up
bc that atlas just calls it stained_clay but idk how to add variants for the different block types
Nice script
U want to just animate a blocks texture?
Cuz if yes u just stack texture on top of each other in a ping file
And make a json animation script
You can google it up a lot of tutorial but at first glance that jsom looks WAY to long
That's so true 😂 😭
@sweet barn how do you open that website view or like file view on github? Like how u showed me the site with the updated background
Geyser is a bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition which allows you to join Minecraft Java servers with Bedrock Edition servers to enable true cross-platform.
Since it’s GitHub pages it auto deploys any time you push a change
Ok I think I just messed up then. Also I can fix the image tomorrow
As in like 22hours from now
Has anyone encountered this error with Spring? (OpenAPI, Swagger 2, SpringFox)
I'm unable to fix it
tried everything
one of the models:
it's clearly in the right place
package net.iceyleagons.resourcehost.endpoints.responses;
real OG's ain't use Java, they use assembly
I have huge respect for old games because they're written in assembly
true
imagine using one & zeros
that's why I use assemblers and compilers
I'll do you one better. I had to write my own "assembly language" for my own CPU I made for a uni project. Ez
I use it for HTML and CSS lmao
Same Javascript but not Java
Cool, like some ben eater stuff
Anyone ever used executor java?
hey, im making a custom death message for bedrock (texture pack), and i made this for death.attack.fallingBlock -> "A falling block smashed and torn %1$s's whole body"
i think im going to get an error at "%1$s's", so how do i place the "'s" safely at the end of "%1$s"
I REMEMBER there was a symbol, its "/" or \
will %1$s/'s work?
i saw this in my code from before, take a look at the \ ' in [ERROR 3]
will that work in .lang files?
@sweet barn Unfortunately I am banned :( so I can not get the image today. I mean I can on java but no RTX so like ew
You can use shaders on Java
But they don't raytrace
unless I get mods to run them
Like I got an RTX pack, but my arm has my entire player model in it if I face the sun correctly so that's not really ray traced lol
Its indeed not raytracing
First just try if it works lmao
And yes, in most cases to escape a character you put a backslash \ in front of it
you don't need to escape it
%1$s's will work with lang files
thanks, and btw, what exactly is falling block? i suppose its sand,gravel? but those blocks will make them suffocate instead.
anvil most likely
oh nvm, that has its own message
I have a feeling if you're on half a heart and a block falls on you it would show that death message rather than the suffocation one
but it could just be a placeholder in the weird case that a block does somehow crush you
yeah on the wiki that seems to be the case. it's when there's a custom block that kills you by falling on you. atm the only falling blocks that kill you are anvils and stalactites
yeah, noticed that too
"Appears when the player is killed by a falling block (other than an anvil) modified to inflict damage."
so it must be a modified custom block for the fallingBlock death message to show
thanks.
guys i need help im making a aternos server and i got the new update 1.18.30 can so and my geyser is outdated so can someone help lol the via tingy is not there for 1.18.30 and does not support it lol
CPS AntiCheat - Autoclicking, 20+ CPS ban
CPS AntiCheat - Bans for specified Y percent of doubles within the last X amount of clicks (High CPS)
CPS AntiCheat - Bans for specified Y percent of doubles within the last X amount of clicks (Low CPS)
Works for both Left and Right click
Forgot to mention, the perm ban isn't the default ban time, it's 30days for autoclicking and 15 for doubles, with a combined bans of 4 before getting perm banned, On the fifth ban it perms.
Was just testing the anticheat a whole bunch to get it really accurate
We know man
But
It will not direct warn na
That if our cps will go over 10 only once by mistake
So we get instant warn
Or
Something else
@solid wharf I'd highly suggest w3 schools if you are looking at introductions to Python. They have a in-browser code runner so you can try examples without any hassle
https://www.w3schools.com/python/
Thanks
Update Java ASAP, big vulnerability in ECDSA (Java crypto). CVE-2022-21449
Also adding this;
You learn more by first getting the basics down, then just jumping in and trying to make a project you have some sort of use for, and each time you encounter an issue just Google it, learn it and in the future you'll be able to that knowledge to your advantage
Atleast, that's how I have learned the most stuff, I'm a newbie too so thought you might find that useful too ^•^
It doesn't ban for 10+CPS
It bans for Double Clicks over a certain percentage
the CPS cap is 20+ (Which is impossible to do, unless you doubleclick/drag)
The reason it banned in that one clip for 10+CPS was because he was double clicking, (Tapping his mouse once but gets multiple clicks)
I never changed anything in the config file between the clips
hey @spring tiger can i add an emoji at death messages? im planning to add an explosion emoji at this -> "death.attack.explosion=%1$s went KABOOOM"
Java or bedrock?
both
Geyser? Or either one?
java&bedrock ..lang files is the same
(yes im aware i remade this into a txt file) can anyone thats smart or good at coding tell me what I did wrong? I'm trying to animate the blocks but apparently somethings wrong with my code
lua or python?
maybe fix the position of atlas_index?
yeah i'm fixing that right now.... idk what even is happening
yeah, all of your code is correct
-._-. yeah idk whats going on tbh
lol
ye
lmao
i think minecraft .json's file is space sensitive
yes... yes it is
Whitespace (Space, Horizontal tab, Line feed or New line or Carriage return) does not matter in JSON. It can also be minified with no affect to the data.
huh
anyways
nice
and now its in creations
not sure about java but for bedrock this will help you
https://wiki.bedrock.dev/concepts/emojis.html#custom-emoji
thanks, and if you dont mind, can you give me some idea about this one? death.attack.indirectMagic=%1$s was killed by %2$s using magic, i really cant custom this one, i cant process my brain.
%1$s -> player that died
%2$s -> player/entity that killed the player
think this is used when you are killed by a witch, or evoker
i get how this works, so after i made my custom emoji, how do i apply it in lang file?
on that page at the bottom there is a hex value to unicode character converter
so you get the grid position of the emoji (for example 01 for the armour symbol) and type in 0xE101 into the hex box, you'll get unicode symbol
paste that in your lang file and the game will convert it to the emoji when you see it in game
ohhh so for example, if i put this in my lang file "0xE102" minecraft will automatically convert it into emoji?
not 0xE102, you need to go on that page and convert it to the symbol first, in that case it would be
although, the lang files might support you escaping it like \u0xE102 but not sure...
sorry i dont get it, i thought i am supposed to make my own custom emoji by putting it in "glyph_E1.png" free space
yeah you do
but to then get the character that turns into that custom emoji, you get the grid position you put it in
and since this is the E1 file, your hex value is 0xE1<grid position> such as 0xE101
then at the bottom of the page you can get the character that you would paste into your lang files
then what do you mean by convert it in their website, because if i do, they wont recognize the emoji that i made since its in my computer
the lang file will show a missing character icon yeah
it only appears as your custom emoji in-game
no problem! let me know if it works
ill do, lemme just get a bath
hey @spring tiger i just realized that there are no font/glyph_E1.png in bedrock vanilla file
yeah you'll need to save the one from that site, use the one that is transparent background
where?
that image on the right to the grid one
still cant find it, you mind screenshot-ing it?
@spring tiger
oh- sorry i thought that was just some extra
np, the grid one is just to help you align them and find the symbol
don't use that one in-game though because your custom emoji will have the grey background
that didnt work:(
what does your glyph file look like?
try copying the symbol and paste it into chat
if it doesn't work in chat then something is wrong with your glyph texture file
lol it happens
ugh
heyyy it works!!
thankss againnn
now i have an idea about what to do with this gylph
hey @spring tiger might be my last question, i can resize the glyph texture file right? like i wanna make it 1028
and it'll work the same
yes you can
the game will automatically crop transparent space around emojis
thanks.
now its not the same
its not in their frame now
confusing
Hey anyone wanna free 50 xp lvl of vip he wanna to do this steps
- Go to marketplace of bedrock version
- Search for the plants content by cubecraft
- Download him you can download him without minecoins or money
- Join cubecraft server and enjoy with your 50 xp lol of vip Have a nice day
💻 in 9 months: 🤰
It got removed?
wth JUnit?
some of the time it passes, some of the time it does not
code is unchanged
Found the problem: assertIterableEquals with entrySet is nono for Map equality checking
ok
looking for an experienced programmer great plans write private [sorry for the bed english]
🛌

@crude pilot no
Keep it mind this is programming channel
Html isn’t a programming language
Anyways ,i just told it is not allowed even though it is not my job,because he spammed this in a lot of channel and this will count as spamming,i personally felt it is so annoying,so i gave remind to him :)
I am going to quit this topic before against any rule as this is not related with programming :)
Any questions you can ask me in #💬︱english・general
Can someone help me? with craftingstore
it says this
but all the dns requires does exist
but it doesnt work for some reason
no experience with this particular case, but in GitHub pages you sometimes need to wait a little before the update goes through. Try it a bit later, if does not work, try pinging your domain, and see whether the correct IP shows up. If so, it's not your problem anymore.
Also try an online tool for fetching TXT records, to see if it shows up and it is correct.
If nothing helps, and the DNS is pointing to the right IPs, then hit up their support.
visiting the page, gives me "There is no store located on this domain. If you just set your domain, please wait up to 5 minutes for it to become active."
wdym with visiting the page, gives me "There is no store located on this domain. If you just set your domain, please wait up to 5 minutes for it to become active."
but it is there
try readding? I have no idea tbh
what?
remove it, add it again
done
well it still does not show it
weird
experiment I think, tbh I have no idea. Tools I've used: https://kdmarc.com/tools/txt and https://mxtoolbox.com/TXTLookup.aspx
i tried an other domain
shop.JuniAgency.store
maybe it will work now
now it says this
This article might help you https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/
When I set up 2 dns servers in my computer settings and the first dns returns 404, does the fallback server get contacted & possibly resolved or is the fallback one only when the first one is not returning a response at all?
hey...i know how to do most of these... wow
DANNER
Anyone here know about Lua language?
sure
Cool
yes
ye
any one here know nuckkit or pocketmine
@spring tiger cc have api?
No, we don't @clever escarp
We don't have a developer on hand to develop something for that at the current time 🙂
ok
We've been asking for years and only got a couple of messages regarding it which brought our hopes up but nothing was ever done about it :/ If they haven't done anything about it for years I wouldn't expect anything anytime in the near future
ayo isnt she like 28
Istg this is programing not sending women 😭 do better people
battleship
what is that supposed to mean
@spring tiger i just tried it, and it didnt work
minecraft didnt cropped it
i mean, yeah the gylph worked but the icons in it is big when showed ingame
i guess i wont be making hd icons
You need to use maximum 16x16 pixels for each icon in your glyph file.
any one here know nuckkit or pocketmine
@haughty slate I know that
C++ is the best language
you know nuckkit
php and python leader
idea put battle arena ranked in the game
Bruh php is for website programming
Python is for data
And c++ is faster anyways
php its not only for website
its the life
Lol
anyone here familiar with the flask_cors extension/knows how to properly handle cors with Flask?
actually nevermind, figured it out 🙂
on golly
@haughty slate lmao
- ̷́͛-̴͌͝-̴̛̎ ̶͒̕ ̷̔͝-̷̈̎-̴͑̂-̵̑͐ ̵̅̎ ̵̏̀·̷̊́-̴͛̊·̶̐̆ ̷̇͛ ̸̉̈́·̶̾͆·̸̎̄·̴̇̎ ̵͑͠ ̷̌̈·̶̔̎ ̵̊͑ ̶͊̕ ̷́̏ ̷̄͐ ̸̾́ ̵̉̎-̴̒̂·̶̉͌-̷̀̂·̷̿̔ ̷͋̑ ̶̿̅-̸̂̎-̸̇͒-̵̍͐ ̵͌̓ ̵̿̐
Yeah that guy
It’s been a long time since I coded some plugins
I forgot even the name of bukkit lol
@minor roost
What’s up
i still want an api
but they just won't give us a simple api
i don't think it would take more then 100 lines
I mean, there's an unofficial API on GitHub
though I am not sure if that's what you want
It's made by someone else to my knowledge but was last updated years ago
lmao that was me and quartz, it does not work
also if you are talking about cubecraft.js that is a broken thing since they removed stats from stats.cubecraft.net
if you realy realy want it you could scrape the cubecraft server but unless you know how the hell bedrock protocol works you just can't
also if you want to scrape java it is kinda easy since there are a lot of libraries out there
@brisk badge
Thankss
very intresting
i swear auth is not even that hard of an issue
they can use passport now
for oauth
It's not xD They just prioritise different things. A shame though due to the potential reach us developers have. Imagine if they went through with it years ago when it was first mentioned :s
if they wanted to they could make it in 1 day 
Probs a week to get an actual working product. Sustaining Bedrock simply gives more income that a public API ever would
na it won't take a week, they already have the api endpoint setup they could do it in 1-2 days
Unless they wrote code even they can't understand or expand
I wish they atleast did just give us a public api without auth and just ratelimit
Nana, if we're getting an API, I prefer it to be a proper one xD
damn
why do they use this ugly UUID with -
anyone know how i can do this on bedrock? (reference video: furnideco interactivity) talking about rustic btw
thanks!
A = int(input())
While A = “I eat cheese”:
print(1)
emoji allowed on cubecraft when?
We disabled them in chat because people would spam them.
oh, you could just treat them like normal numbers, like how you can't type more then 3 zeros ,
or you could put a limit of 2 emojis per message
No, the emojis overlap previous messages because they are larger than 1 line
oh, well could could create custom emojis, or scale them down since you already use emoji files
We don't want to scale them down though 😛
;-;
i can do it for you if you want me to
you can just overlap your custom emojis on file i make
We won't do that sorry. We're also limited on the amount of emoji we can use so we want to save them for features where they would be more useful
bro you have 2 files ;-;
you have 256 emojis per file
@spring tiger trade offer
we get 12 emojis
you get cooler chat
More than welcome to suggest it on the forums. But as I've said we are reserving how we use them
alr
@spring tiger Do you know some good guide for java script?
fireship io is good
it is a youtube channel
ty
you know how to code?
not really
then that is not for you
you should start from html, css, javascript
ok
learn them 3 then learn node.js
ok
ah yes superior naming variables
i mean it really depends what u wanna do if u are not intrested in web design and frontend then wasting ur time on html or ccs is well a waste of time and will prob demotivate you
but yea i dont reccomend java as first langauge(talking from experience)
it does not matter, tbh i think it is better fit for first language since it has a c like syntax which is in a lot of languages
besides web dev is necessary even for system devs
since at some point in there life they have to work with web dev
it is not necessary they have to learn web design if they just want to learn the basics
css is pain tas why am telling them to learn it
so they can hate css for the rest of there life
both css and html arent really programming languages and web dev is def not neccessary if programming is ur hobby and frontend is just not enjoyable for you
hey any of you programming geniuses know whats wrong with this code? I'm trying to change the [Save and Quit] button into the [Return To Game] button
so that you have 2 "return to game" buttons
(my friend made this code and ik nothing about json so)
aaand bobs gone rip
Im trying to make the menu look like [This] (this is only a photoshop copy of what i want)
the pause menu
that it is not a program and it is just json?
you should ask that stuff in the bedrock development server thing
delete one ez
or just search for resume game and see if the first field is also resume game
wdym delete one- im trying to make it look like this
by delete i mean change one of the resume games to return to game
-._-. im trying to make the Save and Quit button into the return to game
like resume game
trying to make them both have the same functionality
idk about mc ui and stuff, only thing ik is you can change resume game string to something else 
BoredChicken
guys i did it i passed
How can i add dependencies such as jackson and okhttp to gradle.build?
can't seem to fix this, I hate you gradle. Anyone any idea? The repo is there (central), the artifact is on the repo, the dependency notation is the same, but Gradle cannot resolve it
P.S: tried custom online repo, still no luck
BTW even though the spigot api cannot be resolved it's in there and I can use it... I cannot say this for MockBukkit
ok Fixed it, it's a very annoying issue in dependency tree, basically version mismatch
this took ages, but I recommend this when you start a multi-module project. Extract all versions to a common place for easier modification across all modules
ew, yaml
toml supior
Does anybody knows on what CubeCraft running on MCBE? Do they have something like their own software or somethink like that?
Yes we run our own software
Ok thanks for response! I was just curious cuz I heard somewhere you are using Pocketmine so just wanted to know if thats true.
somewhat relevant
👌
learning math to make games but you still break the whole game
@fallow yacht thx for fixing so many bugs <3
I still have not unlocked hyperbolic trigonometry.
i have not unlocked marks in my math exams too 
Any of you know how to use the binomial distribution?
I need someone to verify a calculation.
you caught me..
#rank
no one smort enough in thsi server to do anything past middle school math
just calculate the probability of this man
69%
the OHC would be around 60% ish
while husk of opulent would be 40%
what
yhh
uh so idk if you need help but as a set of vectors is linearly independent iff c_1*v_1 + ... + c_k*v_k = 0 => c_i = 0 for all i, then you can try and place each of the vectors as columns in a matrix A, and solve for Ax = 0. iff the only soln is x then linear independent
so should only be d
error: dll does not exist
the joke is
| |l
|| |_

what about hypothesis testing?
I actually forgot how to do that.
ight here's my situation
Null hypothesis: proportion of husk of opulent dreams / total = 0.5
Alternate hypothesis: proportion < 0.5
someone gave me this: https://www.wolframalpha.com/input?i=(45%2F(45%2B26)-0.5)%2Fsqrt(((45%2F(45%2B26))*(26%2F(45%2B26)))%2F(45%2B26))
I assume that's the central limit theorem at work?
2 sigma
it's outside 2sigma
does that mean we can reject the null hypothesis?
Um how do you code
what do you want to make?
naw dawg
one is a) one is c)
@sweet barn do ya guys use fork of geyser to run bedrock?
or did you guys write a different proxy to do that?
No, we don’t use geyser at all on cubecraft
is it similar to geyser?
Not really
i see
.
Agreed
@sweet barn do u guys need keyboard to program?
na we just tell our computer write code and it will start coding
after that we have to tell the computer to debug it
and it will miss 90% of the bugs
Actually it is possible in 2034
it is possible rn with github co-pilot
bc i don't use both i just write "test this nub"
I get noclassdeffounderror even tho the dependencies look to be in the jar
anyone has any idea?
well if the specific class isn't there then it just isn't there
Anyone know where to put .dic and .aff files for the c enchant library (Using pyenchant, but that uses c enchant)
GitHub co pilot is pretty cool, can be a bit frustrating at times when it decides to recommend 100+ lines of code
it never gives me more then 1 line of code ;-;
Maybe it knows I’m a spaghetti coder and it tries to help the best it can
it gave me more lines on c++, which language you use?
Primarily Java
so it is based on language or something
Perhaps
maybe depends on how much data there is on that language
I’ve never used GitHub autopilot
you need to signup for the wait queue
i mean you need to have a github account, else you can't realy contribute to anything opensource
I think they’re pretty quick with the queue not
Couple of guys on the dev team got it pretty quickly
about 2 months for you to get through the queue
They have a queue?
I thought it is online web browser based IDE
no
that is a different thing
github.dev is the online ide while github copilot is ai code complete
but it is there, i can send u content of that jar
it does suggest more then one line but not at a time for me
it is some kinda setting i think
naw dawg it is not like that for me, it always shows me one line of code, and once i go to the next line it shows me one more line
just one line when i give it comment and stuff too, i have to press enter always
Use the modulus operator %. It returns the leftover of a division of 2 numbers. In your case it would be n % 2 == 0, meaning that if the leftover of dividing your number n by 2 is 0, then it'll return true. This would check if it's even or odd
What are you doing that requires faster than using the method I mentioned?
C compiles to assembly, right? Maybe you could check then which method uses more instructions although I believe the fastest way would be to use n & 1 as there's a 3 instruction difference
aren't you getting diminishing returns at that point
the compiler will just use the most efficient method for the machine code calculation
for you its just readability between % and bitwise...
compilers will automatically compile modulo into bitwise operations
well yeah the output machine code will be identical in terms of performance
you will likely find performance bottlenecks far more important than the difference between bitwise and modulo
Wa-?






