Brennan Towry

Greenhorn
+ Follow
since Oct 12, 2021
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Brennan Towry

If you are talking about the line:

You never initialized or assigned the variable, so when you give the Console the var, it will write null. Try this when you call the variable:

or


Also, just a side note, if you are trying to make a list (I infer from the "Names" part of your variable names), try looking into using an array, a list, or even a dictionary.
3 years ago
So I have a singleplayer game on XBOX GamePass for PC that only supports a controller. I am really bad at a controller, and would like to use a keyboard instead. I see no harm as it is a singleplayer game. I can make the code for key binding keyboard keys to controller buttons, but I don't know how to receive keyboard and mouse input, and I don't know how to tell the computer that a controller in plugged in, and that it is receiving controller input. I also don't know how to make the app receive input while it is not the selected application, as I will be playing on the browser, not playing on this app. Any help is appreciated, thanks!
3 years ago
In response to Matthew Bendford, this launcher will be able to run my custom Minecraft mods that improve performance by writing over the majority of the Minecraft code, however, this piece of code is overriding the file changes, it thinks that the files are not updated because they are not the same. I tried deleting the file, but that would mean rewriting a lot more stuff. It seems that the best option here is to change the file. Please do let me know if that is against Mojang's EULA! If it is, do you have another solution to the problem?
3 years ago
What function two should look like:



What function two looks like:


3 years ago
3 years ago
What function one looks like:

3 years ago
Hello! I am making a Custom Minecraft Launcher as a side project, and ran into a problem. Compiling the Jar file can take multiple hours (its really big), and when I had tested the jar, it didn't run quite right. As this is a project to expand my skills in Java, I would like to try to find and fix the problem myself. However, I don't want to decompile, edit, and recompile the file, as this will take to long only to edit a few lines. I have downloaded JBE and want to use it to edit the file. However, I have noticed that the code is in Java Bytecode, and not Java. I don't want to have to learn the whole language just to edit a few lines. Could someone that knows Java Bytecode please help me edit the file? (also sorry Jesse, but there will be way to many Very Long Lines to edit) Also let me know if you need any more info!

What function one should look like:


3 years ago
Thanks everyone for your helpful responses. My coworker sent me an email telling me that this file is outdated and edited for a different, older project. He gave me the correct file. I don't know Java all to well, i'm the C++ C# integration guy.

In response to Jesse Silverman, Im not sure what you are asking me to do, if you could share a link to an example, or give a post of an example, that would be nice!
3 years ago
So I imported a package into my project and it has this error on line 125: There is no default constructor available in 'com.google.common.collect.StandardTable.Row'

And this error on line 126: Call to 'TreeBasedTable.this.super()' must be first statement in constructor body

Can anyone help me, cause this code goes way over my head.


Code:
3 years ago