Class WorldAction
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
ua.mcchickenstudio.opencreative.coding.blocks.actions.worldactions.WorldAction
- All Implemented Interfaces:
CodingBlock
- Direct Known Subclasses:
AddBlastingFurnaceRecipeAction,AddCampfireRecipeAction,AddCraftingRecipeAction,AddFurnaceRecipeAction,AddMerchantRecipeAction,AddPhysObjectAction,AddSmokerRecipeAction,ApplyBoneMealAction,BossBarColorAction,BossBarDisplayNameAction,BossBarOverlayAction,BossBarProgressAction,ClearContainerAction,ClearScoreboardScoresAction,CopyBlocksAction,CreateBossBarAction,CreateExplosionAction,CreateFireworkExplosionAction,CreateScoreboardAction,CreateTeamAction,DeleteBossBarAction,DeleteScoreboardAction,DeleteTeamAction,DestroyBlockAction,DropItemAction,GetContainerItemsAction,GetSignLineAction,GiveItemsToContainerAction,MotionParamPhysObjectAction,RemoveRecipeAction,ScoreboardResetScoreAction,ScoreboardSetDisplayNameAction,ScoreboardSetScoreAction,SendWebRequestAction,SetBlockBiomeAction,SetBlockPoweredAction,SetBlocksAreaTypeAction,SetBlockTypeAction,SetDifficultyAction,SetItemBySlotInContainerAction,SetScoreNumberStyleAction,SetSignGlowingTextAction,SetSignLineAction,SetSignWaxedAction,SetTimeAction,SettingsParamPhysObjectAction,SetWaterLoggedAction,SetWeatherAction,SetWorldBorderAction,SpawnArrowAction,SpawnBlockDisplayAction,SpawnEndCrystalAction,SpawnEnderEyeAction,SpawnEntityAction,SpawnExperienceOrbAction,SpawnFallingBlockAction,SpawnFireworkAction,SpawnItemDisplayAction,SpawnParticleAction,SpawnParticlesCircleAction,SpawnParticlesLineAction,SpawnTextDisplayAction,StrikeLightningAction,SwitchToBuildModeAction,TeamSetCanSeeInvisibleAction,TeamSetCollisionRuleAction,TeamSetColorAction,TeamSetVisibleTagAction,TransferVariableAction,VisualParamPhysObjectAction
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidexecute()Executes world action: modifies a world.protected final voidexecute(org.bukkit.entity.Entity entity) Executes action with specified entity.@NotNull ActionCategoryReturns category of action, that contains information about action: glass pane materials, block materials.protected voidsetLastSpawnedEntity(@NotNull org.bukkit.entity.Entity entity) Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
getActionType, getArguments, getArgumentsList, getEntitiesByNameOrUUID, getEntity, getEntityByNameOrUUID, getEvent, getExecutor, getHandler, getPlanet, getPlayersByNameOrUUID, getTarget, getTargets, getWorld, getX, getY, getZ, prepareAndExecute, setEntity, setEvent, setHandler, setVarValue
-
Constructor Details
-
WorldAction
-
-
Method Details
-
execute
protected final void execute(org.bukkit.entity.Entity entity) Description copied from class:ActionExecutes action with specified entity. -
execute
protected abstract void execute()Executes world action: modifies a world. -
setLastSpawnedEntity
protected void setLastSpawnedEntity(@NotNull @NotNull org.bukkit.entity.Entity entity) -
getActionCategory
Description copied from class:ActionReturns category of action, that contains information about action: glass pane materials, block materials.- Specified by:
getActionCategoryin classAction- Returns:
- Category of action.
-