Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • xanderindalzone

xanderindalzone

Members
 View Profile  See their activity
  • Content Count

    81
  • Joined

    June 12, 2020
  • Last visited

    August 15, 2020

Community Reputation

1 Neutral

About xanderindalzone

  • Rank
    Stone Miner

Recent Profile Visitors

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

  1. xanderindalzone

    [1.15.2] Player gets stuck when left clicking grass with Gun Item

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    I tested onItemUse method, but its only calling when I'm NOT aiming(holding left) with the Gun Item targeting a block. In Adventure mode the Gun is behaving as I want to, because mining is disabled.... could I do that in survival when the player hold the Gun Item?
    • August 14, 2020
    • 6 replies
  2. xanderindalzone

    [1.15.2] Player gets stuck when left clicking grass with Gun Item

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    I've checked and swords behave exactly as my Gun right know, the only issue now is that it doesnt shoot(onItemRightClick method) when I hold left click in survival with a Gun pointing to any block in range for mining
    • August 13, 2020
    • 6 replies
  3. xanderindalzone

    [1.15.2] Player gets stuck when left clicking grass with Gun Item

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    I fixed the bug by overriding this method in the Gun's class and removing the others that prevented mining: but now it doesnt call onItemRightClick(shoot) when the player is aiming(holding left click) while looking to a non-solid block(glass, flower, etc). And by the way, is there a way to also set destroy speed to 0 on creative while holding the item? because if I remove the left click interaction on creative it still lags the player movement while aiming and looking to any block.
    • August 13, 2020
    • 6 replies
  4. xanderindalzone started following [1.15.2] Fix order in world when re-sorting item registries, [1.15.2] Player gets stuck when left clicking grass with Gun Item and [1.15.2] Mod crashing server on load. Failed to register automatic subscribers. August 12, 2020
  5. xanderindalzone

    [1.15.2] Player gets stuck when left clicking grass with Gun Item

    xanderindalzone posted a topic in Modder Support

    Hi, I have a weird issue, I dont know why but when I hold left click with a Gun Item(to aim) in the main hand, looking at grass, flowers, or torches, the player gets stuck and cant move until I stop holding left click or stop looking at the grass, flower, torch, etc,.... How could I fix this? I think i've checked all the methods from the Gun class and all the events that relate to this issue, but none is making this happen. PD: in creative mode it has a different, it just causes the player movement to lag, and its triggered by holding left click with any block. Here's the repo: Gun class Footage:
    • August 12, 2020
    • 6 replies
  6. xanderindalzone

    [1.15.2] Mod crashing server on load. Failed to register automatic subscribers.

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    here, this event handler should be client only, right?
    • August 10, 2020
    • 5 replies
  7. xanderindalzone

    [1.15.2] Mod crashing server on load. Failed to register automatic subscribers.

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    wait, i think i know why its crashing, ITooltipFlag is an only client class ๐Ÿคฆโ€โ™‚๏ธ
    • August 10, 2020
    • 5 replies
  8. xanderindalzone

    [1.15.2] Mod crashing server on load. Failed to register automatic subscribers.

    xanderindalzone posted a topic in Modder Support

    This was probably going to happen on first attempt, but when I run my mod 1.0 on my local server, its crashing and I dont know exactly why. Here's the repo and latest.log:
    • August 10, 2020
    • 5 replies
  9. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    soooo, is it ok if I declare all the items and then, initializing them in Common first, and then calling the sorted list initializing the list? But, is fill() method from ItemGroup called after Common?
    • August 8, 2020
    • 16 replies
  10. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    are you saying this because "Array.asList();" may run before the items are initialized?
    • August 8, 2020
    • 16 replies
  11. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    Still a static initializer. ohhh you mean this method? if it isnt, please, tell me where's the "static" issue because thats the only static I see ๐Ÿ˜…
    • August 8, 2020
    • 16 replies
  12. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    is this ok now? I'm using the first List I had, List<Item>, because you said the issue was in the "static" initializing thing. I'm creating a new SortedItemList object in CommonSetup so I can get the predifined List for the Comparator, then I use the Mod Class instance field to access that mod object's Comparator field. its still working as expected ingame at least ๐Ÿ˜… Overriden method in the ItemGroup class:
    • August 7, 2020
    • 16 replies
  13. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    Can I return the list from a static method instead, like this? this static variable is in the Mod's class if its not posible, how do I deal with this error changing the List<Item> to List<RegistryObject>? like you said here
    • August 7, 2020
    • 16 replies
  14. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    thx for the guide... and thx for the update... its working For anyone interesed on the end result, here it is: 1.I made a class to store the static comparator with a static list with all the items in the order I want 2. I overriden the fill() method in the CustomTab class that I wanted to sort, sorting the item list after calling super:
    • August 7, 2020
    • 16 replies
  15. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone replied to xanderindalzone's topic in Modder Support

    what is the equivalent in 1.15.2 to the method "displayAllRelevantItems" from ItemGroup?
    • August 7, 2020
    • 16 replies
  16. xanderindalzone

    [1.15.2] Fix order in world when re-sorting item registries

    xanderindalzone posted a topic in Modder Support

    Hi, I was wondering, is there a way to fix/update the order of mod items in the world, without having to create a new world? Because everytime I add a new item and I re-sort the item order when they register, the world doesnt follow the current order in code.
    • August 7, 2020
    • 16 replies
  • All Activity
  • Home
  • xanderindalzone
  • Theme

Copyright ยฉ 2019 ForgeDevelopment LLC ยท Ads by Longitude Ads LLC Powered by Invision Community