Get number of slices on a cake

Started by FerretWithACatHatYT on Thu, 05/20/2021 - 19:50

Topic category: Help with modding (Java Edition)

Last seen on 20:05, 23. Jul 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Get number of slices on a cake
Thu, 05/20/2021 - 19:50

How do i get the number of slices / bites off of a cake? Im making a cake slice mod and would like this info

Last seen on 23:08, 26. Jul 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Cakes have a block nbt tag…
Fri, 05/21/2021 - 00:04

Cakes have a block nbt tag named "bites" ranging from values 0 - 6 (inclusive), which calculates the number of bits that have been taken from the cake. Use the procedure block "Get nbt number tag from block" with the input of "bites" to get this value.