Object NoteMechanicHelpers
-
- All Implemented Interfaces:
public class NoteMechanicHelpers
-
-
Field Summary
Fields Modifier and Type Field Description public final static NoteMechanicHelpersINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitcheckNoteBlockAbove(Location loc)final NoteBlocklegacyBlockData(Integer customVariation)We have 16 instruments with 25 notes. final NoteBlockmodernBlockData(Integer customVariation)final IntegermodernCustomVariation(NoteBlock noteBlock)final UnithandleFallingNexoBlockAbove(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)
-
-
-
-