Modifier and Type | Field and Description |
---|---|
RayTraceResult |
Minecraft.objectMouseOver |
Modifier and Type | Method and Description |
---|---|
private boolean |
IngameGui.isTargetNamedMenuProvider(RayTraceResult rayTraceIn) |
Modifier and Type | Field and Description |
---|---|
protected RayTraceResult |
DebugOverlayGui.rayTraceBlock |
protected RayTraceResult |
DebugOverlayGui.rayTraceFluid |
Modifier and Type | Field and Description |
---|---|
RayTraceResult |
TileEntityRendererDispatcher.cameraHitResult |
Modifier and Type | Method and Description |
---|---|
void |
TileEntityRendererDispatcher.prepare(World worldIn,
TextureManager textureManagerIn,
FontRenderer fontRendererIn,
ActiveRenderInfo activeRenderInfoIn,
RayTraceResult rayTraceResultIn) |
Modifier and Type | Method and Description |
---|---|
void |
FindTreeStep.onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
void |
Tutorial.onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
default void |
ITutorialStep.onMouseHover(ClientWorld worldIn,
RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
Entity.pick(double p_213324_1_,
float p_213324_3_,
boolean p_213324_4_) |
Modifier and Type | Method and Description |
---|---|
protected void |
FireworkRocketEntity.func_213892_a(RayTraceResult p_213892_1_) |
protected void |
ExperienceBottleEntity.onImpact(RayTraceResult result) |
protected void |
EnderPearlEntity.onImpact(RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
AxisAlignedBB boundingBox,
java.util.function.Predicate<Entity> filter,
RayTraceContext.BlockMode blockModeIn,
boolean checkEntityCollision) |
static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn) |
private static RayTraceResult |
ProjectileHelper.rayTrace(Entity projectile,
boolean checkEntityCollision,
boolean includeShooter,
Entity shooter,
RayTraceContext.BlockMode blockModeIn,
boolean p_221268_5_,
java.util.function.Predicate<Entity> filter,
AxisAlignedBB boundingBox) |
Modifier and Type | Method and Description |
---|---|
protected void |
ShulkerBulletEntity.bulletHit(RayTraceResult result) |
void |
LlamaSpitEntity.onHit(RayTraceResult p_190536_1_) |
protected void |
AbstractArrowEntity.onHit(RayTraceResult raytraceResultIn) |
protected void |
PotionEntity.onImpact(RayTraceResult result) |
protected void |
FireballEntity.onImpact(RayTraceResult result) |
protected void |
SnowballEntity.onImpact(RayTraceResult result) |
protected void |
SmallFireballEntity.onImpact(RayTraceResult result) |
protected void |
DamagingProjectileEntity.onImpact(RayTraceResult result) |
protected void |
WitherSkullEntity.onImpact(RayTraceResult result) |
protected void |
EggEntity.onImpact(RayTraceResult result) |
protected abstract void |
ThrowableEntity.onImpact(RayTraceResult result) |
protected void |
DragonFireballEntity.onImpact(RayTraceResult result) |
Modifier and Type | Method and Description |
---|---|
protected static RayTraceResult |
Item.rayTrace(World worldIn,
PlayerEntity player,
RayTraceContext.FluidMode fluidMode) |
Modifier and Type | Class and Description |
---|---|
class |
BlockRayTraceResult |
class |
EntityRayTraceResult |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooksClient.onDrawBlockHighlight(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
MatrixStack matrix,
IRenderTypeBuffer buffers) |
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
DrawHighlightEvent.target |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
DrawHighlightEvent.getTarget() |
Constructor and Description |
---|
DrawHighlightEvent(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
MatrixStack matrix,
IRenderTypeBuffer buffers) |
HighlightBlock(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
MatrixStack matrix,
IRenderTypeBuffer buffers) |
HighlightEntity(WorldRenderer context,
ActiveRenderInfo info,
RayTraceResult target,
float partialTicks,
MatrixStack matrix,
IRenderTypeBuffer buffers) |
Modifier and Type | Method and Description |
---|---|
static ActionResultType |
ForgeHooks.onInteractEntityAt(PlayerEntity player,
Entity entity,
RayTraceResult ray,
Hand hand) |
static boolean |
ForgeHooks.onPickBlock(RayTraceResult target,
PlayerEntity player,
World world)
Called when a player uses 'pick block', calls new Entity and Block hooks.
|
Modifier and Type | Method and Description |
---|---|
default RayTraceResult |
IForgeBlock.getRayTraceResult(BlockState state,
World world,
BlockPos pos,
Vec3d start,
Vec3d end,
RayTraceResult original)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeBlock.addHitEffects(BlockState 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.
|
default boolean |
IForgeBlockState.addHitEffects(World world,
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.
|
default ItemStack |
IForgeBlock.getPickBlock(BlockState state,
RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default ItemStack |
IForgeBlockState.getPickBlock(RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default ItemStack |
IForgeEntity.getPickedResult(RayTraceResult target)
Called when a user uses the creative pick block button on this entity.
|
default RayTraceResult |
IForgeBlock.getRayTraceResult(BlockState state,
World world,
BlockPos pos,
Vec3d start,
Vec3d end,
RayTraceResult original)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
Modifier and Type | Method and Description |
---|---|
static ActionResult<ItemStack> |
ForgeEventFactory.onBucketUse(PlayerEntity player,
World world,
ItemStack stack,
RayTraceResult target) |
static boolean |
ForgeEventFactory.onProjectileImpact(AbstractArrowEntity arrow,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(DamagingProjectileEntity fireball,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(Entity entity,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(FireworkRocketEntity fireworkRocket,
RayTraceResult ray) |
static boolean |
ForgeEventFactory.onProjectileImpact(ThrowableEntity throwable,
RayTraceResult ray) |
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
ProjectileImpactEvent.ray |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
ProjectileImpactEvent.getRayTraceResult() |
Constructor and Description |
---|
Arrow(AbstractArrowEntity arrow,
RayTraceResult ray) |
Fireball(DamagingProjectileEntity fireball,
RayTraceResult ray) |
FireworkRocket(FireworkRocketEntity fireworkRocket,
RayTraceResult ray) |
ProjectileImpactEvent(Entity entity,
RayTraceResult ray) |
Throwable(ThrowableEntity throwable,
RayTraceResult ray) |
Modifier and Type | Field and Description |
---|---|
private RayTraceResult |
FillBucketEvent.target |
Modifier and Type | Method and Description |
---|---|
RayTraceResult |
FillBucketEvent.getTarget() |
Constructor and Description |
---|
FillBucketEvent(PlayerEntity player,
ItemStack current,
World world,
RayTraceResult target) |