private static int |
TargetBlock.calculatePower(BlockHitResult hitResult,
Vec3d pos) |
|
private static boolean |
CandleCakeBlock.isHittingCandle(BlockHitResult hitResult) |
|
void |
AbstractBlock.AbstractBlockState.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
|
void |
AbstractBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
Deprecated.
|
void |
AbstractCandleBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
AmethystBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
BellBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
BigDripleafBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
CampfireBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
ChorusFlowerBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
LightningRodBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
PointedDripstoneBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
TargetBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
void |
TntBlock.onProjectileHit(World world,
BlockState state,
BlockHitResult hit,
ProjectileEntity projectile) |
ActionResult |
AbstractBlock.AbstractBlockState.onUse(World world,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
|
ActionResult |
AbstractBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Deprecated.
|
ActionResult |
AbstractButtonBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
AbstractCauldronBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
AbstractFurnaceBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
AbstractSignBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
AnvilBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BarrelBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BeaconBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BedBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BeehiveBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BellBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
BrewingStandBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CakeBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CampfireBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CandleBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CandleCakeBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CartographyTableBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CaveVinesBodyBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CaveVinesHeadBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
ChestBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CommandBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
ComparatorBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
ComposterBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
CraftingTableBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
DaylightDetectorBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
DispenserBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
DoorBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
DragonEggBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
EnchantingTableBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
EnderChestBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
FenceBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
FenceGateBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
FletchingTableBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
FlowerPotBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
GrindstoneBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
HopperBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
JigsawBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
JukeboxBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
LecternBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
LeverBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
LightBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
LoomBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
NoteBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
PistonExtensionBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
PumpkinBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
RedstoneOreBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
RedstoneWireBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
RepeaterBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
RespawnAnchorBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
ShulkerBoxBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
SmithingTableBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
StairsBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
StonecutterBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
StructureBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
SweetBerryBushBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
TntBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
ActionResult |
TrapdoorBlock.onUse(BlockState state,
World world,
BlockPos pos,
PlayerEntity player,
Hand hand,
BlockHitResult hit) |
Called when this block is used by a player.
|
boolean |
BellBlock.ring(World world,
BlockState state,
BlockHitResult hitResult,
@Nullable PlayerEntity player,
boolean bool) |
|
private static int |
TargetBlock.trigger(WorldAccess world,
BlockState state,
BlockHitResult hitResult,
Entity entity) |
|