Class NoteBlockMechanicFactory
-
- All Implemented Interfaces:
public final class NoteBlockMechanicFactory extends MechanicFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
NoteBlockMechanicFactory.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<String>
toolTypes
private final Boolean
reimplementNoteblockFeatures
private final Int2ObjectOpenHashMap<NoteBlockMechanic>
BLOCK_PER_VARIATION
private final String
mechanicID
public final static NoteBlockMechanicFactory.Companion
Companion
-
Constructor Summary
Constructors Constructor Description NoteBlockMechanicFactory(ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final List<String>
getToolTypes()
final Boolean
getReimplementNoteblockFeatures()
final Int2ObjectOpenHashMap<NoteBlockMechanic>
getBLOCK_PER_VARIATION()
final BlockState
generateBlockState()
NoteBlockMechanic
getMechanic(String itemID)
NoteBlockMechanic
getMechanic(ItemStack itemStack)
final NoteBlockMechanic
getMechanic(BlockData blockData)
NoteBlockMechanic
parse(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)
-
-
-
-