Class NecrifyPunishmentFactory
java.lang.Object
de.jvstvshd.necrify.common.punishment.NecrifyPunishmentFactory
- All Implemented Interfaces:
de.jvstvshd.necrify.api.punishment.PunishmentFactory
public class NecrifyPunishmentFactory
extends Object
implements de.jvstvshd.necrify.api.punishment.PunishmentFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull de.jvstvshd.necrify.api.punishment.PunishmentcreatePunishment(@NotNull de.jvstvshd.necrify.api.punishment.PunishmentType type, @NotNull Map<String, Object> data)
-
Constructor Details
-
NecrifyPunishmentFactory
-
-
Method Details
-
createPunishment
@NotNull public @NotNull de.jvstvshd.necrify.api.punishment.Punishment createPunishment(@NotNull @NotNull de.jvstvshd.necrify.api.punishment.PunishmentType type, @NotNull @NotNull Map<String, Object> data) - Specified by:
createPunishmentin interfacede.jvstvshd.necrify.api.punishment.PunishmentFactory
-