Object NoteMechanicHelpers
-
- All Implemented Interfaces:
public class NoteMechanicHelpers
-
-
Field Summary
Fields Modifier and Type Field Description public final static NoteMechanicHelpers
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit
checkNoteBlockAbove(Location loc)
final NoteBlock
legacyBlockData(Integer customVariation)
We have 16 instruments with 25 notes. final NoteBlock
modernBlockData(Integer customVariation)
final Integer
modernCustomVariation(NoteBlock noteBlock)
final Unit
handleFallingNexoBlockAbove(Block block)
-
-
Method Detail
-
checkNoteBlockAbove
final static Unit checkNoteBlockAbove(Location loc)
-
legacyBlockData
final NoteBlock legacyBlockData(Integer customVariation)
We have 16 instruments with 25 notes. All of those blocks can be powered. That's: 16252 = 800 variations. The first 25 variations of PIANO (not powered) will be reserved for the vanilla behavior. We still have 800-25 = 775 variations
-
modernBlockData
final NoteBlock modernBlockData(Integer customVariation)
-
modernCustomVariation
final Integer modernCustomVariation(NoteBlock noteBlock)
-
handleFallingNexoBlockAbove
final Unit handleFallingNexoBlockAbove(Block block)
-
-
-
-