Everything posted by drok0920
-
Specialty/Complex Recipes?
Ok thank you
-
Specialty/Complex Recipes?
Is there a vanilla example of how to use this as i am somewhat confused.
-
Specialty/Complex Recipes?
And how would i register it?
-
Specialty/Complex Recipes?
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.
-
No config button for my mod?
Oh ok thank you for the help. Everything works now
-
No config button for my mod?
Ok i am new to github so i hope i did this right https://github.com/drok0920/poverhaul
-
No config button for my mod?
I am using forge for 1.12 so it should auto generate the gui but it isnt, why?
-
No config button for my mod?
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.
-
Get Fastest Tool Type for block?
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.
-
Set Harvest Level of Vanilla Block
Yes thank you that works perfectly
-
Set Harvest Level of Vanilla Block
One last thing, how can i remove all drops from the block during the harvest event.
-
Set Harvest Level of Vanilla Block
Ok thank you.
-
Set Harvest Level of Vanilla Block
What about for materials that dont require a tool like wood.
-
Set Harvest Level of Vanilla Block
Fair enough i didnt really think about that. So can you explain to me where to put the events i need to use?
-
Set Harvest Level of Vanilla Block
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.
-
Set Harvest Level of Vanilla Block
I find them to generally be messy in my experiences with them but i did say that i use them when i must.
-
Set Harvest Level of Vanilla Block
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?
-
Set Harvest Level of Vanilla Block
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.
-
Set Harvest Level of Vanilla Block
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.
-
Ore Dictionary Help
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?
-
Ore Dictionary Help
Ok then one more question. How can i get an item stack from a block to use in your method.
-
Ore Dictionary Help
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.
-
Item texture not loading
Ok then can you give me an example of what the parameters should be because i only know how to use that for variants.
-
Item texture not loading
Wait dont i only need to use ModelLoader if i plan on using variants rather lthan overrides? Unless im misunderstanding something.
-
Item texture not loading
Ok then what ddo i need to do to register them. EDIT: Ah ok thank you Animefan8888
IPS spam blocked by CleanTalk.