Jump to content

awesomedude3595

Members
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

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

awesomedude3595's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. yes i know but it ask for 3 parameters i only know what to enter for the first one.
  2. what is a scan code? what are the modifiers? there are both integers but other than that idk. where do i get the values for them from.
  3. I know but I dont know what that means
  4. I looked at the parameters for keyPressed and got the keyCode but i dont know what to put for the other 2.
  5. I want to detect when the player presses the arrow keys so that I can rotate a entity on my custom screen. I know how to rotate the entity but dont know how to detect when the player is pressing one of the keys.
  6. I have created a custom GUI which has custom a custom recipe. I want to have the output of the recipe change depending on what button is pressed. I have created the buttons however I cannot get them to change the recipe output. Code Here
  7. I have created a boolean that changes between true/false when you click the button, however after clicking the button you have to take an item away and put it back for the result to change. Is there a way I can have the result change without needing to do this?
  8. I have created a custom GUI which has a working custom crafting recipe. I want to have the recipe's result to change depending on what button on the GUI was pressed. It might require 2 different recipes. How would I do this? Code here.
  9. I have added a RegistryType and now the game no longer crashes when you put something in slot 2. When I put the items in it does not put anything in the result slot. Therefore I presume that my recipe is not working or loading.
  10. I have been trying to create a custom GUI that can use custom crafting recipes. The crafting part doesn't work I assume that this is because of this: public RecipeType<?> getType() { return RecipeType.SMITHING; } In the common/crafting/ModUpgradeRecipe, however you cannot create a custom RecpeType because there is no forgeRegistry for it. Also whenever I put any item in the 2nd slot the game crashes, I didn't have that issue until and added the matter_essence_converter.json recipe file. Pls help me fix these issues. Here is git repo https://github.com/Awesomedude3595/1.18.1-Handheld-Inventions
  11. now it loads the screen but it just flashes then disappears. Any idea what might cause that?
  12. wait nvm I see the duplicate menu type.
  13. What do you mean by this? Is it to do with not using enqueueWork also how do I use the enqueueWork. I have tried using it a couple of ways but it still gives the same error, this might be to do with having 2 MenuTypes if so how do I fix this?
  14. Is that not done in the client/event/ClientModEvents clientSetup? Also I made some dumb mistakes in the first post fixed them now but the error still exists.
  15. I am trying to create a custom GUI for a block in my mod. When I right click on the block I get this error "Failed to create screen for menu type: handheld_inventions:essence_conveter". Help me fix this. The git repo is here.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.