How to create energy and machine?

Started by Matwert on Thu, 07/02/2015 - 01:06
Last seen on 04:48, 8. Jul 2015
Joined Jan 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to create energy and machine?
Thu, 07/02/2015 - 01:06

hello,I wonder how to create energy to do my mod, because I want to create a mod style IC² or thermal expansion but it does not know how to create energy and use it on machines

Last seen on 19:56, 21. Jun 2018
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i might be able to help give
Thu, 07/02/2015 - 01:45

i might be able to help give me time

Last seen on 02:32, 17. Jun 2018
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Code
Sun, 10/02/2016 - 05:17

The only way I can think of is to create a texture on Techne and then code. Try taking online coding classes. https://www.codeschool.com

Last seen on 03:50, 12. Aug 2018
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Texture? Coding? Online
Sun, 10/02/2016 - 15:09

Texture? Coding? Online coding classes?Wat? o.O What does that have to do with his question? This is mCreator not eclipse lol

Try creating custom variables that your "machine blocks" are dependent on.

For example:

You have an "engine" block. You fuel it with wood blocks. This requires a block with a couple events: One event to remove the item from players hand on right click, and another event to update your "engine" block from "on" to "off" (You'll have to make a copy of your engine block element in an "on" state, and multiple variants of the "on" state if your "energy" has levels of strength (engine on power level 1, engine on power level 2, etc) So now, when you click on your "engine off" block, it consumes the wood and replaces itself with an "engine on" block. Repeat this process for each tier of energy you want.

Give your activated engine block an "update tick" event so that it replaces it with a lesser tier engine block after a certain ammount of time (after 30 seconds or whatever you wish, engine on level 3 replaces itself with engine on level 2, and so on until it gets back to "engine off")

You know have a wood powered "engine" that you can use as a variable/condition for the events/function of other blocks/"machines"

 

 

Last seen on 02:32, 17. Jun 2018
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Texture? Coding? Online
Tue, 03/14/2017 - 18:01

@#3 Yes this is mcreator. But coding is implemented into the system and well available for items and modeling.

 

Last seen on 08:31, 19. Jun 2018
Joined Apr 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You'd need a new variable…
Sun, 04/15/2018 - 08:25

You'd need a new variable for each machine that is created to hold the information of how long the machine should continue running. If you do it the other way, you'd only be able to make a single, semi-automatic machine. Not gonna cut it. If there is a way to create new variables that can be updated all while the client is running using only the event system in MCreator, it's got to be way more confusing than just learning some basic Java.