Jump to content

[SOLVED] How do I make a block that doesn't burn in lava like ancient debris [1.19.4]


Recommended Posts

Posted

Please try to do your own research. This forum is for helping people with real problems.

It is not intended for lazy people to misuse others as a human search engine.

 

Anyway:

Look at the Item.Properties for ANCIENT_DEBRIS in the vanilla Items class

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

Sorry, not trying to be lazy. I spent a long time trying to figure out how to do this but I couldn't find anything so I figured I'd ask. I'm still quite new to modding so I'm trying my best with what little knowledge I have. Anyways thanks for the advice and I'll look more before asking from now on!

Posted

So I know how to make an item fire resistant and I know how to make a block fire resistant but the problem I'm having is with the fact that the block I'm trying to make fire resistant is a custom block with it's own mod class. I tried implementing Item to the mod class to avail and I tried adding the fire resistance property to the block through my mod blocks class and that didn't work either. I don't want to seem lazy but I've tried everything I can think of so any help at all would be greatly appreciated. Thanks in advance!

Posted

You use the BlockItem class for blocks. It is the item (wrapped in an ItemEntity/Stack) that gets thrown into lava and needs to be fire resitant

https://forge.gemwire.uk/wiki/Making_Blocks#Registering_a_Block

 

Typically, if it isn't obvious what problem you are describing, people will likely just ignore your question and move onto to some other post that is actually answerable.

So the best way to ask for help is to show what you have tried (putting all your relevant code on github) and describe which part doesn't work as you expect.

We can't debug an English description of your code.

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Brandonk18721797 changed the title to [SOLVED] How do I make a block that doesn't burn in lava like ancient debris [1.19.4]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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