Jump to content

oa10712

Members
  • Posts

    34
  • Joined

  • Last visited

Converted

  • URL
    https://github.com/16ColorGames/SuperTechTweaks

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

oa10712's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hey, not sure if this is the place to post it or not, but is there any way to track how much memory each mod is using? I'm working on a custom mod for use in a pack, but I'd like to see which mod(s) are taking up excess memory. I am using Netbeans as my IDE, but I can drop the code into another if they have better debug trackers.
  2. Should I be using the ChunkEvent.Load or ChunkDataEvent.Load? And what is the difference between the two? Also, does this event fire when a chunk is first generated?
  3. Hey again everyone, back with a question about retrogen. I already know how to setup my config to allow for it, but I have no idea what event to use. Currently, I have a rather laggy version setup in a entityEnterChunkEvent, that does work slowly, but I'm sure that there is a way to do this as soon as the server starts. So, two part question really, 1. What event should I be firing the retrogen on 2. How do I get a list of all existing chunks in the world?
  4. Thanks, that was totally the problem. Everything seems to be working now, I will start work on converting to using events
  5. Ah, ok. I was hoping that it would be related to another issue that popped up when I had been using it that way, I'm now getting a io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (22 > 20) which I am guessing is from my packet handling somewhere. From what I have seen, this is usually due to scoreboards or entity names, but I don't use either.
  6. from the getExtendedState method, you said to create a method that retrieves an instance of the world, but I'm not quite sure how to do that.
  7. How should I get access to a World instance in the first place then?
  8. Would DimensionManager be the way to get a copy on the server side? Thats the only place I am finding to get an instance of ServerWorld, since MinecraftServer doesn't have a getInstance method. Also, I am attempting to locate the previous threads, I may have had them on a different forum. People seemed very opposed to using TileEntities for ores.
  9. When I had asked for help previously, I had been using tile entities, but the community reacted like I had personally kicked their childhood puppy, so I switched to using WorldSavedData. The reason I use nested maps is to help with networking, since it was the first way I thought of to reduce the size of the update packets, but I will take a look into merging them into a single map. As far as storing integers, I thought that it would reduce the RAM required, since this is being designed for a relatively large modpack, as well as that you can use CraftTweaker to add extra materials later on if needed.
  10. There also seems to be a related issue, Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient, at https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/ModBlocks.java#L33. Is this going to be fixed by switching to registry events as well?
  11. Are there any good guides/tutorials/examples for registry events?
  12. I have been working on a mod for the past month or two, and it has been running just fine in single player. However, I attempted to put it on a server for some group testing and I got the following error log: https://pastebin.com/gDeaDKd2 However, this is the line that the error is supposedly at: https://github.com/16ColorGames/SuperTechTweaks/blob/master/src/main/java/com/sixteencolorgames/supertechtweaks/proxy/CommonProxy.java#L75 and not only is there no reference to IStateMapper there, I don't have any direct usage of it in my mod at all. What am I doing wrong here?
  13. Not sure about the event, but the AI for breaking doors can be found in the minecraft source at net.minecraft.entity.ai.EntityAIBreakDoor; It looks like it just sets the door block to be air, I don't know what the associated event is called. As far as the slime, see the setDead() method in net.minecraft.entity.monster.EntitySlime; for 1.10.2 source it is line #212
  14. I'm having a few issues with CraftTweaker and the JEI Implementation. When I use craftTweaker to add a recipe, I can craft it using my machinery just fine, but JEI does not register that I have added the new recipe. Sample add recipe action: https://github.com/16ColorGames/SuperTechProcessing/blob/master/src/main/java/com/sixteencolorgames/supertechprocessing/compat/CraftTweaker/AddExtrusion.java#L70 All craft tweaker files: https://github.com/16ColorGames/SuperTechProcessing/tree/master/src/main/java/com/sixteencolorgames/supertechprocessing/compat/CraftTweaker All JEI files: https://github.com/16ColorGames/SuperTechProcessing/tree/master/src/main/java/com/sixteencolorgames/supertechprocessing/compat/jei
×
×
  • Create New...

Important Information

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