Skip to content

Instantly share code, notes, and snippets.

View ROMVoid95's full-sized avatar
🏆
To the awards I'll never receive

ROM ROMVoid95

🏆
To the awards I'll never receive
  • ReadOnly Development
  • Texas, USA
  • 10:14 (UTC -05:00)
View GitHub Profile
@ROMVoid95
ROMVoid95 / index.html
Created October 22, 2019 16:11
Minecraft Starting Screen
<body onload="displayQuote(); setTimeout(myFunction, 20000);">
<center>
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/3/32/Minecraft_logo.svg/1280px-Minecraft_logo.svg.png" width="100%" >
<table>
<tr>
<div class="big">
Singleplayer
</div>
</tr>
<tr>
@ROMVoid95
ROMVoid95 / index.html
Created October 22, 2019 16:11
Minecraft Starting Screen
<body onload="displayQuote(); setTimeout(myFunction, 20000);">
<center>
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/3/32/Minecraft_logo.svg/1280px-Minecraft_logo.svg.png" width="100%" >
<table>
<tr>
<div class="big">
Singleplayer
</div>
</tr>
<tr>
{
"images":
{
"black":
{
"image" : "mainmenu:textures/bg_menu.png",
"posX" : 95,
"posY" : -80,
"width" : 200,
"height" : 1500,
buildscript {
repositories {
jcenter()
maven { url = "https://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'

People assume that giving the game more leeway in terms of memory (RAM) usage makes it run better. This is actually not true, especially the common conception that “more ram = better fps”. So let me give you a somewhat technical explanation of why this is the case. I’m no expert in the matter either, but I believe I know enough to pass the knowledge around, so feel free to correct me if I mess something up.

Ok, so let’s start by talking about the Java Virtual Machine, and the concept of instance. The Java Virtual Machine, as you might know is what’s responsible for running java applications, which obviously includes minecraft, when you load it up, it needs to know how much memory it can work with, this is what you change when you allocate more memory to the game, how much space it has to fill with anything the application needs to use. Next off is an instance, in object-oriented programming, which Java falls under, an instance is, on very simple terms, an object, something that exists and has values. For exa

OUTDATED - PLEASE UPDATE
OUTDATED - PLEASE UPDATE
package net.minecraft.client.gui.inventory;
import com.google.common.collect.Lists;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.annotation.Nullable;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
@ROMVoid95
ROMVoid95 / java.txt
Last active January 26, 2020 03:17
My Semi-Technical Explanation of Why Too Much Ram Is Bad for Java
I see this a lot. People assume that giving the game more leeway in terms of memory (RAM) usage makes it run better. This is
actually not true, especially the common conception that “more ram = better fps”. So let me give you a somewhat technical
explanation of why this is the case. I’m no expert in the matter either, but I believe I know enough to pass the knowledge around,
so feel free to correct me if I mess something up.
Ok, so let’s start by talking about the Java Virtual Machine, and the concept of instance. The Java Virtual Machine, as you might
know is what’s responsible for running java applications, which obviously includes minecraft, when you load it up, it needs to know
how much memory it can work with, this is what you change when you allocate more memory to the game, how much space it has to fill
with anything the application needs to use. Next off is an instance, in object-oriented programming, which Java falls under, an
instance is, on very simple terms, an object, something that exists and h
v2.0.2