Class StringBlockMechanic
-
- All Implemented Interfaces:
public final class StringBlockMechanic extends CustomBlockMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisTallprivate final BooleanisPlaceableOnWaterprivate final TripwireblockDataprivate final CustomBlockType<?>typeprivate final IntegercustomVariationprivate final Keymodelprivate final BlockSoundsblockSoundsprivate final LightMechaniclightprivate final LimitedPlacinglimitedPlacingprivate final List<ClickAction>clickActionsprivate final BlockLockerMechanicblockLockerprivate final Breakablebreakableprivate final BooleanisBlastResistantprivate final Booleanimmovableprivate final Array<out Function<ItemBuilder, ItemBuilder>>itemModifiersprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsection
-
Constructor Summary
Constructors Constructor Description StringBlockMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final BooleanisTall()final BooleanisPlaceableOnWater()TripwiregetBlockData()TripwirecreateBlockData()final BooleanisSapling()final SaplingMechanicsapling()final BooleanhasRandomPlace()final List<String>randomPlace()-
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
-
StringBlockMechanic
StringBlockMechanic(MechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
isPlaceableOnWater
final Boolean isPlaceableOnWater()
-
getBlockData
Tripwire getBlockData()
-
createBlockData
Tripwire createBlockData()
-
sapling
final SaplingMechanic sapling()
-
hasRandomPlace
final Boolean hasRandomPlace()
-
randomPlace
final List<String> randomPlace()
-
-
-
-