Class ChorusBlockMechanic
-
- All Implemented Interfaces:
public final class ChorusBlockMechanic extends CustomBlockMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
isFalling
private final StorageMechanic
storage
private final MultipleFacing
blockData
private final CustomBlockType<?>
type
private final Integer
customVariation
private final Key
model
private final BlockSounds
blockSounds
private final LightMechanic
light
private final LimitedPlacing
limitedPlacing
private final List<ClickAction>
clickActions
private final BlockLockerMechanic
blockLocker
private final Breakable
breakable
private final Boolean
isBlastResistant
private final Boolean
immovable
private final Array<out Function<ItemBuilder, ItemBuilder>>
itemModifiers
private final String
itemID
private final MechanicFactory
factory
private final ConfigurationSection
section
-
Constructor Summary
Constructors Constructor Description ChorusBlockMechanic(ChorusBlockFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Boolean
isFalling()
final StorageMechanic
getStorage()
MultipleFacing
getBlockData()
MultipleFacing
createBlockData()
-
Methods inherited from class com.nexomc.nexo.mechanics.custom_block.CustomBlockMechanic
getBlockLocker, getBlockSounds, getBreakable, getClickActions, getCustomVariation, getImmovable, getLight, getLimitedPlacing, getModel, getType, hasBlockSounds, hasClickActions, hasLight, hasLimitedPlacing, isBlastResistant, runClickActions
-
Methods inherited from class com.nexomc.nexo.mechanics.Mechanic
getFactory, getItemID, getItemModifiers, getSection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChorusBlockMechanic
ChorusBlockMechanic(ChorusBlockFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getStorage
final StorageMechanic getStorage()
-
getBlockData
MultipleFacing getBlockData()
-
createBlockData
MultipleFacing createBlockData()
-
-
-
-