Uses of Interface
de.marcely.bedwars.api.arena.PerArenaExpression
Packages that use PerArenaExpression
Package
Description
Contains classes that are related to the
Arena.Classes related to the in game
Spawners.-
Uses of PerArenaExpression in de.marcely.bedwars.api.arena
Methods in de.marcely.bedwars.api.arena that return PerArenaExpressionModifier and TypeMethodDescriptionstatic <N extends Number>
PerArenaExpression<N> PerArenaExpression.constNumber(N number) Constructs a new expression class that always returns the same number.static <N extends Number>
PerArenaExpression<N> PerArenaExpression.parseConfig(Object el, Class<N> numberType) Tries to parse the YAML config.static <N extends Number>
PerArenaExpression<N> PerArenaExpression.parseConfig(ConfigurationSection section, String key, N def, @Nullable Consumer<String> errorLog) Tries to parse the YAML config. -
Uses of PerArenaExpression in de.marcely.bedwars.api.game.spawner
Methods in de.marcely.bedwars.api.game.spawner that return PerArenaExpressionModifier and TypeMethodDescriptionDropType.getDropAmount()Returns the amount of items dropped per spawn in a per-arena wrapper.DropType.getDropDuration()Returns the interval between the spawns in seconds in a per-arena wrapper.DropType.getMaxNearbyItems()Returns the max amount of items that can be near the spawner until it's stops spawning any further.DropType.getSpawnAtStart()Returns the expressions for amount of items that should be spawned at the start of the game.Methods in de.marcely.bedwars.api.game.spawner with parameters of type PerArenaExpressionModifier and TypeMethodDescriptionvoidDropType.setDropAmount(PerArenaExpression<Integer> perArenaExpression) Set expressions for the amount of items dropped per spawn.voidDropType.setDropDuration(PerArenaExpression<Double> perArenaExpression) Set expressions for the interval between the spawns in seconds.voidDropType.setMaxNearbyItems(PerArenaExpression<Integer> perArenaExpression) Set the per-arena expressions amount of items that can lay near the spawner until it stops spawning more items.voidDropType.setSpawnAtStart(PerArenaExpression<Integer> perArenaExpression) Set the per-arena expressions for the amount of items that should be spawned at the start of the game.