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

Elrol_Arrowsend

Members
  • Content Count

    182
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Elrol_Arrowsend

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

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

  1. Not sure exactly why, but in my config I have a list of strings. When I change the config, and reload the config, some settings work properly (things like booleans, and integers) but the list of strings get reverted back to default. I feel like it has to deal with them being ForgeConfigSpec.ConfigValue<List<String>> I can provide more code relating to it, but would prefer to not upload it all. Any help is appreciated and welcomed FeatureConfig.java @Mod.EventBusSubscriber public class FeatureConfig { public static ForgeConfigSpec.ConfigValue<
  2. i am aware that 1.12.2 is no longer supported, and I know that people are going to say 'update'. This is for a project for a mod that is 1.12 and hasnt updated as of yet, when they do, I will update. I am trying to use a few forge methods and I am getting very odd happenings. For example. I am trying to get the registry name of items and put them to a string. The issue is that when I use "Items.WOODEN_SHOVEL.getRegistryName()" it is returning something called "nf" and not the ResourceLocation like it should be. I have a similar issue with using the player from a break block even
  3. Well, I was already told to not do this, but what I was doing, was checking if there is any items registered to a certain tag, and if so try and get the first one so I can use it in my code to enable/disable item and recipe registration, but I am now just registering the item and I need to disable the recipes if the item doesnt exist, which is my next goal. I am not too sure how to use the conditions in the recipes to check for a mod or item
  4. I am attempting to get an Item from a tag (like 'Ingots/copper') to have my mod offer support for mods, but I am having an issue with my method returning null, so I assume that I have something wrong, or I am going about it the wrong way. public static Item getOreDict(String oreDic) { ResourceLocation tag = new ResourceLocation("forge", oreDic); Tag<Item> t = ItemTags.getCollection().get(tag); if(t == null) { Main.LOGGER.error(tag.toString()); return null; } Collection<Item> tagCollection = t.getAllElements(); for(Item item : tagCollection) { Main.LOG
  5. Basically what I am wanting to do is to change how minecraft/other mods check for permissions. The reason I want to do this is to be able to control which commands players can use without changing them to an operator. For my own mod, this is easy, but I am not sure how to do so with others, If you have any suggestions or questions please let me know.
  6. Not at all, never a good thing to edit vanilla, these are all running from the execution of my commands.
  7. Thats why I was worried, im using forge, and that only happens when i called my teleport method from inside a runnable that i had set on a delay. But it seems to be working now, I just wish i knew why. On top of that it normally just times the client out and kills the server because a single tick took over a min. so idk
  8. Going to be honest, I am not sure what the difference is. The code was being called in a runnable, and I managed to work around this and have the location and uuid stored and then just having another method check the stored location and teleport the player there.
  9. I am getting an error when trying to teport players to different dimensions java.lang.ArrayIndexOutOfBoundsException: 110 at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.rehash(LongLinkedOpenHashSet.java:1083) ~[fastutil-8.2.1.jar:?] {} at net.minecraft.world.lighting.LevelBasedGraph$1.rehash(LevelBasedGraph.java:26) ~[forge-1.14.4-28.1.62_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading} at it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet.add(LongLinkedOpenHashSet.java:368) ~[fastutil-8.2.1.jar:?] {} at net.minecraft.world.lighting.LevelBasedGraph.addToUpdate(L
  10. So, it was brought to my attention that the way that I am teleporting the player using commands seems to cause some rather bad happenings on the server. When I first tried it, after they found the issue, I tried to teleport from the overworld to the end. When I did it had me suspended in what looked like the end, but nothing was loaded, no blocks could be seen, I couldn't move, nothing. Eventually my client disconnected, and then when I tried to log back in the server crashed saying that the server took a 60 seconds for a single tick. The way that I am attempting to teleport the p
  11. I have not tested that quite yet, I will do so in a bit and see what happens.
  12. Wouldn't it be relating to the client not having a mod that the server does? When I was looking around this error had been around for some time. I was thinking that it was refering to the default config for my mod having integers in the config with a min of 0. But if there is no way to fix it, and it doesn't seem to cause any issues other then on the log, should i worry about it at all?
  13. I am currently getting an issue for my mod, not a large issue, just some errors thrown into the log. From what I can tell, it is because the mod is not present on the client and it is trying to send/sync the config up with the client. And since the client doesnt have the config null is less then 0. My goal is to make a server side mod, that can be used on the client, but not required. The error is short so I will just put one of the segments here [14:01:31] [Client thread/FATAL]: Error executing task on Client java.lang.IllegalArgumentException: Default value cannot be low
  14. I am not sure what the issue could be, I know the file works, because I use that in a resource pack and its fine, the file is named properly, but still when I use the mod it doesnt work. What could be the issue? -Edit- Just found out that somehow it was missing a bracket. Not sure how i missed that.
  15. Alright, many thanks. I will see if that will work for what I am trying to do.
×
×
  • Create New...

Important Information

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