Jump to content

Recommended Posts

Posted

To let you understand what I meant: http://prntscr.com/7yvc7j

I know I coded these blocks as well full cubed blocks and thus you can see through it.

What i dont know is how to fix it..Maybe if i make them slabs figures?.

And how do I make for the campfire fire effect

 

Plus when I destroy the cotton plant I did an item drop of a cotton,But one problem it returns the block aswell,People can just farm it by spawning and destroying.

How can I make it so you WONT recieve the block once you destroy it?

Posted

Block has client side method #randomDisplayTick.

 

You can use it to spawn fire particles.

For examples look into vanilla furnace (when it's burning).

1.7.10 is no longer supported by forge, you are on your own.

Posted

I want to make it like a furnace if you put fuel inside it wil generate body heat aswell as light and you can cook on it

 

I know its a lot requests but i know its more then possible and I am willing to sit on my ass all day!

Posted

I want to make it like a furnace if you put fuel inside it wil generate body heat aswell as light and you can cook on it

 

I know its a lot requests but i know its more then possible and I am willing to sit on my ass all day!

 

Like diesieben would write:

"That's cool!"

 

You gave no real question and no real problem to solve.

 

"I want" and "Someone help" won't tell us what is the problem.

I alredy told you to look as vanilla's BlockFurnace. It is REALLY simple task.

 

SHow what you tried.

1.7.10 is no longer supported by forge, you are on your own.

Posted

When I said I want I meant I do want it but I dont know how to do it.

I already tried doing it by extending BlockFurnace,but one problem we'll I wanted to do custom slots inside the campfire and I dont know how, plus for some reason after I launched the game successfuly for some reason it did act fully as a furnace it even said "furnace" but for some reason the campfire lost its texture

Posted

Bro, learn Java, you probably heard that at least once now. (and please, don't give me that stuff about "you are here to help, not tell me that I don't know Java", I am helping you).

 

You don't need to extend anything. You just make your own block, apply your model to it (campfire), and then, in YOUR block class you Override #randomDisplayTick and perform particle-spawning.

 

You have literally ready-to-use code in BlockFurnace, only thing is that the furnace spawns flames on Front face of furnace block and you want to do it in center of block. It's like, literally, 5min to make.

1.7.10 is no longer supported by forge, you are on your own.

Posted

That is because you are extending BlockFurnace. Don't do that. You are also copying all the code from BlockFurnace and overriding it in your campfire block class. Don't do that. What you need to be doing is creating your own block class and code your own custom furnace from the ground up - there has to be work done if you want something done correctly and efficiently.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

Posted

First off texture gone Purple and black, second when i feed it fuel and an item it turns into a furnace and in the code itself I dont see a reason.

 

Let's see your Client Proxy.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

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.