Jump to content

drok0920

Forge Modder
  • Posts

    443
  • Joined

  • Last visited

Everything posted by drok0920

  1. Ok thank you
  2. Is there a vanilla example of how to use this as i am somewhat confused.
  3. And how would i register it?
  4. Hello, How would i create a more complex recipe than json recipes will allow. For example i have an item that can take damage and i want to change the damage and nbt of the output item of the recipe based on the damage of the ingredient item. So if the item used in the recipe has taken 5 damage i'd like the out put to have already taken 10 damage. i hope this made sense . Thanks for any help.
  5. Oh ok thank you for the help. Everything works now
  6. Ok i am new to github so i hope i did this right https://github.com/drok0920/poverhaul
  7. I am using forge for 1.12 so it should auto generate the gui but it isnt, why?
  8. Hello, I have recently made a Config class using @Config It generates and uses the config file just fine but i cant use the gui to edit it as there is no config button for my mod. It's not just grayed out it isn't there at all. Why is this happening and how can i fix it. EDIT: I have corrected the modid in the mcmod.info file and now the config mod exists but is grayed out. I have heard mixed answers on whether or not the gui is auto generated for the config. Does it generate it or do i have to use gui factory.
  9. Hello, I guess this is a strange question but is there a way that i can get the tool type that will mine a block the fastest. I know how to get the required tool type but what i need is the tool type that is faster. For example you can break wood planks with any tool but you break it faster with an axe.
  10. Yes thank you that works perfectly
  11. One last thing, how can i remove all drops from the block during the harvest event.
  12. Ok thank you.
  13. What about for materials that dont require a tool like wood.
  14. Fair enough i didnt really think about that. So can you explain to me where to put the events i need to use?
  15. I find that for things like what im trying to achieve here i'd rather be able to change a value in the block class than check multiple values in an event and respond accordingly.
  16. I find them to generally be messy in my experiences with them but i did say that i use them when i must.
  17. Well i'd like to avoid using events because i personally dislike them but i will use them if it's the only way to achieve this. @Draco18sThe methods used to set whether or not ir requires a tool are protected so i cannot change them. Are events the only way to do what i'd like to do?
  18. I have tried using Blocks.LOG.setHarvestLevel("axe", 0); But i can still harvest it with my fist. I can even harvest it with wood axe when i change the level to 2. Am i doing something wrong or is it not possible to change vanilla block properties.
  19. Hello, I believe i know how to change the harvest level of a vanilla block but what i was wondering was how to prevent it from being broken with your fist. Thanks for any help.
  20. I have tried to implement what you have suggested but im not sure what to pass in as the target. Should i just raycast from the player to the BlockPos?
  21. Ok then one more question. How can i get an item stack from a block to use in your method.
  22. Hello, I have a quick question about or dictionary how do you get the ore dictionary name of a block/item. For example if i input Items.IRON_INGOT i will get a string "ingotIron". I hope this makes sense. In need this functionality because i have an item that needs to test what block it is rightclicked on and i would like to to be cross compatible with other mods. Thank you in advance for any solutions to my question.
  23. Ok then can you give me an example of what the parameters should be because i only know how to use that for variants.
  24. Wait dont i only need to use ModelLoader if i plan on using variants rather lthan overrides? Unless im misunderstanding something.
  25. Ok then what ddo i need to do to register them. EDIT: Ah ok thank you Animefan8888
×
×
  • Create New...

Important Information

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