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

Beep

Members
 View Profile  See their activity
  • Content Count

    9
  • Joined

    March 22, 2020
  • Last visited

    March 25, 2020

Community Reputation

0 Neutral

About Beep

  • Rank
    Tree Puncher
  1. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    I really appreciate your help. Honestly, I think I'm just not good enough at Java to be able to figure a lot of this out. I think the best option for me right now is to stick to making new crafting recipes, as it will get the job done for now. I'll either have to wait until I understand java better, or until someone makes a comprehensive guide for people like me
    • March 22, 2020
    • 16 replies
  2. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    I have, and so far I've got that it needs to be called in FMLClientSetupEvent in my main method, which is definitely something I needed to know but not quite what I was looking for. Also, I understand that the inputs are ContainerType<? extends M> type and ScreenManager.IScreenFactory<M, U> factory, but I don't know how to make a new ContainerType or IScreenFactory. Most questions based around that method seem to be asking things at a level I am not at. I'm still looking but I'm not understanding it so far
    • March 22, 2020
    • 16 replies
  3. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    looking at the method, I'm not quite sure how to use it, I'll be honest. I can figure out that exampleMethod(int a, Object b) needs an int and an object as an input, but I'm not sure what registerFactory(ContainerType<? extends M> type, ScreenManager.IScreenFactory<M, U> factory) requires, or how to decipher it. I'm not that knowledgeable with Java unfortunately.
    • March 22, 2020
    • 16 replies
  4. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    Okay, ScreenManager has openScreen, getScreenFactory, getFactory, and registerFactory. There's also createScreen. I'm not sure which one you are referring to, I can't quite understand what they do well enough to see which one links the container and the screen
    • March 22, 2020
    • 16 replies
  5. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    gimmi a sec to go look in ScreenManager
    • March 22, 2020
    • 16 replies
  6. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    Okay, so far this is what I have (this method is inside the class for the crafting block I am making): https://pastebin.com/gVhDNaFr The result is that nothing happens when I click on the block. Not really surprising, but I'm not sure where to go from here.
    • March 22, 2020
    • 16 replies
  7. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    Thanks! I'm looking at the method now and I'll see if I can figure it out.
    • March 22, 2020
    • 16 replies
  8. Beep

    [1.15.2] Creating crafting GUIs

    Beep replied to Beep's topic in Modder Support

    I've looked at the onBlockActivated method in the vanilla crafting table, but i'm not sure how much of it applies and what changes I need to make. So far, I've copy/pasted the onBlockActivated() method into my block's class, as well as the getContainer() method and ITextComponent field since they are both needed for onBlockActivated, and it almost recreated the vanilla crafting table but whenever I click on the block the inventory closes instantly. Progress, but not quite where I need to be. My current tasks are: -figure out how to keep the crafting GUI from closing instantly when it is opened -figure out how to create a new crafting GUI rather than the pre-existing crafting table
    • March 22, 2020
    • 16 replies
  9. Beep Beep joined the community March 22, 2020
  10. Beep

    [1.15.2] Creating crafting GUIs

    Beep posted a topic in Modder Support

    I'm trying to understand how to do custom crafting GUIs. I have a custom method for my crafting block and I can make things happen when it's activated but I can't figure out how crafting inventories work. Is there a guide somewhere that I am missing? I know that it has changed from 1.12 which used to use the openGui() method, but I'm not sure how the updated system works.
    • March 22, 2020
    • 16 replies
  • All Activity
  • Home
  • Beep
  • Theme

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