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

BeardlessBrady

Members
  • Posts

    393
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Canada
  • Personal Text
    Computer Science Student, Modder N00b.

Recent Profile Visitors

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

BeardlessBrady's Achievements

Diamond Finder

Diamond Finder (5/8)

0

Reputation

  1. I figured it out. Apparently you dont need to do all that anymore to make part of your block transparent.
  2. I am trying to render a model in layers. In 1.12 one had to override the #canRenderInLayer method and use forge multi-layer json format, I am unsure how it works in 1.16.5
  3. I am sending a packet from client to server to update data but when another client opens the GUI the data has not been updated. Packet to Server: https://github.com/Beardlessbrady/Currency-Mod/blob/master-1.16/src/main/java/com/beardlessbrady/gocurrency/network/MessageSetPrice.java Sending Packet: https://github.com/Beardlessbrady/Currency-Mod/blob/master-1.16/src/main/java/com/beardlessbrady/gocurrency/blocks/vending/VendingContainerScreen.java#L296 Should I be sending a packet to the client when it opens the GUI, if so how do I determine the information has changed and they need an update?
  4. Oh I see, I wasn't sure what you meant by that, thank you that has made it work!
  5. Yes. Ill attach the files here incase I did something wrong Build.Gradle: https://github.com/Beardlessbrady/Currency-Mod/blob/44372f478306780136a2e572064419841a89c40e/build.gradle#L24 AccessTransfomer: https://github.com/Beardlessbrady/Currency-Mod/blob/44372f478306780136a2e572064419841a89c40e/src/main/resources/META-INF/accesstransformer.cfg
  6. I have added the file yet Intellij will not allow me to build as it still thinks the variable is final.
  7. In previous versions one could change the x and y positions, these positions seem to be final now and can't be changed. Any idea how to change them?
  8. I am trying to send a network packet from Server to Client on GUI open. For some reason when I attempt this, on the client side it states "Unknown custom packet identifier: gocurrency:main_channel " which means it is not registered correctly on the client side but I am fairly positive I registered it correctly. Any ideas? Where packet is being sent from server: https://github.com/Beardlessbrady/Currency-Mod/blob/8c4274c8ae99f4435113f4339194c061a90ecbca/src/main/java/com/beardlessbrady/gocurrency/blocks/vending/VendingBlock.java#L55-L62 Packet Registration: https://github.com/Beardlessbrady/Currency-Mod/blob/8c4274c8ae99f4435113f4339194c061a90ecbca/src/main/java/com/beardlessbrady/gocurrency/network/NetworkHandler.java#L30 Message: https://github.com/Beardlessbrady/Currency-Mod/blob/8c4274c8ae99f4435113f4339194c061a90ecbca/src/main/java/com/beardlessbrady/gocurrency/network/MessageVendingStackSizeToClient.java
  9. It does work, I forgot to push and pop the matrixStack. Thanks!
  10. I can't get it to work. For some reason One is appearing infront, the rest aren't. Code: https://github.com/Beardlessbrady/Currency-Mod/blob/d1bf4d63f8a2292f44aa759e233f832bfed52f2e/src/main/java/com/beardlessbrady/gocurrency/blocks/vending/VendingContainerScreen.java#L141 Screenshot example:
  11. I am wondering if it is possible to draw text infront of itemstacks. I can draw textures but for some reason text always appears behind itemstacks. Is this normal, if not I am probably doing something wrong.
  12. Hello, I am wondering if it is possible to hide all itemstack count rendering in your customized GUI
×
×
  • Create New...

Important Information

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