Jump to content

Search the Community

Showing results for tags '1.16.5'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Minecraft Forge
    • Releases
    • Support & Bug Reports
    • Suggestions
    • General Discussion
  • Mod Developer Central
    • Modder Support
    • User Submitted Tutorials
  • Non-Forge
    • Site News (non-forge)
    • Minecraft General
    • Off-topic
  • Forge Mods
    • Mods

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


XMPP/GTalk


Gender


URL


Location


ICQ


AIM


Yahoo IM


MSN Messenger


Personal Text

  1. Hi, i'm playing with mods on a forge server (minecraft version 1.16.5) and my game keeps crashing after a few minutes. because I dont know a solution for that i'm asking here. Crash report: https://pastebin.com/bJ7ESstU
  2. When I try to create a world with Optifine installed and jujutsucraft mod it crashes instantly, what can I do to try to solve this
  3. So I've been trying to make an mob that can have multiple textures, and the mob has the Witch model, and I can put a texture on it but I don't know how to make it spawn with a random texture. I tried searching through mobs that have multiple textures like the fox, rabbit, and stuff but I wasn't able to find out how to do it and I kept getting errors when i tried compiling: error: method createKey in class net.minecraft.network.datasync.EntityDataManager cannot be applied to given types; private static final DataParameter<Integer> ALCHEMIST_TYPE = EntityDataManager.createKey(AlchemistEntity.class, DataSerializers.VARINT); ^ required: java.lang.Class<? extends net.minecraft.entity.Entity>,net.minecraft.network.datasync.IDataSerializer<T> found: java.lang.Class<net.newblocks.entity.AlchemistEntity>,net.minecraft.network.datasync.IDataSerializer<java.lang.Integer> reason: cannot infer type-variable(s) T (argument mismatch; java.lang.Class<net.newblocks.entity.AlchemistEntity> cannot be converted to java.lang.Class<? extends net.minecraft.entity.Entity>) 1 error And sorry there isn't much info, this was the only error that appears when I tried to copy the same thing from one of those mobs with multiple textures (plus imports). I already tried searching on the site and didn't find much. I can provide more info if needed
  4. As well all know in minecraft inventory items (that can have more then 1 item amount) show a number once there amount goes above 1 (3 for the acacia plank for example) as shown below: now im trying to not render the item amount I found the following way I could maybe do that: public class CustomItemRenderer extends ItemRenderer{ public CustomItemRenderer(TextureManager textureManagerIn, ModelManager modelManagerIn, ItemColors itemColorsIn) { super(textureManagerIn, modelManagerIn, itemColorsIn); } @Override public void renderItemOverlayIntoGUI(FontRenderer fr, ItemStack stack, int xPosition, int yPosition, @Nullable String text) { if (stack.getCount() > 1) { return; } super.renderItemOverlayIntoGUI(fr, stack, xPosition, yPosition, text); } } when I hover over renderItemOverlayIntoGUI I get the following tooltip in intelij: public void renderItemOverlayIntoGUI( Font Renderer fr, @NotNull » ItemStack stack, int position, int position, @Nullable String text From class: ItemRenderer Renders the stack size and/or damage bar for the given ItemStack. which shows me what I want, to to not render the stack size. but I have no clue how to register this class since it has a super as follows: public CustomItemRenderer(TextureManager textureManagerIn, ModelManager modelManagerIn, ItemColors itemColorsIn) { super(textureManagerIn, modelManagerIn, itemColorsIn); }
  5. I am getting this error while building after clearing by deleting the .gradle folder stating that: Could not resolve: net.minecraftforge:forge:1.16.5-36.2.34_mapped_official_1.16.5 Could not resolve: net.minecraftforge:forge:1.16.5-36.2.34_mapped_official_1.16.5 After downloading all the necessary jar files from https://maven.minecraftforge.net, It couldn't find this one. Seems like there is a server-sided issue with https://maven.minecraftforge.net? Or something else?
  6. So I make minecraft maps but I am struggling as I have been unable to use worldedit since it breaks when I do /reload. This can be frustrating as CustomNPCs only goes to that version. I am trying to make a pixelmon map which its only stable release goes to 1.16.5. Im really desperate for any kind of thing i can do. if anyone has any suggestions it would be very helpful. Thank You.
  7. Having issues loading this modpack, crash log is [User dumped their crash report directly in the thread, triggering the anti-spam]
  8. Hi everyone! I'm learning modding on forge 1.16.5 and want to make the Leviathan Axe from the God of War games, but I'm facing two problems: 1) The entity model in the air and on the ground when thrown is not rendered 2) There's no sound of picking up the axe Moreover, when thrown, the entity itself spawns, that is, it causes damage, falls, creates sounds of falling and hitting other entities, but the axe model is not visible. I registered the renderer in the doClientStuff method in the main class of the mod, but still the model is not rendered. Renderer class: LeviathanAxeRenderer Model class: LeviathanAxeModel Entity class: LeviathanAxeEntity Item Class: LeviathanAxeItem I hope this information is enough to help me resolve the issue, if not I will be happy to provide more. I would be very grateful for your help, I’ve been struggling with this for a day now and can’t figure out what the problem is
  9. The game crashed whilst rendering overlay Error: net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException: Failed loading config file forge-common.toml of type COMMON for modid forge This is the error that I get, it appears with or without mods, I already tried deleting the forge-client.toml file and it does not solve
  10. Hey, i bought today a server from bisecthost and can't start the server without problems... the minecraft launcher says the server is online but everytime i try to start it shows me "internal server error" and the console says: "[Netty Epoll Server IO #1/WARN] [ne.mi.fm.ne.FMLStatusPing/]: Heuristically truncating mod and/or network channel list in server status ping packet. Compatibility report in the multiplayer screen may be inaccurate."
  11. Forge 1.16.5 doesnt install, i re downloaded lots of times the installer, i restarted my PC, my modem, i reinstalled my .minecraft and nothing, always the same error: https://pastebin.com/6SPdEQPh
  12. So I was told that "only one string" needed to change for this 1.8.9 mod to become a 1.16.5 mod. Im not very sure what this line is as I am new to this coding thing, so I thought I might ask around. Thanks in advance. Here is pt.1 of the code: package studio.dreamys.gui; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.awt.Color; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.GuiTextField; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.util.Session; import org.apache.commons.io.IOUtils; import org.lwjgl.input.Keyboard; import studio.dreamys.TokenAuth; public class SessionGui extends GuiScreen { private GuiScreen previousScreen; private String status = "Session:"; private GuiTextField sessionField; private ScaledResolution sr; public SessionGui(GuiScreen previousScreen) { this.previousScreen = previousScreen; } public void func_73866_w_() { Keyboard.enableRepeatEvents(true); this.sr = new ScaledResolution(this.field_146297_k); this.sessionField = new GuiTextField(1, this.field_146297_k.field_71466_p, this.sr.func_78326_a() / 2 - 100, this.sr.func_78328_b() / 2, 200, 20); this.sessionField.func_146203_f(32767); this.sessionField.func_146195_b(true); this.field_146292_n.add(new GuiButton(998, this.sr.func_78326_a() / 2 - 100, this.sr.func_78328_b() / 2 + 30, 200, 20, "Login")); this.field_146292_n.add(new GuiButton(999, this.sr.func_78326_a() / 2 - 100, this.sr.func_78328_b() / 2 + 60, 200, 20, "Restore")); super.func_73866_w_(); } public void func_146281_b() { Keyboard.enableRepeatEvents(false); super.func_146281_b(); } public void func_73863_a(int mouseX, int mouseY, float partialTicks) { this.func_146276_q_(); this.field_146297_k.field_71466_p.func_78276_b(this.status, this.sr.func_78326_a() / 2 - this.field_146297_k.field_71466_p.func_78256_a(this.status) / 2, this.sr.func_78328_b() / 2 - 30, Color.WHITE.getRGB()); this.sessionField.func_146194_f(); super.func_73863_a(mouseX, mouseY, partialTicks); } protected void func_146284_a(GuiButton button) throws IOException { if (button.field_146127_k == 998) { try { String session = this.sessionField.func_146179_b(); String username; String uuid; String token; if (session.contains(":")) { username = session.split(":")[0]; uuid = session.split(":")[1]; token = session.split(":")[2]; } else { HttpURLConnection c = (HttpURLConnection)(new URL("https://api.minecraftservices.com/minecraft/profile/")).openConnection(); c.setRequestProperty("Content-type", "application/json"); c.setRequestProperty("Authorization", "Bearer " + this.sessionField.func_146179_b()); c.setDoOutput(true); JsonObject json = (new JsonParser()).parse(IOUtils.toString(c.getInputStream())).getAsJsonObject(); username = json.get("name").getAsString(); uuid = json.get("id").getAsString(); token = session; } this.field_146297_k.field_71449_j = new Session(username, uuid, token, "mojang"); this.field_146297_k.func_147108_a(this.previousScreen); } catch (Exception var9) { this.status = "§cError: Couldn't set session (check mc logs)"; var9.printStackTrace(); } } if (button.field_146127_k == 999) { try { this.field_146297_k.field_71449_j = TokenAuth.originalSession; this.field_146297_k.func_147108_a(this.previousScreen); } catch (Exception var8) { this.status = "§cError: Couldn't restore session (check mc logs)"; var8.printStackTrace(); } } super.func_146284_a(button); } protected void func_73869_a(char typedChar, int keyCode) throws IOException { this.sessionField.func_146201_a(typedChar, keyCode); if (1 == keyCode) { this.field_146297_k.func_147108_a(this.previousScreen); } else { super.func_73869_a(typedChar, keyCode); } } } and heres pt.2 : package studio.dreamys; import java.awt.Color; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiMultiplayer; import net.minecraft.util.Session; import net.minecraftforge.client.event.GuiScreenEvent; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import studio.dreamys.gui.SessionGui; @Mod( modid = "ta", name = "TokenAuth", version = "1.1.0" ) public class TokenAuth { public static Minecraft mc = Minecraft.func_71410_x(); public static Session originalSession; public TokenAuth() { } @EventHandler public void preInit(FMLPreInitializationEvent e) { MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public void onInitGuiPost(GuiScreenEvent.InitGuiEvent.Post e) { if (e.gui instanceof GuiMultiplayer) { e.buttonList.add(new GuiButton(999, 5, 5, 100, 20, "TokenAuth")); } } @SubscribeEvent public void onDrawScreenPost(GuiScreenEvent.DrawScreenEvent.Post e) { if (e.gui instanceof GuiMultiplayer) { String status = String.format("User: §a%s §rUUID: §a%s", mc.field_71449_j.func_111285_a(), mc.field_71449_j.func_148255_b()); Minecraft.func_71410_x().field_71466_p.func_78276_b(status, 115, 10, Color.WHITE.getRGB()); } } @SubscribeEvent public void onActionPerformedPre(GuiScreenEvent.ActionPerformedEvent.Pre e) { if (e.gui instanceof GuiMultiplayer && e.button.field_146127_k == 999) { Minecraft.func_71410_x().func_147108_a(new SessionGui(e.gui)); } } static { originalSession = mc.field_71449_j; } }
  13. Hi, I'm asking for your help because I can't figure out how to make it so that when an item is crafted on the Crafting Table, it returns the item to the player's inventory and makes the item lose durability. I've tried looking everywhere without success. Like for the crafting of the cake which returns the empty bucket to the player, but also makes it lose durability.
  14. This issue affects multiple versions of Forge. The main problem is that when running the forge server through a standart Windows console, the Advanced console output does not work, namely: ConsoleCommandCompleter TerminalHandler MinecraftFormattingConverter This makes the console incredibly difficult to use. Commands cannot be seen when pressing TAB ↑forge-1.12.2-14.23.5.2847↑ it is impossible to write a sufficiently long command if at the moment of typing something is displayed in the console (this information will be combined with the command that was written and it will no longer be possible to use it). Also the text does not have ASCII color codes All the necessary jar files are there, all the necessary java classes for this are also there. Why does this only work on certain forge builds? How to fix it?
  15. I am trying to install forge 1.16.5. When i try to download forge (any Minecraft version) it just downloads the installer and when I try open the installer it just redirects me to download the installer again. Please help me
  16. I'm trying to make an item that interacts with a tamed mob, primarily a wolf, by right clicking with the item in hand and crosshair pointing on the wolf (like the bone does with a untamed wolf). I've tried using the interact method and using interact events, but nothing works. I'm not sure of what I'm doing, but I've everything I could find on the internet for the past two months and have gotten nowhere. I would appreciate the help.
  17. As the title says, when I open modded minecraft it crashes and I get this error The game crashed whilst rendering overlay Error: java.lang.NullPointerException: Rendering overlay
  18. Minecraft Version: 1.16.5 Forge Version: 36.2.35 Logs: https://paste.ee/p/wEJXd#s=0&l=335 I am starting a server when this critical error hits, please note that I am converting a modpack into server, I think it could relate to client sided only mods, but I go through the crash logs and found no traces to point out which mod it is.
  19. I'm using the Version 16.5 and i have installed Mods Every time a Mob attacks me, my server shuts down with no crash report. I tried every solution that comes up when i search for the error. I don't know what else I can do https://paste.ee/p/yZdhB
  20. Hi, I am currently trying to interact with GUIs using forge. I searched for functions that interact with the GUIs but with no luck... (I only tried through saving the GUI as a screen variable and accessing its functions since I don't know any other way) All help appreciated! (to be more specific, I want to click and move items inside chest / inventory GUIs)
  21. Hello, my name is Heitor, I was trying to log into Forge in version 1.16.5, and I noticed that there was a message written, the message was the following text Unable to start Java. Error details: %1 n㯠頵m Win32 application is available. File name on disk: javaws.jar Path: E:\java\lib\javaws.jar Exists: File I've already reinstalled it 2 times and nothing, I've removed my mods and left the folder empty, I've already uninstalled the file known as Javaws, and reinstalled it, I searched and found nothing on the internet, This happens for all forge versions, Could someone please help me?
  22. When I try to join any world or server, my game is crashing with "The game crashed whilst exception in server tick loop Error:java.lang.NullPointerException: Exception in server tick loop Crash-report https://pastebin.com/CasHLc7K Please help me
  23. Hi! I am doing a mouse listener mod that will capture some mouse dynamics from mouse movements and clicks. This is my first experience with modding in minecraft I am having a problem and it is being really dificult to find information online. I need to get the current cursor location in relation to the screen, and I am using the mousehelper.posx() and mousehelper.posy() for that. However, this is returning negative values sometimes, and when I try to normalize it in an [0,1] interval it surpasses the limits. Maybe I am not understanding correctly what positions mousehelper.posx() and mousehelper.posy() are returning. My code to normalize the mouse coordinates: double screenX = mouseHelper.xpos() / screenWidth; double screenY = mouseHelper.ypos() / screenHeight; I dont think mouseHelper is the best approach to get the cursor location. Can anyone help me with this? I am using Minecraft 1.16.5
  24. Hello! I'm creating a 1.16.5 modpack on CurseForge, and I have stumbled upon an error that puzzles me deeply: Missing License Error I've never experienced this kind of error before while using CurseForge for modding, and I've searched the internet for answers that simply aren't there. Feedback for this would be extremely appreciated, as I'm not technologically savvy in the slightest, thank you!
  25. Error "The game crashed whilst exception in server tick loop Error: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered" Crash Report https://hastebin.com/share/lovokadinu.ruby Log https://pastebin.com/qcngpYwV
×
×
  • Create New...

Important Information

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