Interface IConfigElevatorType
-
- All Superinterfaces:
Config
- All Known Subinterfaces:
IElevatorType
public interface IConfigElevatorType extends Config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIConfigElevatorType.IConfigActions
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanElevatorBeDyed()booleancanElevatorExplode()booleancheckDestinationElevatorType()booleandoesElevatorRequirePermissions()IConfigElevatorType.IConfigActionsgetActionsConfig()java.util.List<java.lang.String>getDisabledSettings()ILocaleComponentgetDisplayName()java.lang.StringgetDyePermission()java.util.List<ILocaleComponent>getHolographicLines()java.util.List<ILocaleComponent>getLore()intgetMaxDistanceAllowedBetweenElevators()intgetMaxSolidBlocksAllowedBetweenElevators()intgetMaxStackSize()java.util.Map<java.lang.String,IElevatorRecipeGroup>getRecipeMap()java.lang.StringgetUsePermission()booleanshouldAllowIndividualEdit()booleanshouldStopObstructedTeleport()booleanshouldValidateSameColor()
-
-
-
Method Detail
-
getDisplayName
ILocaleComponent getDisplayName()
- Returns:
- the elevators ItemStack display name.
-
getUsePermission
java.lang.String getUsePermission()
-
getDyePermission
java.lang.String getDyePermission()
-
getMaxStackSize
int getMaxStackSize()
- Returns:
- the max stack size of an elevator ItemStack
-
getLore
java.util.List<ILocaleComponent> getLore()
- Returns:
- the lore of an elevator ItemStack
-
getMaxDistanceAllowedBetweenElevators
int getMaxDistanceAllowedBetweenElevators()
- Returns:
- the maximum distance that an elevator will search for a destination elevator.
-
getMaxSolidBlocksAllowedBetweenElevators
int getMaxSolidBlocksAllowedBetweenElevators()
- Returns:
- the maximum amount of non-air blocks that can be between the origin and destination elevator before it stops searching.
-
checkDestinationElevatorType
boolean checkDestinationElevatorType()
- Returns:
- controls whether the elevator must teleport to destination elevator of the same type.
-
doesElevatorRequirePermissions
boolean doesElevatorRequirePermissions()
- Returns:
- controls whether the elevator should check permissions to allow operation. This is mostly used for those small, local servers where permissions plugins aren't used.
-
canElevatorExplode
boolean canElevatorExplode()
- Returns:
- whether the elevator can explode from creepers, tnt, etc.
-
canElevatorBeDyed
boolean canElevatorBeDyed()
- Returns:
- where a recipe for this elevator type can produce a colored elevator.
-
shouldStopObstructedTeleport
boolean shouldStopObstructedTeleport()
- Returns:
- controls whether an elevator can be teleported to if the destination will place the player inside of a block.
-
shouldValidateSameColor
boolean shouldValidateSameColor()
- Returns:
- controls whether an elevator can be teleported to if the destination is a separate color than the origin.
-
shouldAllowIndividualEdit
boolean shouldAllowIndividualEdit()
-
getDisabledSettings
java.util.List<java.lang.String> getDisabledSettings()
-
getActionsConfig
IConfigElevatorType.IConfigActions getActionsConfig()
-
getRecipeMap
java.util.Map<java.lang.String,IElevatorRecipeGroup> getRecipeMap()
-
getHolographicLines
java.util.List<ILocaleComponent> getHolographicLines()
-
-