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
  • hijackster99

hijackster99

Members
 View Profile  See their activity
  • Content Count

    8
  • Joined

    December 17, 2019
  • Last visited

    January 27

Community Reputation

0 Neutral

About hijackster99

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. hijackster99

    Adding Fluids

    hijackster99 posted a topic in Modder Support

    I am attempting to make a fluid for my mod in 1.16.4, but I cannot find any help online for how this is done. I have tried looking at how other mods do it and so far I have a Fluid class, a Fluid Block class, and a Bucket class. So far my fluid seems to exist in some capacity, but the bucket doesn't work, and when I try setblock, it does not work with the fluid block, but it does work with the still version of the fluid, except the fluid state still shows as empty, it just now has the falling boolean property. At this point I am pretty much stuck. I assume I am missing something (probably obvious), but I can't figure out what it is. Fluid class: https://github.com/hijackster99/Ancient-Relics-1.16/blob/master/src/main/java/com/hijackster99/ancientrelics/blocks/VoidGas.java Fluid Block class: https://github.com/hijackster99/Ancient-Relics-1.16/blob/master/src/main/java/com/hijackster99/ancientrelics/blocks/VoidGasBlock.java Bucket class: https://github.com/hijackster99/Ancient-Relics-1.16/blob/master/src/main/java/com/hijackster99/ancientrelics/items/VoidGasBucket.java Main class with registries: https://github.com/hijackster99/Ancient-Relics-1.16/blob/master/src/main/java/com/hijackster99/ancientrelics/core/ARBase.java
    • January 20
  2. hijackster99

    I need to send a packet after nbt is read and don't know how

    hijackster99 replied to hijackster99's topic in Modder Support

    Ok. SO i have it working. I used the getUpdateTag and handleUpdateTag methods to sync when the block is initially loaded, but I found that I still needed to use the packet handler for when the slot contents changed as it did not seem that I was able to call the getUpdateTag method manually and have it just work.
    • May 3, 2020
    • 4 replies
  3. hijackster99

    I need to send a packet after nbt is read and don't know how

    hijackster99 replied to hijackster99's topic in Modder Support

    I am not sure I 100% understand what is going on, but, I think I am supposed to send the update information in getUpdatePacket, which is recieved on client by onDataPacket, and handle updates that way. For clarity, is getUpdatePacket only called on the server then? And should I replace all of my existing packet things with this system? Thanks again.
    • May 3, 2020
    • 4 replies
  4. hijackster99

    I need to send a packet after nbt is read and don't know how

    hijackster99 posted a topic in Modder Support

    I have a tile entity with a custom render that renders the item stored in the tile entity above the tile entity. The render works great, but I have a problem when I read from nbt, the item does not render until the slot is updated. I believe this is because I only send packets when onContentsChanged is called, and in addition to that, only when the worldObj is defined. when the read nbt function is called the world is not yet defined, so I need to somehow, schedule some kind of an update for later, when the world obj is defined. I know I could do this if the tile entity ticked, but I don't really want to make the tile entity tick just for this. tile entity class: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/tileentities/TileEntityPedestal.java main class: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/core/ARBase.java TER: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/tileentities/renderer/PedestalTER.java Packet Handler: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/core/ARPacketHandler.java
    • May 3, 2020
    • 4 replies
  5. hijackster99

    Help With Containers and Slots

    hijackster99 replied to hijackster99's topic in Modder Support

    Changing the constructor to call the other constructor worked. Thank you!
    • March 18, 2020
    • 7 replies
  6. hijackster99

    Help With Containers and Slots

    hijackster99 replied to hijackster99's topic in Modder Support

    I went through and the only instance of IInventory I could find was in my addPlayerSlots which I changed to PlayerInventory, but that didn't seem to help
    • March 18, 2020
    • 7 replies
  7. hijackster99 started following Help With Containers and Slots March 18, 2020
  8. hijackster99

    Help With Containers and Slots

    hijackster99 posted a topic in Modder Support

    I am working on tile entity to store items, and so far I have it setup to open a GUI on right click, and I have code for adding a slot to the container, but it does not add the slot and I am not sure why, it looks ok to me so I am not sure what is wrong Container Class: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/blocks/containers/PedestalContainer.java TileEntity Class: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/tileentities/TileEntityPedestal.java Main Class: https://github.com/hijackster99/Ancient-Relics/blob/master/src/main/java/com/hijackster99/core/ARBase.java https://github.com/hijackster99/Ancient-Relics/ Thanks for the help!
    • March 18, 2020
    • 7 replies
  9. hijackster99

    Problem Setting Up Mod

    hijackster99 posted a topic in Modder Support

    So I have Forge setup, it will launch the game and everything, but it will not detect my mod. pack.mcmeta: https://github.com/hijackster99/Minecraft-Terraria/blob/Jack/src/main/resources/pack.mcmeta mods.toml: https://github.com/hijackster99/Minecraft-Terraria/blob/Jack/src/main/resources/META-INF/mods.toml base class: https://github.com/hijackster99/Minecraft-Terraria/blob/Jack/src/main/java/aaMod/core/AAMod.java As far as I can tell all of these files are setup correctly, so I have no idea what is going wrong here. Thank you
    • December 17, 2019
  • All Activity
  • Home
  • hijackster99
  • Theme

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