Jump to content

Recommended Posts

Posted

I increased the block limit for Minecraft to 4096.  Here is the Forge version.

This comes with a test mod that tests the block limit.  Tell me if this is useful or not.

 

EDIT:  Install this into your Minecraft with Forge already installed.

width=320 height=64http://www.slothygaming.com/img/ota.png[/img]

If your grammar is shit and you blatantly don't know what you're doing, I will not help you.

Posted

Do we add the file right into Minecraft .jar with Forge already installed, or do we edit our current version of Forge?

Posted

Minecraft loads fine when I add the file to my .jar - Forge recongizes the mod as mod_test.

 

But when I try to add a mod that gives the game more blocks (I was already at the 256 limit before installing, I receive this error

 

 

23 mods loaded
Minecraft Forge 3.2.5.120
FML v2.2.17.117
Forge Mod Loader version 2.2.17.117 for Minecraft 1.2.5
mod_MinecraftForge : Initialized (minecraft.jar)
mod_SpawnerGUI : Initialized (minecraft.jar)
mod_Arrows : Initialized (minecraft.jar)
mod_Beer : Initialized (minecraft.jar)
mod_mocreatures : Initialized (minecraft.jar)
mod_EnrichedCoalOre : Initialized (minecraft.jar)
mod_EnrichedDiamondOre : Initialized (minecraft.jar)
mod_EnrichedGoldOre : Initialized (minecraft.jar)
mod_EnrichedIronOre : Initialized (minecraft.jar)
mod_EnrichedLapisOre : Initialized (minecraft.jar)
mod_EnrichedRedstoneOre : Initialized (minecraft.jar)
mod_ModLoaderMp : Initialized (minecraft.jar)
mod_RecipeBook : Initialized (minecraft.jar)
mod_Shelf : Initialized (minecraft.jar)
mod_SimpleOres : Initialized (minecraft.jar)
mod_TooManyItems : Initialized (minecraft.jar)
mod_AnimalBikes : Initialized (minecraft.jar)
mod_DoggyTalents : Initialized (minecraft.jar)
mod_MagiCats : Initialized (minecraft.jar)
mod_test : Initialized (minecraft.jar)
mod_Netherrocks : Pre-initialized (minecraft.jar)
Balkon's WeaponMod : Pre-initialized (WeaponMod.zip)
mod_magic : Pre-initialized (WizardCraft.zip)


      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem.




--- BEGIN ERROR REPORT a1a8e7c --------
Generated 6/24/12 4:38 PM

Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_31, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family version 3.0.0 - Build 8.15.10.2353, Intel

java.lang.IllegalArgumentException: Slot 140 is already occupied by BlockTrellis@164f8d4 when adding BlockNetherRock@c42b5
at pb.<init>(Block.java:252)
at pb.<init>(Block.java:285)
at BlockNetherRock.<init>(BlockNetherRock.java:12)
at mod_Netherrocks.load(mod_Netherrocks.java:180)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:319)
at cpw.mods.fml.common.Loader.modInit(Loader.java:262)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:591)
at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:229)
at net.minecraft.client.Minecraft.a(Minecraft.java:426)
at net.minecraft.client.Minecraft.run(Minecraft.java:735)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 633cb233 ----------

 

 

Its pretty much the same error I've been getting when I try to add mods that add blocks. The mod I'm adding is called Netherrocks, and its the Client Forge version. All the mods I'm using are compatible with Forge. The current forge version that I'm using is 3.2.5.120.

Posted

You get that error because 2 mods use the same block/item ID on a certain block.  Easy fix is remove the mod that adds the BlockTrellis.  Just because more IDs exist doesn't mean all mods will get along.  The problem is my code fix just came out and no one has created mods that use higher IDs.  This is a problem until the mod authors or a 3rd party fix it.  Sorry to tell you that.

width=320 height=64http://www.slothygaming.com/img/ota.png[/img]

If your grammar is shit and you blatantly don't know what you're doing, I will not help you.

Posted

1) Nobody use this as I haven't verified what it doesn't and it does break old worlds.

2) Forge ALREADY supports 4096 in a better fashion

3) If its something important you should submit a PR to forge, not release 'custom builds' as that's just fucking stupid.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • the modpack keep crashing idk why,cause it never said anything about any mods causing it. crash log:https://drive.google.com/file/d/1iYKlUgvHUob8DjyRc3gqP_Viv_kSHO6L/view?usp=sharing mod list:https://drive.google.com/file/d/1MvMT-z9Jg2BITQ4uLshJ1uOh7q9EMBfC/view?usp=sharing but the server(anternos) works just fine
    • Hello, I am trying to make 2 recipes for a ruby. The first one is turning a block into a ruby and the other one is 9 nuggets into a ruby. But I keep on getting a error java.lang.IllegalStateException: Duplicate recipe rubymod:ruby   Any help would be great on how to fix it
    • Hello everyone, i'm new with programing Mods, and will need a lot of your help if possible,  Im trying to make a new GUI interface responsible to control the Droprate of game, it will control de loot drop and loot table for mobs and even blocks, but i try to make a simple Gui Screen, and wenever i try to use it, the game crash's with the error message in the subject, here is the code im using to:  IDE: IntelliJ Comunity - latest version Forge: 47.3.0 Minecraft version: 1.20.1 mapping_channel: parchment mapping_version=2023.09.03-1.20.1 Crash report link: https://pastebin.com/6dV8k1Fw   Code im using is:    package createchronical.droprateconfig; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.gui.GuiGraphics; import net.minecraft.client.gui.components.Button; import net.minecraft.client.gui.screens.Screen; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; import java.util.HashMap; import java.util.Map; public class ConfigScreen extends Screen { private static final ResourceLocation BACKGROUND_TEXTURE = new ResourceLocation("droprateconfig", "textures/gui/config_background.png"); // Mapa de mobs e itens com seus respectivos drop rates private final Map<String, Integer> dropRates = new HashMap<>(); public ConfigScreen() { super(Component.literal("Configurações de Drop Rate")); // Inicializa com valores de drop rate padrão dropRates.put("Zombie", 10); // Exemplo de mob dropRates.put("Creeper", 5); // Exemplo de mob dropRates.put("Iron Ore", 50); // Exemplo de item dropRates.put("Diamond", 2); // Exemplo de item } @Override protected void init() { // Cria um botão para cada mob/item e adiciona na tela int yOffset = this.height / 2 - 100; // Posicionamento inicial for (Map.Entry<String, Integer> entry : dropRates.entrySet()) { String itemName = entry.getKey(); int dropRate = entry.getValue(); // Cria um botão para cada mob/item this.addRenderableWidget(Button.builder( Component.literal(itemName + ": " + dropRate + "%"), button -> onDropRateButtonPressed(itemName) ).bounds(this.width / 2 - 100, yOffset, 200, 20).build()); yOffset += 25; // Incrementa a posição Y para o próximo botão } // Adiciona o botão de "Salvar Configurações" this.addRenderableWidget(Button.builder(Component.literal("Salvar Configurações"), button -> onSavePressed()) .bounds(this.width / 2 - 100, yOffset, 200, 20) .build()); } private void onDropRateButtonPressed(String itemName) { // Lógica para alterar o drop rate do item/mob selecionado // Aqui, vamos apenas incrementar o valor como exemplo int currentRate = dropRates.get(itemName); dropRates.put(itemName, currentRate + 5); // Aumenta o drop rate em 5% } private void onSavePressed() { // Lógica para salvar as configurações (temporariamente apenas na memória) // Vamos apenas imprimir para verificar dropRates.forEach((item, rate) -> { System.out.println("Item: " + item + " | Novo Drop Rate: " + rate + "%"); }); // Fecha a tela após salvar Screen pGuiScreen = null; assert this.minecraft != null; this.minecraft.setScreen(pGuiScreen); } @Override public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTicks) { this.renderBackground(guiGraphics); guiGraphics.blit(BACKGROUND_TEXTURE, this.width / 2 - 128, this.height / 2 - 128, 0, 0, 256, 256, 256, 256); super.render(guiGraphics, mouseX, mouseY, partialTicks); } }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.