Class NoteBlockMechanicFactory
-
- All Implemented Interfaces:
public final class NoteBlockMechanicFactory extends MechanicFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNoteBlockMechanicFactory.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<String>toolTypesprivate final BooleanreimplementNoteblockFeaturesprivate final Int2ObjectOpenHashMap<NoteBlockMechanic>BLOCK_PER_VARIATIONprivate final StringmechanicIDpublic final static NoteBlockMechanicFactory.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description NoteBlockMechanicFactory(ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final List<String>getToolTypes()final BooleangetReimplementNoteblockFeatures()final Int2ObjectOpenHashMap<NoteBlockMechanic>getBLOCK_PER_VARIATION()final BlockStategenerateBlockState()NoteBlockMechanicgetMechanic(String itemID)NoteBlockMechanicgetMechanic(ItemStack itemStack)final NoteBlockMechanicgetMechanic(BlockData blockData)NoteBlockMechanicparse(ConfigurationSection section)-
-
Method Detail
-
getToolTypes
final List<String> getToolTypes()
-
getReimplementNoteblockFeatures
final Boolean getReimplementNoteblockFeatures()
-
getBLOCK_PER_VARIATION
final Int2ObjectOpenHashMap<NoteBlockMechanic> getBLOCK_PER_VARIATION()
-
generateBlockState
final BlockState generateBlockState()
-
getMechanic
NoteBlockMechanic getMechanic(String itemID)
-
getMechanic
NoteBlockMechanic getMechanic(ItemStack itemStack)
-
getMechanic
final NoteBlockMechanic getMechanic(BlockData blockData)
-
parse
NoteBlockMechanic parse(ConfigurationSection section)
-
-
-
-