Trying to make an automatic chicken feeder

Started by IssacWild on

Topic category: Help with MCreator software

Last seen on 13:15, 4. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to make an automatic chicken feeder

i got as far as making it use 1 wheat seed from its inventory when a chicken touches it but im not sure how to make it trigger the chickens breedable state.
Please know im not a coder i only have a really basic understanding of how code works so if its something obvious and i just missed it please go easy on me.

any help is appreciated please and ty

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please know im not a coder i…
Sun, 06/14/2020 - 18:04

Please know im not a coder i only have a really basic understanding of how code works

I can't tell if that means you want to code or not?

 

how to make it trigger the chickens breedable state

For creating the entity you can use;

AgeableEntity::createChild

Since you don't have much experience, this is an example if you have an instance;

		((AgeableEntity) entityIn).createChild((AgeableEntity) entityIn);

 

OPTIONAL:

You can check the entities age using;

AgeableEntity::getGrowingAge

Since you don't have much experience, this is an example if you have an instance;

		((AgeableEntity) entityIn).getGrowingAge()

 

Last seen on 13:15, 4. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ty much also dumb question …
Fri, 06/19/2020 - 10:05

ty much
also dumb question #2 but what code language do i need to read up on for this(so im not asking billions of dumb questions)

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Java lol. I don't believe…
Fri, 06/19/2020 - 15:17

Java lol. I don't believe this is possible in Mcreator, so if you want to do this you are going to have to code. If you get an error, though, post it and I will get back to you 🤗