Class ConditionBlock
java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.conditions.ConditionBlock
- All Implemented Interfaces:
ExtensionContent
-
Constructor Summary
ConstructorsConstructorDescriptionConditionBlock(@NotNull String id, @NotNull org.bukkit.Material mainBlock, @NotNull org.bukkit.Material offBlock) -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancheck(@Nullable org.bukkit.entity.Entity target, @NotNull ActionsHandler actionsHandler, @NotNull Arguments arguments) voidexecute(@Nullable org.bukkit.entity.Entity target, @NotNull ActionsHandler actionsHandler, @NotNull Arguments arguments, @NotNull List<ActionBlock> actions, @NotNull List<ActionBlock> reactions, boolean isOpposed) voidonSignClick(org.bukkit.event.player.PlayerInteractEvent event) Methods inherited from class ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
createWrapped, equals, getId, getMainBlock, getOffBlock, hashCode, placeBlocksMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.coding.ExtensionContent
getDescription, getExtensionId, getName
-
Constructor Details
-
ConditionBlock
public ConditionBlock(@NotNull @NotNull String id, @NotNull @NotNull org.bukkit.Material mainBlock, @NotNull @NotNull org.bukkit.Material offBlock)
-
-
Method Details
-
execute
public void execute(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments, @NotNull @NotNull List<ActionBlock> actions, @NotNull @NotNull List<ActionBlock> reactions, boolean isOpposed) -
check
public abstract boolean check(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments) -
onSignClick
public void onSignClick(org.bukkit.event.player.PlayerInteractEvent event) - Specified by:
onSignClickin classCodingBlock
-