Class PortalEntitySolid
java.lang.Object
me.xxastaspastaxx.dimensions.completePortal.PortalEntity
me.xxastaspastaxx.dimensions.completePortal.PortalEntitySolid
PortalEntity class for blocks that are not solid and dont have to be spawned as falling blocks
-
Constructor Summary
ConstructorDescriptionPortalEntitySolid(org.bukkit.Location location, org.bukkit.block.data.BlockData blockData)
Construct PortalEntity with the blockData to place -
Method Summary
Methods inherited from class me.xxastaspastaxx.dimensions.completePortal.PortalEntity
emitParticles, getLocation
-
Constructor Details
-
PortalEntitySolid
public PortalEntitySolid(org.bukkit.Location location, org.bukkit.block.data.BlockData blockData)Construct PortalEntity with the blockData to place- Parameters:
location
- the location of the blockblockData
- the block data to place
-
-
Method Details
-
summon
public void summon(org.bukkit.entity.Player p)Send block change (block data) to the player- Specified by:
summon
in classPortalEntity
- Parameters:
p
- the player to show the block
-
destroy
public void destroy(org.bukkit.entity.Player p)Send block change (air) to the player- Specified by:
destroy
in classPortalEntity
- Parameters:
p
- the player to remove the block for
-
destroyBroadcast
public void destroyBroadcast()Send block change (air) to all players- Specified by:
destroyBroadcast
in classPortalEntity
-