Modifier and Type | Method and Description |
---|---|
MovingObjectPosition |
BlockStairs.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
MovingObjectPosition |
BlockDoor.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
MovingObjectPosition |
Block.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
MovingObjectPosition |
BlockRailBase.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
MovingObjectPosition |
BlockTrapDoor.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
MovingObjectPosition |
BlockTorch.collisionRayTrace(World par1World,
int par2,
int par3,
int par4,
Vec3 par5Vec3,
Vec3 par6Vec3)
Ray traces through the blocks collision from start vector to end vector returning a ray trace hit.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Block.addBlockHitEffects(World worldObj,
MovingObjectPosition target,
EffectRenderer effectRenderer)
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(MovingObjectPosition target,
World world,
int x,
int y,
int z)
Called when a user uses the creative pick block button on this block
|
Modifier and Type | Field and Description |
---|---|
MovingObjectPosition |
Minecraft.objectMouseOver
The ray trace hit that the mouse is over.
|
Modifier and Type | Method and Description |
---|---|
void |
EffectRenderer.addBlockHitEffects(int x,
int y,
int z,
MovingObjectPosition target) |
Modifier and Type | Method and Description |
---|---|
void |
RenderGlobal.drawSelectionBox(EntityPlayer par1EntityPlayer,
MovingObjectPosition par2MovingObjectPosition,
int par3,
float par4)
Draws the selection box for the player.
|
Modifier and Type | Method and Description |
---|---|
MovingObjectPosition |
EntityLivingBase.rayTrace(double par1,
float par3) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
Entity.getPickedResult(MovingObjectPosition target)
Called when a user uses the creative pick block button on this entity.
|
Modifier and Type | Method and Description |
---|---|
MovingObjectPosition |
AxisAlignedBB.calculateIntercept(Vec3 par1Vec3,
Vec3 par2Vec3) |
Modifier and Type | Method and Description |
---|---|
MovingObjectPosition |
World.clip(Vec3 par1Vec3,
Vec3 par2Vec3)
Performs a raycast against all blocks in the world except liquids.
|
MovingObjectPosition |
World.clip(Vec3 par1Vec3,
Vec3 par2Vec3,
boolean par3)
Performs a raycast against all blocks in the world, and optionally liquids.
|
MovingObjectPosition |
World.rayTraceBlocks_do_do(Vec3 par1Vec3,
Vec3 par2Vec3,
boolean par3,
boolean par4) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks) |
Modifier and Type | Field and Description |
---|---|
MovingObjectPosition |
DrawBlockHighlightEvent.target |
Constructor and Description |
---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.onPickBlock(MovingObjectPosition target,
EntityPlayer player,
World world)
Called when a player uses 'pick block', calls new Entity and Block hooks.
|
Modifier and Type | Field and Description |
---|---|
MovingObjectPosition |
FillBucketEvent.target |
Constructor and Description |
---|
FillBucketEvent(EntityPlayer player,
ItemStack current,
World world,
MovingObjectPosition target) |