Help for changing the texture of a block with geckolib

Started by Spleet2.0 on

Topic category: Help with modding (Java Edition)

Last seen on 21:38, 22. Apr 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help for changing the texture of a block with geckolib

Hello,

 

 I would simply like to be able to change the texture of a geckolib block in-game. However, I looked in the added procedure blocks and there is one only for entities.

Last seen on 18:01, 13. Jun 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The way you'd do it is to…
Wed, 11/29/2023 - 18:39

The way you'd do it is to just have the entity despawn if the block at x/y/z is no longer the work station; and, otherwise, read the NBT data of the block at x/y/z. Since it should never move, it will always be positioned at the station unless the block itself is broken.