Modifier and Type | Method and Description |
---|---|
RayTraceResult |
Block.collisionRayTrace(IBlockState blockState,
World worldIn,
BlockPos pos,
Vec3d start,
Vec3d end)
Deprecated.
|
RayTraceResult |
BlockStairs.collisionRayTrace(IBlockState blockState,
World worldIn,
BlockPos pos,
Vec3d start,
Vec3d end) |
RayTraceResult |
BlockPistonMoving.collisionRayTrace(IBlockState blockState,
World worldIn,
BlockPos pos,
Vec3d start,
Vec3d end) |
protected RayTraceResult |
Block.rayTrace(BlockPos pos,
Vec3d start,
Vec3d end,
AxisAlignedBB boundingBox) |
Modifier and Type | Method and Description |
---|---|
boolean |
Block.addHitEffects(IBlockState state,
World worldObj,
RayTraceResult target,
ParticleManager manager)
Spawn a digging particle effect in the world, this is a wrapper
around EffectRenderer.addBlockHitEffects to allow the block more
control over the particles.
|
ItemStack |
Block.getPickBlock(IBlockState state,
RayTraceResult target,
World world,
BlockPos pos,
EntityPlayer player)
Called when a user uses the creative pick block button on this block
|
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
BlockStateContainer.StateImplementation.collisionRayTrace(World worldIn,
BlockPos pos,
Vec3d start,
Vec3d end) |
RayTraceResult |
IBlockProperties.collisionRayTrace(World worldIn,
BlockPos pos,
Vec3d start,
Vec3d end) |
Modifier and Type | Field and Description |
---|---|
RayTraceResult |
Minecraft.objectMouseOver |
Modifier and Type | Method and Description |
---|---|
EnumActionResult |
PlayerControllerMP.interactWithEntity(EntityPlayer player,
Entity target,
RayTraceResult ray,
EnumHand hand) |
Modifier and Type | Method and Description |
---|---|
void |
ParticleManager.addBlockHitEffects(BlockPos pos,
RayTraceResult target) |
Modifier and Type | Method and Description |
---|---|
void |
RenderGlobal.drawSelectionBox(EntityPlayer player,
RayTraceResult movingObjectPositionIn,
int execute,
float partialTicks) |
Modifier and Type | Field and Description |
---|---|
RayTraceResult |
TileEntityRendererDispatcher.cameraHitResult |
Modifier and Type | Method and Description |
---|---|
void |
TileEntityRendererDispatcher.prepare(World worldIn,
TextureManager renderEngineIn,
FontRenderer fontRendererIn,
Entity entityIn,
RayTraceResult cameraHitResultIn,
float p_190056_6_) |
Modifier and Type | Method and Description |
---|---|
default void |
ITutorialStep.onMouseHover(WorldClient worldIn,
RayTraceResult result) |
void |
FindTreeStep.onMouseHover(WorldClient worldIn,
RayTraceResult result) |
void |
Tutorial.onMouseHover(WorldClient worldIn,
RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
Entity.rayTrace(double blockReachDistance,
float partialTicks) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
Entity.getPickedResult(RayTraceResult target)
Called when a user uses the creative pick block button on this entity.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EntityEnderPearl.onImpact(RayTraceResult result) |
protected void |
EntityExpBottle.onImpact(RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
static RayTraceResult |
ProjectileHelper.forwardsRaycast(Entity projectile,
boolean includeEntities,
boolean ignoreExcludedEntity,
Entity excludedEntity) |
Modifier and Type | Method and Description |
---|---|
private void |
EntityPotion.applySplash(RayTraceResult p_190543_1_,
java.util.List<PotionEffect> p_190543_2_) |
protected void |
EntityShulkerBullet.bulletHit(RayTraceResult result) |
void |
EntityLlamaSpit.onHit(RayTraceResult p_190536_1_) |
protected void |
EntityArrow.onHit(RayTraceResult raytraceResultIn) |
protected void |
EntityWitherSkull.onImpact(RayTraceResult result) |
protected void |
EntityLargeFireball.onImpact(RayTraceResult result) |
protected void |
EntitySmallFireball.onImpact(RayTraceResult result) |
protected void |
EntityDragonFireball.onImpact(RayTraceResult result) |
protected void |
EntitySnowball.onImpact(RayTraceResult result) |
protected void |
EntityPotion.onImpact(RayTraceResult result) |
protected abstract void |
EntityThrowable.onImpact(RayTraceResult result) |
protected void |
EntityEgg.onImpact(RayTraceResult result) |
protected abstract void |
EntityFireball.onImpact(RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
protected RayTraceResult |
Item.rayTrace(World worldIn,
EntityPlayer playerIn,
boolean useLiquids) |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
AxisAlignedBB.calculateIntercept(Vec3d vecA,
Vec3d vecB) |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
World.rayTraceBlocks(Vec3d start,
Vec3d end) |
RayTraceResult |
World.rayTraceBlocks(Vec3d start,
Vec3d end,
boolean stopOnLiquid) |
RayTraceResult |
World.rayTraceBlocks(Vec3d vec31,
Vec3d vec32,
boolean stopOnLiquid,
boolean ignoreBlockWithoutBoundingBox,
boolean returnLastUncollidableBlock) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
DrawBlockHighlightEvent.target |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
DrawBlockHighlightEvent.getTarget() |
Constructor and Description |
---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
Modifier and Type | Method and Description |
---|---|
static RayTraceResult |
ForgeHooks.rayTraceEyes(EntityLivingBase entity,
double length) |
Modifier and Type | Method and Description |
---|---|
static EnumActionResult |
ForgeHooks.onInteractEntityAt(EntityPlayer player,
Entity entity,
RayTraceResult ray,
EnumHand hand) |
static boolean |
ForgeHooks.onPickBlock(RayTraceResult target,
EntityPlayer player,
World world)
Called when a player uses 'pick block', calls new Entity and Block hooks.
|
static boolean |
ForgeHooks.onThrowableImpact(EntityThrowable throwable,
RayTraceResult ray)
|
Modifier and Type | Method and Description |
---|---|
static ActionResult<ItemStack> |
ForgeEventFactory.onBucketUse(EntityPlayer player,
World world,
ItemStack stack,
RayTraceResult target) |
static boolean |
ForgeEventFactory.onProjectileImpact(EntityArrow arrow,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(EntityFireball fireball,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(Entity entity,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(EntityThrowable throwable,
RayTraceResult ray) |
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
ProjectileImpactEvent.ray |
private RayTraceResult |
ThrowableImpactEvent.ray
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
ProjectileImpactEvent.getRayTraceResult() |
RayTraceResult |
ThrowableImpactEvent.getRayTraceResult()
Deprecated.
|
Constructor and Description |
---|
Arrow(EntityArrow arrow,
RayTraceResult ray) |
Fireball(EntityFireball fireball,
RayTraceResult ray) |
ProjectileImpactEvent(Entity entity,
RayTraceResult ray) |
Throwable(EntityThrowable throwable,
RayTraceResult ray) |
ThrowableImpactEvent(EntityThrowable throwable,
RayTraceResult ray)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
FillBucketEvent.target |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
FillBucketEvent.getTarget() |
Constructor and Description |
---|
FillBucketEvent(EntityPlayer player,
ItemStack current,
World world,
RayTraceResult target) |