Custom Connected block models

Started by Kyoukster on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Mar 2019
Points:
812

User statistics:

  • Modifications: 4
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 136
Custom Connected block models

i want to make a ''wire'' and i need to make a block with a custom model that act like a fence/pane

how i can do that?

 

in act like a fence i say that if the same block is near it will gonna connect

 

(sorry for bad english)

Active 1 year ago
Joined May 2020
Points:
658

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 57
Create a procedure on block…
Fri, 06/12/2020 - 00:23

Create a procedure on block placed and verify the surrounding blocks, do chance the block you put to the same block in another state, like connected vertically or horizntaly

Active 1 year ago
Joined May 2020
Points:
658

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 57
Hell of phone, sorry the…
Fri, 06/12/2020 - 00:30

Hell of phone, sorry the comment was not finished
Create a procedure on block tick and verify the surrounding blocks, do change the block you placed to the same block in another state, like connected vertically or horizontaly (north-south, west-east and all other combinations), for that you will have to create a block model and texture for each possibility and code every possibility inside this procedure, not that dificult if your wire is two way only, if you want multi connection it will complex a lot, but it is the same principle, you have to verify inside each previous verification if there is another wire around it

Active 15 hours ago
Joined Aug 2017
Points:
939

User statistics:

  • Modifications: 1
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 163
I just made it that specific…
Fri, 06/12/2020 - 00:56

I just made it that specific parts have to be placed to make intersections and the wires are one direction.

Active 1 month ago
Joined Mar 2019
Points:
812

User statistics:

  • Modifications: 4
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 136
exactly that was the thing i…
Fri, 06/12/2020 - 05:34

exactly that was the thing i try to evade

Active 1 month ago
Joined Mar 2019
Points:
812

User statistics:

  • Modifications: 4
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 136
but if there ins't another…
Fri, 06/12/2020 - 05:35

but if there ins't another solution