Class CustomBlockFactory
-
- All Implemented Interfaces:
public final class CustomBlockFactory extends MechanicFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CustomBlockFactory.CustomBlockSounds
public class
CustomBlockFactory.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<String>
toolTypes
private final CustomBlockFactory.CustomBlockSounds
customSounds
private final CustomBlockType<NoteBlockMechanic>
NOTEBLOCK
private final CustomBlockType<StringBlockMechanic>
STRINGBLOCK
private final CustomBlockType<ChorusBlockMechanic>
CHORUSBLOCK
private final String
mechanicID
public final static CustomBlockFactory.Companion
Companion
-
Constructor Summary
Constructors Constructor Description CustomBlockFactory(ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final List<String>
getToolTypes()
final CustomBlockFactory.CustomBlockSounds
getCustomSounds()
final CustomBlockType<NoteBlockMechanic>
getNOTEBLOCK()
final CustomBlockType<StringBlockMechanic>
getSTRINGBLOCK()
final CustomBlockType<ChorusBlockMechanic>
getCHORUSBLOCK()
final Unit
blockStates(ResourcePack resourcePack)
final Unit
soundRegistries(ResourcePack resourcePack)
final List<String>
toolTypes(CustomBlockType<?> type)
Mechanic
parse(ConfigurationSection section)
CustomBlockMechanic
getMechanic(String itemID)
CustomBlockMechanic
getMechanic(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)
-
-
-
-