Class CustomBlockFactory
-
- All Implemented Interfaces:
public final class CustomBlockFactory extends MechanicFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCustomBlockFactory.CustomBlockSoundspublic classCustomBlockFactory.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<String>toolTypesprivate final CustomBlockFactory.CustomBlockSoundscustomSoundsprivate final CustomBlockType<NoteBlockMechanic>NOTEBLOCKprivate final CustomBlockType<StringBlockMechanic>STRINGBLOCKprivate final CustomBlockType<ChorusBlockMechanic>CHORUSBLOCKprivate final StringmechanicIDpublic final static CustomBlockFactory.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description CustomBlockFactory(ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final List<String>getToolTypes()final CustomBlockFactory.CustomBlockSoundsgetCustomSounds()final CustomBlockType<NoteBlockMechanic>getNOTEBLOCK()final CustomBlockType<StringBlockMechanic>getSTRINGBLOCK()final CustomBlockType<ChorusBlockMechanic>getCHORUSBLOCK()final UnitblockStates(ResourcePack resourcePack)final UnitsoundRegistries(ResourcePack resourcePack)final List<String>toolTypes(CustomBlockType<?> type)Mechanicparse(ConfigurationSection section)CustomBlockMechanicgetMechanic(String itemID)CustomBlockMechanicgetMechanic(ItemStack itemStack)-
-
Method Detail
-
getToolTypes
final List<String> getToolTypes()
-
getCustomSounds
final CustomBlockFactory.CustomBlockSounds getCustomSounds()
-
getNOTEBLOCK
final CustomBlockType<NoteBlockMechanic> getNOTEBLOCK()
-
getSTRINGBLOCK
final CustomBlockType<StringBlockMechanic> getSTRINGBLOCK()
-
getCHORUSBLOCK
final CustomBlockType<ChorusBlockMechanic> getCHORUSBLOCK()
-
blockStates
final Unit blockStates(ResourcePack resourcePack)
-
soundRegistries
final Unit soundRegistries(ResourcePack resourcePack)
-
toolTypes
final List<String> toolTypes(CustomBlockType<?> type)
-
getMechanic
CustomBlockMechanic getMechanic(String itemID)
-
getMechanic
CustomBlockMechanic getMechanic(ItemStack itemStack)
-
-
-
-