Package | Description |
---|---|
com.destroystokyo.paper.block | |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method and Description |
---|---|
static TargetBlockInfo.FluidMode |
TargetBlockInfo.FluidMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetBlockInfo.FluidMode[] |
TargetBlockInfo.FluidMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Block |
LivingEntity.getTargetBlock(int maxDistance,
TargetBlockInfo.FluidMode fluidMode)
Gets the block that the living entity has targeted
|
BlockFace |
LivingEntity.getTargetBlockFace(int maxDistance,
TargetBlockInfo.FluidMode fluidMode)
Gets the blockface of that block that the living entity has targeted
|
TargetBlockInfo |
LivingEntity.getTargetBlockInfo(int maxDistance,
TargetBlockInfo.FluidMode fluidMode)
Gets information about the block the living entity has targeted
|
Copyright © 2021. All rights reserved.