Jump to content

[Solved] [1.12] Torches with colors


Socratic_Phoenix

Recommended Posts

Edit: This has been resolved. The problem had something to do with texture variables, but it's working now...

 

So I have a block, and it's color depends on a tile entity, etc. The block works fine, but I want to do the same thing, but with a torch. What I'm doing with the block is:

  • using a model to specify an overlay
  • using BlockColors to set the color
  • setting the block to CUTOUT

 

However, I don't fully understand the torch block state / model, so I'm not exactly sure how do do it with a torch. I've tried copying JSONs from minecraft, and adding overlay portions, but that fails to work... Can anyone help me get a working overlay torch model thingy?

 

At the moment, all torches display like this:2017-07-28_22_16_15.png.ac619cb561639ba51b954e3cc93205b1.png

And no, there are no texture errors in the log or console...

 

Relevant files:

 

Thanks for any help provided!

Edited by Socratic_Phoenix

Developer of Randores (adds 256^3 ores to the game) and Arcane Bags (adds ridiculous storage with ridiculous crafting recipes).

I know Java pretty well... So yeah...

Quote

This is where I'd put an inspirational and/or clever quote, but I can't think of one right now...

This is the output of the totally, 100% working compiler for my programming language, Planet9:

Beginning Compilation...
Failed compilation!
planet9.compiler.error.CompilationException: Compiler not yet implemented
	at planet9.compiler.Compiler.compile(Compiler.java:39)
	at planet9.compiler.app.CompilerApp.main(CompilerApp.java:147)

 

Link to comment
Share on other sites

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.