Unable to create fire

Started by dragonmatt5 on

Topic category: Help with MCreator software

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unable to create fire
Mon, 08/21/2017 - 04:12 (edited)

I have been trying for a while to find a way to create a decorative version of fire that wouldn't spread or burn players or mobs. I had hoped to also make recolored versions of it so that players could have a rainbow of fire to play with by dying the decorative flame "block" with various dyes.

I've gotten the blocks to create, I've gotten the recipies to work. I've gotten the flames to animate on the standard "block" and "cross (x)" shapes.

Unfortunately, I can not for the life of me get the program to properly load the vanilia fire json file. It doesn't load any texture or shape.

http://imgur.com/a/kBqiE

Picture above shows the default fire on the left, the animated texture "block" fire in the middle, and the "failed to load but still casts a shadow" Json model with fire particles on the right.

I use "custom" in the render type window and loaded up a copy of the fire.json from the .jar but it doesn't seem to work.

I have noticed that the texture for the fire itself is a long strip instead of a 16x16 one, and I wonder if that isn't part of the problem. I also noticed that the "block" of fire takes more than a standar block of hieght and uses two types of textures instead of the usual one.

I would love some help on the matter there.

 

I am pretty new to modding like this though, so please keep that in mind I am probably pretty dumb about more advanced things.

 

Edited by dragonmatt5 on Mon, 08/21/2017 - 04:12
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't use the fire .json
Mon, 08/21/2017 - 14:50

You can't use the fire .json of minecraft since it's divided in multiple .json files (maybe if you're able to unite them it can be done).

About creating a fire, I made it a few minutes ago with a new model created with Cubik and it works perfectly fine.

I can tell you a "tutorial" on how to do it if you want

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try creating an own model for
Mon, 08/21/2017 - 16:23

Try creating an own model for the fire that look similar to the real fire one.

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:You can't use the fire .json
Mon, 08/21/2017 - 17:59

@#1 I would appreciate that, yes. But I don't know how to make my own model or use cubik yet so I'd definetely need a bit of a crash course or some linked resource to help me there.

 

 

Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:You can't use the fire .json
Mon, 08/21/2017 - 18:30

@#1.1 I just made a video on how to make it.

If you have any question about Cubik, just ask me (cause I've speeded up that part)

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or just extend BlockFire, so
Mon, 08/21/2017 - 19:11

Or just extend BlockFire, so you can just pretty simply use the vanilla blockstate file.

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Or just extend BlockFire, so
Mon, 08/21/2017 - 19:22

@#3 How do I extend BlockFire?

 

And would that let me use the vanilia texturing method of the single strip of long fire animation panes, or would I still need to add each individual one like I do for the standard blocks in mcreator?

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
class BlockXYZ extends
Mon, 08/21/2017 - 19:44

class BlockXYZ extends BlockFire
It could use just the vanilla assets (or if player will use some resource pack, it will use assets of the resource pack)

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:class BlockXYZ extends
Mon, 08/21/2017 - 20:14

@#4 I tried changing that out in the code by the recomplier said there was an issue

Again, I am sorry for being dumb, I am not well versed in this yet and I probably picked an annoying thing to start with.

http://imgur.com/a/7j4OZ

That is where and what I was suppose to change, yes?

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove the super call
Mon, 08/21/2017 - 20:23

Remove the super call

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Remove the super call
Mon, 08/21/2017 - 20:39

@#5 I did and it returned the same error. Though I may not have done it right. As I said, I am pretty new to this

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And what exactly is the error
Mon, 08/21/2017 - 20:40

And what exactly is the error?

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:You can't use the fire .json
Mon, 08/21/2017 - 21:59

@#1.1.1 Thank you so much for that. It doesn't look quite right but that was a big help none the less. It also showed me a shortcut to making the anuimations as I could just drag and drop a copy of the minecraft animation and png and it would would exactly the same as dragging cell by cell. Since I stretched the planes themselves taller, the effect stretched the fire animation pngs like it does in game.

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For whatever reason, you have
Mon, 08/21/2017 - 22:18

For whatever reason, you have written blockfire , but has to be BlockFire. However on the first image before you had it right.