Class ConnectableMechanic
-
- All Implemented Interfaces:
public final class ConnectableMechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ConnectableMechanic.ConnectType
public class
ConnectableMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ConnectableItemType
type
private final Key
default
private final Key
straight
private final Key
left
private final Key
right
private final Key
inner
private final Key
outer
public final static ConnectableMechanic.Companion
Companion
-
Constructor Summary
Constructors Constructor Description ConnectableMechanic(ConfigurationSection section)
ConnectableMechanic(ConnectableItemType type, Key default, Key straight, Key left, Key right, Key inner, Key outer)
-
Method Summary
Modifier and Type Method Description final ConnectableItemType
getType()
final Key
getDefault()
final Key
getStraight()
final Key
getLeft()
final Key
getRight()
final Key
getInner()
final Key
getOuter()
final Unit
scheduleUpdateState(ItemDisplay baseEntity, Long delay)
final Unit
updateState(ItemDisplay baseEntity)
final Unit
updateSurrounding(ItemDisplay baseEntity)
final ItemBuilder
displayedItem(ItemDisplay baseEntity)
-
-
Constructor Detail
-
ConnectableMechanic
ConnectableMechanic(ConfigurationSection section)
-
ConnectableMechanic
ConnectableMechanic(ConnectableItemType type, Key default, Key straight, Key left, Key right, Key inner, Key outer)
-
-
Method Detail
-
getType
final ConnectableItemType getType()
-
getDefault
final Key getDefault()
-
getStraight
final Key getStraight()
-
getLeft
final Key getLeft()
-
getRight
final Key getRight()
-
getInner
final Key getInner()
-
getOuter
final Key getOuter()
-
scheduleUpdateState
final Unit scheduleUpdateState(ItemDisplay baseEntity, Long delay)
-
updateState
final Unit updateState(ItemDisplay baseEntity)
-
updateSurrounding
final Unit updateSurrounding(ItemDisplay baseEntity)
-
displayedItem
final ItemBuilder displayedItem(ItemDisplay baseEntity)
-
-
-
-