Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

All Activity

This stream auto-updates

  1. Past hour
  2. No. Minecraft will save the WorldSavedData to disk when it saves the world, provided isDirty returns true.
  3. Please learn basic Java / programming. If you look at the DeferredRegister class you will see that its constructors are private. It should also be obvious which factory method you need to use.
  4. Hi can any help me to fix this bug? (the structure cut of when i spawn it)
  5. Sorry, I also just started with learning coding. But the documentation don't solve the problem! (The Problem is what I underline here: "new DeferredRegister<>(ForgeRegistries.ITEMS, TestMod ..." public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, TestMod.MOD_ID); Hole Code: package com.NotHeizer.TestMod.util; import com.NotHeizer.TestMod.TestMod; import com.NotHeizer.TestMod.items.ItemBase; import net.minecraft.item.Item; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.fml.javafmlmod.FMLJava
  6. Should I call the read and write methods of my NBTHandler in any event?
  7. Today
  8. Here is debug.log: [19Apr2021 20:46:59.810] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [19Apr2021 20:46:59.816] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16 by Oracle Corporation [19Apr2021 20:46:59.832] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testhar
  9. I can confirm I am experiencing issues as well. It seems like all https://files.minecraftforge.net/maven/... URLs are being redirected to https://maven.minecraftforge.net/... which throws an authentication prompt and doesn't seem to work.
  10. You have already done so in your get method.
  11. forgot to say "edance" project is just a new to test if a new would open properly
  12. When trying to open new project or build old one this error occurs (I am using Intellij):
  13. Is there any recent documentation for WorldSaveData? I have a rather poor understanding of how it should be attached to the world.
  14. Then you do have to use WorldSavedData or a world capability.
  15. The point is that my Grid is not tied to any position in the world. It acts as a data store for connected pipes, from which these pipes can extract information about the contained fluid when interacting with the world. So, is there a way to avoid binding the Grid to specific chunks?
  16. Hi, sorry I didn't get back to you. I have already created a GUI that isn't great but it opens on right click and I have even put on some redstone detection to allow to charge (repair my item) and I think I want a container because this explanation says that it has progress bar which I assume means it is tickable... I haven't been doing coding a for a while because I have had things going on https://greyminecraftcoder.blogspot.com/2020/04/containers-1144.html
  17. It looks like you are missing any kind of loading mechanism that keeps track of which data needs to be loaded and which doesn't. It would be better to only keep things loaded for loaded chunks, so a chunk capability would be a better way.
  18. User was banned for piracy. Buy the game.
  19. I have fluid pipes in my mod and I use a custom Grid object to distribute fluid in this pipes. This Grid object does not inherit either Tilentity or Entity, but I need to write data from it to the world NBT. The only solution that I have found is to create my own class that inherits WorldSavedData. The problem is that I don't quite understand how to use it correctly in newer versions of the game and I'm not sure if this is the best way. I would be very grateful for any advice. Custom WorldSavedData implementation: public class NBTHandler extends WorldSavedData { private static fi
  20. Is there a place where I can upload a log?
  21. I know that. But the log file has been modified. This text is impossible to occur in a normal debug.log.
  1. Load more activity

  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.