Class StringBlockMechanic
-
- All Implemented Interfaces:
public class StringBlockMechanic extends CustomBlockMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleantallprivate final BooleanplaceableOnWaterprivate final BooleanrequireSupportingprivate final TripwireblockDataprivate final CustomBlockType<?>typeprivate final Keymodelprivate final IntegercustomVariationprivate final BlockSoundsblockSoundsprivate final LightMechaniclightprivate final LimitedPlacinglimitedPlacingprivate final List<ClickAction>clickActionsprivate final BlockLockerMechanicblockLockerprivate final Breakablebreakableprivate final BooleanisBlastResistantprivate final Booleanimmovableprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsectionprivate final Array<out ItemModifier>itemModifiers
-
Constructor Summary
Constructors Constructor Description StringBlockMechanic(StringBlockMechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final BooleangetTall()final BooleangetPlaceableOnWater()final BooleangetRequireSupporting()TripwiregetBlockData()TripwirecreateBlockData()final BooleanisSapling()final SaplingMechanicsapling()final BooleanisStackable()final StackableBlockstackable()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, isInteractable, isStorage, runClickActions, storage -
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(StringBlockMechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getPlaceableOnWater
final Boolean getPlaceableOnWater()
-
getRequireSupporting
final Boolean getRequireSupporting()
-
getBlockData
Tripwire getBlockData()
-
createBlockData
Tripwire createBlockData()
-
sapling
final SaplingMechanic sapling()
-
isStackable
final Boolean isStackable()
-
stackable
final StackableBlock stackable()
-
hasRandomPlace
final Boolean hasRandomPlace()
-
randomPlace
final List<String> randomPlace()
-
-
-
-