Class FurnitureMechanic
-
- All Implemented Interfaces:
public final class FurnitureMechanic extends Mechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
FurnitureMechanic.RestrictedRotation
public class
FurnitureMechanic.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FurnitureMechanic(MechanicFactory mechanicFactory, ConfigurationSection section)
-
Method Summary
-
-
Constructor Detail
-
FurnitureMechanic
FurnitureMechanic(MechanicFactory mechanicFactory, ConfigurationSection section)
-
-
Method Detail
-
getLimitedPlacing
final LimitedPlacing getLimitedPlacing()
-
getStorage
final StorageMechanic getStorage()
-
getBlockSounds
final BlockSounds getBlockSounds()
-
getJukebox
final JukeboxBlock getJukebox()
-
getFarmlandRequired
final Boolean getFarmlandRequired()
-
getEvolution
final EvolvingFurniture getEvolution()
-
getLight
final LightMechanic getLight()
-
getModelEngineID
final String getModelEngineID()
-
getClickActions
final List<ClickAction> getClickActions()
-
getProperties
final FurnitureProperties getProperties()
-
getRotatable
final Rotatable getRotatable()
-
getBlockLocker
final BlockLockerMechanic getBlockLocker()
-
getRestrictedRotation
final FurnitureMechanic.RestrictedRotation getRestrictedRotation()
-
getBreakable
final Breakable getBreakable()
-
getWaterloggable
final Boolean getWaterloggable()
-
getSeats
final ObjectArrayList<FurnitureSeat> getSeats()
-
getBeds
final List<FurnitureBed> getBeds()
-
getConnectable
final ConnectableMechanic getConnectable()
-
getHitbox
final FurnitureHitbox getHitbox()
-
isModelEngine
final Boolean isModelEngine()
-
getHasLimitedPlacing
final Boolean getHasLimitedPlacing()
-
getHasBlockSounds
final Boolean getHasBlockSounds()
-
getHasSeats
final Boolean getHasSeats()
-
getHasBeds
final Boolean getHasBeds()
-
getHasEvolution
final Boolean getHasEvolution()
-
placedItem
final ItemBuilder placedItem(ItemDisplay baseEntity)
-
isInteractable
final Boolean isInteractable(Player player)
-
place
final ItemDisplay place(Location location)
-
removeBaseEntity
final Unit removeBaseEntity(ItemDisplay baseEntity)
-
notEnoughSpace
final Boolean notEnoughSpace(ItemDisplay baseEntity, Float yaw)
-
notEnoughSpace
final Boolean notEnoughSpace(Location location, Float yaw)
-
runClickActions
final Unit runClickActions(Player player)
-
rotateFurniture
final Unit rotateFurniture(ItemDisplay baseEntity)
-
-
-
-