All Activity
This stream auto-updates
- Past hour
-
jadoumandy@gmail.com joined the community
-
[1.16.5] Help with custom container (error when put a item in an slot)
Luis_ST replied to Luis_ST's topic in Modder Support
it was once intended for something else what do I have to change that I can use it -
[1.16.5] Help with custom container (error when put a item in an slot)
Luis_ST replied to Luis_ST's topic in Modder Support
yes I have this variable (it goes from 0 to 109). this is what i'm trying right now. Edit: it works like this, but how do I find out when I have to move a slot outside of the visible area if I shouldn't use the slot's position I've "tried" something like this before in another mod. But I am not sure whether it works that way and whether it is even right? code: PacketHandler: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/ModPacketHandler.java my message interface: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/IMessage.java SyncSlotPosition message (not final/ in work): https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/SyncSlotPosition.java is there an error somewhere / does it work like that way? - Today
-
CurseForge installer is stuck at Extracting files.
yincrafterf replied to yincrafter's topic in Support & Bug Reports
Sorry i didn't know thought it was the same thing. Edit: forgot to say i changed account because the other one wasn't letting me in. -
What I mean is this: Have a variable that contains the current scroll position (e.g. from 0-250). Whenever this variable changes, calculate the current slot positions based on it. Do not work with deltas/differences, it just gets confusing. No, you should actually handle the exception instead of going "oh, exception? log it, then never mind and carry on as if nothing was wrong".
-
TL;DR: You can't.
-
Not an error message. Then those mods didn't add a config screen. Untrue. Also entirely unrelated to the configuration screens. None of this makes any sense. If you want the "secure mod features" (which is simply a verification that the jar files have not been tampered with, it's not any mod functionality), update your Java to latest Java 8.
-
[SOLVED][1.16.5] Adding a Button to KeyBindings
diesieben07 replied to Skyriis's topic in Modder Support
That is not how you should handle exceptions. And there is no reason to call setAccessible(true) when using ObfuscationReflectionHelper. And callign setAccessible(false) when you never use the Method again afterwards also doesn't do anything. -
Use RenderingRegistry.registerEntityRenderingHandler to register entity renderers.
-
CurseForge installer is stuck at Extracting files.
diesieben07 replied to yincrafter's topic in Support & Bug Reports
Talk to the CurseForge people. This is Minecraft Forge, not related or affiliated. -
Forge is not opening with java- what should i do
diesieben07 replied to OG9181's topic in Support & Bug Reports
Some zip managers like to take control of the .jar file extension away from Java. Make sure you have Java installed and try running Jarfix once, then try the installer again. -
Post the debug.log from server and client.
-
Mods must be put into the mods folder, not any subfolders. Use a separate game directory in the launcher settings to separate versions.
-
It looks like you are editing this file on Windows, which has "\r\n" as the line endings. *nix uses \n only. That might be an issue here. Other than that... no idea.
-
risunatwitch1 joined the community
-
Richen joined the community
-
I've been here trying to solve this problem and i'm not that good at computers since i'm only 14. I've tried restarting my computer and it didn't work. I've searched on youtube and didn't find a video about this Sorry for the lack of information i'll try to get more information. Update heard this was common problem Which is good since I probably won't need to add more information
-
yincrafterf joined the community
-
yincrafter joined the community
-
Thank you for everything, it has helped me a lot, thank you.
-
[1.16.5] Help with custom container (error when put a item in an slot)
Luis_ST replied to Luis_ST's topic in Modder Support
So you mean that I take the value from the scrollbar and add this to the position of the slots I've already think about it, but how do I move the slots that I have to move over the container (+1000) or the slots that I have to move under the container (-1000). is there a way to check this without unsing the position? I should catch the errors one by one -
I am not sure if this is allowed but i have looked around and cannot find out how to properly use the mojang mappings. Anyone have a guide for the proper use case?
-
pitbox46 started following Pushing Redstone
-
I am trying to make a mod that would use a redstone remote in order to remotely connect a redstone source block to a destination block. I have encountered issues because redstone in minecraft "pulls" from surrouding blocks and there doesn't seem to be a way to "push" redstone into a block. The only way I could think of is to set the state of the destination block to BlockStateProperties.POWERED, but the issue is that I'm pretty sure that I would have to set the state every tick because World.isBlockPowered(pos) would be false(unless the block is powered from another source). This solution seems suboptimal if it would even work at all. A better alternative would be to change World.java so that there is some way to set isBlockPowered(pos) or include an if statement inside the function that would check if the BlockPos should be powered. Another alternative would be to change the classes of the blocks themselves to include some logic that would check to see if the BlockPos should be powered. Either way around, I am not sure how to solve my problem without a core mod. I have looked at both reflection and dependency injection, but neither seem to help with modifying a source class that is called by other source classes. Any help is appreciated!
-
pitbox46 joined the community
-
Here is the copy paste of the error log: [21:06:13] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue [21:06:13] [Server thread/ERROR] [FML]: States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UC FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1448-1.7.10-universal.jar) UC Forge{10.13.4.1448} [Minecraft Forge] (forge-1.7.10-10.13.4.1448-1.7.10-universal.jar) UC CodeChickenCore{1.0.4.29} [CodeChicken Core] (minecraft.jar) UC NotEnoughItems{1.0.3.74} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.3.74-universal.jar) UC mod_ThreadedLighting{1.7.10-1.0} [Threaded Lighting] (minecraft.jar) UC gilded-games-util{1.7.10-1.1} [Gilded Games Utility] (gilded-games-util.jar) UC aether{Alpha 1.7.10-1.4} [Aether II] (aether.jar) UC Backpack{2.0.1} [Backpack] (backpack-2.0.1-1.7.x.jar) UC DamageIndicatorsMod{3.2.0} [Damage Indicators] (Damage-Indicators-Mod-1.7.10.jar) UE ReiMinimap{1.7.10} [Rei's Minimap] (Reis-Minimap-Mod-1.7.10.jar) [21:06:13] [Server thread/ERROR] [FML]: The following problems were captured during this phase [21:06:13] [Server thread/ERROR] [FML]: Caught exception from ReiMinimap java.lang.NoClassDefFoundError: Lreifnsk/minimap/ReiMinimap; at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_251] at java.lang.Class.privateGetDeclaredFields(Class.java:2583) ~[?:1.8.0_251] at java.lang.Class.getDeclaredField(Class.java:2068) ~[?:1.8.0_251] at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:404) ~[FMLModContainer.class:?] at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:358) ~[FMLModContainer.class:?] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:513) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:?] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:?] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) [lt.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?] Caused by: java.lang.ClassNotFoundException: reifnsk.minimap.ReiMinimap at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] ... 33 more Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/resources/IResourceManagerReloadListener at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_251] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_251] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_251] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] ... 33 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.resources.IResourceManagerReloadListener at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_251] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_251] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_251] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] ... 33 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_251] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_251] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_251] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_251] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_251] ... 33 more