Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

warjort

Members
  • Joined

  • Last visited

Everything posted by warjort

  1. That's a horrible error message. First, the "mouseClicked event handler" is misleading. That's the thread name because it is running in response to you clicking something. Its actually just a NullPointerException with no message. You can see it is actually a problem in the biome generator. In fact it is in the feature part. Somewhere along the way there is a null value and the error comes from it trying to insert it into an immutable list, which doesn't allow nulls I think this NPE is caused by you not registering your configured feature. You just create one and then use Holder.direct() on it. I posted a link to how botania does this in this thread: https://forums.minecraftforge.net/topic/113121-how-do-i-spawn-my-feature-in-the-world-1165/ but was told off because it uses a RegistryEvent<Feature> to do this instead of a DeferredRegistry. ๐Ÿ™‚ I don't know of a good example using DeferredRegistrys given how features/placements get configured/registered and both methods ultimately do the same thing. Its just one is more declarative. I am tempted to raise that error message as a bug in forge ๐Ÿ™‚
  2. There are already a number of different mods that do this already. For example this one https://www.curseforge.com/minecraft/mc-mods/custom-window-title It uses minecraft's Window.setTitle() which I guess is what you do? Then it stops minecraft changing it, using a mixin: https://github.com/chylex/Minecraft-Window-Title/blob/master/src/main/java/chylex/customwindowtitle/mixin/DisableVanillaTitle.java BTW: That Window class is only available on the client. You should change the title in FMLClientSetupEvent otherwise your mod will crash servers.
  3. This is the same error you reported here. https://forums.minecraftforge.net/topic/113135-forge-not-working/page/2/#comment-503335 The problem is still the same. Your /Users/bradydyson/Library/Application Support/minecraft/mods/BiomesOPlenty-1.19-17.0.0.136.jar is broken, you need to redownload it. The latest version of that mod is currently 1.19-17.0.0.141 see https://www.curseforge.com/minecraft/mc-mods/biomes-o-plenty/files/all?filter-game-version=1738749986%3a73407
  4. If you know the problem is optifine, ask them for help.
  5. Your minecraft-comes-alive configuration file is broken. Ask the mod author for help if you can't see what is wrong with it.
  6. The conflict is rubidium and chunkanimator. It appears to be a known issue: https://github.com/Harleyoc1/ChunkAnimator/issues/25 https://github.com/Asek3/Rubidium/issues/173 You have to be an alien to read these error messages. ๐Ÿ™‚ The trick is to look for the final "Caused By" then look for mod names. rubidium is a port of sodium
  7. If you don't understand how RenderLevelLastEvent would be used, it probably means its not a good solution for your problem?
  8. BTW, this looks weird player.getCommandSenderWorld() Its not wrong, its just your processing has nothing to do with commands. Normally you would just use the public field player.level which is what that other function returns.
  9. In this code you have public void onPlayerTracking(PlayerEvent.StartTracking event) { if(event.getTarget() instanceof PlayerEntity) { PlayerEntity player = (PlayerEntity)event.getTarget(); This is meant for when you do want your capability sent to other players. i.e. other players tracking you will get a copy of the capability data. The "target" is the new player that has just come into range of you.
  10. You are using @SubscribeEvent on the methods, do you have @EventBusSubscriber(bus = Bus.FORGE) on the class?
  11. A player on the server is being tracked by other players nearby. e.g. when I jump in the air, the server sends a message to the tracking entities to tell them I jumped in the air. Using TRACKING_ENTITY_AND_SELF means it sends your message to all these players and your player. In your client code you do ClientPlayerEntity p = Minecraft.getInstance().player; p.getEntity().getCapability().etc So if the client gets a message because it is tracking another player, it will update the data from the other player into your player. Using PacketDistributor.PLAYER means it only sends to the player. You won't have to worry about getting data about other players on the client.
  12. Take a break, go for a walk. Then try again. ๐Ÿ™‚
  13. Same out of memory error. Show the command you are you using so we can confirm you did it correctly. What does the modpack say it requires to run?
  14. This isn't a forge question. Its a can you fix my java program question. You only ever register one chest BlockEntityRenderer in that code. It references the static singleton TileEntities.CHEST_TILE_ENTITIES.
  15. Some conflict between the backpacked and backpacker mods: Make sure you have the correct versions then contact the author.
  16. The answer is, you are not registering it. You never change newChestEntitiesAdded to true and even if you did, the chests are never registered when signs are because you are using "else if" https://github.com/StijnArts/All-The-Wood/blob/85e92326aa52affba3c91ef5a81f7ff87e1e20cc/src/main/java/Net/Drai/AllTheWood/AllTheWood.java#L125
  17. Either add this to your ATWChestBlock and define a model for it public RenderShape getRenderShape(BlockState p_49232_) { return RenderShape.Model; } Or you need to create and register a BlockEntityRenderer for it. See net.minecraft.client.renderer.blockentity.ChestRenderer for the vanilla one.
  18. You need to give minecraft/forge more memory. It is the -Xmx option in these examples https://forums.minecraftforge.net/topic/113190-trouble-creating-minecraft-modded-server-1165/
  19. Quote the path with spaces, like this:
  20. Try enigmatic legacy 2.24.1, it claims to have a fix for this. https://github.com/Aizistral-Studios/Enigmatic-Legacy/issues/359
  21. See: https://forums.minecraftforge.net/topic/113190-trouble-creating-minecraft-modded-server-1165/
  22. You need to explain what is not working. Nobody wants to look at some code and guess what might be wrong with it. If you don't understand what is not working add some log.info("I am doing this"); or System.out.println("I am doing this"); to your code in relevant places. Then see if you can understand what is being not being done or is wrong from the log. Even if you can't figure it out, it will let you ask a more focused question. However: One thing that does look wrong is. TitanShiftersNetwork.CLIENTCHANNEL.send(PacketDistributor.TRACKING_ENTITY_AND_SELF.with(() -> p), message); From what I understand you only want to send to the player and not every player that is close by, which is what the above code does. You don't have an entity id in your message, you are assuming the player only gets its own data. As it stands, it will be overwriting player's data randomly from other players.
  23. Looks like you are missing this mod: https://www.curseforge.com/minecraft/mc-mods/framework?
  24. See: https://forums.minecraftforge.net/topic/113178-better-minecraft-forge-125-exit-code-1/

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.