Jump to content
  • Home
  • Files
  • Docs
  • Merch
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
  • Xander402

Xander402

Members
 View Profile  See their activity
  • Content Count

    50
  • Joined

    February 16
  • Last visited

    Saturday at 02:14 PM

Community Reputation

4 Neutral

About Xander402

  • Rank
    Stone Miner

Converted

  • Gender
    Male

Recent Profile Visitors

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

  1. Xander402

    [1.14.4] Override vanilla loot tables

    Xander402 replied to athy's topic in Modder Support

    • December 1
    • 5 replies
  2. Xander402

    [1.14.4] How to add custom right click event to a vanilla item?

    Xander402 replied to Xander402's topic in Modder Support

    Yeah, right. I think this is actually a pretty common mistake.. Here is something that works: package ... import ... @Mod.EventBusSubscriber public class CropRightClickHandler { @SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true) public static void handleCropRightClick(final PlayerInteractEvent.RightClickBlock event) { ... } } Two new things. The method handleCropRightClick is now static and the event was changed from PlayerInteractEvent to PlayerInteractEvent.RightClickBlock not to get triggered unnecessarily.
    • December 1
    • 3 replies
  3. Xander402

    I have a crash but I don't understand

    Xander402 replied to Ab3l97's topic in Support & Bug Reports

    The crash report told you what to do.
    • December 1
    • 2 replies
  4. Xander402

    [1.14.4] How to add custom right click event to a vanilla item?

    Xander402 replied to Xander402's topic in Modder Support

    Alright. I found own what to do my own. My RightClickEventHandler.java: package ... import ... @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class RightClickCropStickHandler { @SubscribeEvent public void handleCropRightClick(PlayerInteractEvent event) { Mod.LOGGER.warn("PlayerInteractEvent triggered!"); ... } } But there's one little problem. The event is actually never called (PlayerInteractEvent triggered! never appears in the console).
    • December 1
    • 3 replies
  5. Xander402

    [1.14.4] Override vanilla loot tables

    Xander402 replied to athy's topic in Modder Support

    How about just adding a new loot table with pools only with your mod seeds items instead of overriding the entire grass loot table? Overriding would block others potential opportunity to make their own seeds that drop from vanilla grass.
    • December 1
    • 5 replies
  6. Xander402

    [1.14.4] How to add custom right click event to a vanilla item?

    Xander402 posted a topic in Modder Support

    I know how to use onItemUse method on a mod item. But how to add such thing to a vanilla item? I've heard about something like PlayerInteractEvent, but I don't really know know how to use it.
    • November 30
    • 3 replies
  7. Xander402

    [1.14.4] Override vanilla loot tables

    Xander402 replied to athy's topic in Modder Support

    Put your custom loot table in data.minecraft.loot_tables.blocks. Yes, you need to create the minecraft folder in your src/main/resources/data directory. It should get overridden proving the file is named the same as the vanilla loot table.
    • November 30
    • 5 replies
  8. Xander402

    Can anyonwe help me with this crash?

    Xander402 replied to MR-VLAD's topic in Support & Bug Reports

    It seems to be a problem with AppliedFluidics mod. Removing AppliedFluidics-1.12.2-2.0.3.jar from the mods folder should do the job.
    • November 30
    • 2 replies
  9. Xander402

    Server crash when pulling items with itemduct.

    Xander402 replied to Powerxd's topic in Modder Support

    There is a java.lang.NullPointerException thrown by cofh.thermaldynamics.duct.attachments.servo.ServoItem.handleItemSending. Somewhere here in your code must be an element that is either null where it shouldn't be, or something caused it to not load/initialize properly.
    • November 30
    • 5 replies
  10. Xander402

    Cannot download jna4.4.0 because file already exists (w pastebin)

    Xander402 replied to edudmas's topic in Support & Bug Reports

    Try to download that library for yourself. Open C:\Users\samte\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\jna\4.4.0\ folder, remove the jna-4.4.0.jar file if present and then put there the file from: [DOWNLOAD LINK]
    • November 29
    • 3 replies
  11. Xander402

    Launching Problem

    Xander402 replied to KuhakuORIGIN's topic in Support & Bug Reports

    Yeah, right ... I downloaded it for myself to calculate the SHA1 checksum and then I forgot that I only downloaded it, not modified. 😑
    • November 29
    • 7 replies
  12. Xander402

    [FIXED] [1.14.4] How to make item stay in the crafting grid?

    Xander402 replied to Xander402's topic in Modder Support

    Yes, I know that. 😉 I don't blame you. I've been playing around with modding, adding some basic items and blocks ever since 1.9, and I had to deal with all the changes (not only in naming), too. That's just for people who would potentially come to this post not willing to do research and expecting everything to be expounded exactly as it is.
    • November 29
    • 9 replies
  13. Xander402

    Launching Problem

    Xander402 replied to KuhakuORIGIN's topic in Support & Bug Reports

    Yeah, replace it. Nothing might happen, but this is the only idea that comes to my mind (some troubles with downloading that file via the application).
    • November 29
    • 7 replies
  14. Xander402

    Launching Problem

    Xander402 replied to KuhakuORIGIN's topic in Support & Bug Reports

    Go to the C:\Users\kuhak_000\Twitch\Minecraft\Install\libraries\net\sf\jopt-simple\jopt-simple\5.0.3\ folder and put this: [DOWNLOAD LINK] inside.
    • November 29
    • 7 replies
  15. Xander402

    [1.14.4] (What happened to itemstack NBT tags) - Problems with Capabilites + Durability Bar

    Xander402 replied to Cerandior's topic in Modder Support

    Maybe look at this? [LINK]
    • November 29
    • 32 replies
      • 1
      • Like
  • All Activity
  • Home
  • Xander402
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community