YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.block.BlockRedstoneRepeater Class Reference
Inheritance diagram for net.minecraft.block.BlockRedstoneRepeater:
net.minecraft.block.BlockRedstoneLogic net.minecraft.block.BlockDirectional net.minecraft.block.Block

Public Member Functions

boolean onBlockActivated (World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
 
int idDropped (int par1, Random par2Random, int par3)
 
int idPicked (World par1World, int par2, int par3, int par4)
 
int getRenderType ()
 
boolean func_94476_e (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
void randomDisplayTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
void breakBlock (World par1World, int par2, int par3, int par4, int par5, int par6)
 
- Public Member Functions inherited from net.minecraft.block.BlockRedstoneLogic
boolean renderAsNormalBlock ()
 
boolean canPlaceBlockAt (World par1World, int par2, int par3, int par4)
 
boolean canBlockStay (World par1World, int par2, int par3, int par4)
 
void updateTick (World par1World, int par2, int par3, int par4, Random par5Random)
 
Icon getIcon (int par1, int par2)
 
void registerIcons (IconRegister par1IconRegister)
 
boolean shouldSideBeRendered (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
int getRenderType ()
 
int isProvidingStrongPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
int isProvidingWeakPower (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
void onNeighborBlockChange (World par1World, int par2, int par3, int par4, int par5)
 
boolean func_94476_e (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
boolean canProvidePower ()
 
void onBlockPlacedBy (World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack)
 
void onBlockAdded (World par1World, int par2, int par3, int par4)
 
void onBlockDestroyedByPlayer (World par1World, int par2, int par3, int par4, int par5)
 
boolean isOpaqueCube ()
 
boolean func_94487_f (int par1)
 
boolean func_83011_d (World par1World, int par2, int par3, int par4, int par5)
 
boolean isAssociatedBlockID (int par1)
 

Static Public Attributes

static final double[] repeaterTorchOffset = new double[] { -0.0625D, 0.0625D, 0.1875D, 0.3125D}
 

Protected Member Functions

 BlockRedstoneRepeater (int par1, boolean par2)
 
int func_94481_j_ (int par1)
 
BlockRedstoneLogic func_94485_e ()
 
BlockRedstoneLogic func_94484_i ()
 
boolean func_94477_d (int par1)
 
- Protected Member Functions inherited from net.minecraft.block.BlockRedstoneLogic
 BlockRedstoneLogic (int par1, boolean par2)
 
boolean func_96470_c (int par1)
 
void func_94479_f (World par1World, int par2, int par3, int par4, int par5)
 
boolean func_94478_d (World par1World, int par2, int par3, int par4, int par5)
 
int getInputStrength (World par1World, int par2, int par3, int par4, int par5)
 
int func_94482_f (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
int func_94488_g (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
void func_94483_i_ (World par1World, int par2, int par3, int par4)
 
boolean func_94477_d (int par1)
 
int func_94480_d (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
 
int func_94486_g (int par1)
 
- Protected Member Functions inherited from net.minecraft.block.BlockDirectional
 BlockDirectional (int par1, Material par2Material)
 
- Protected Member Functions inherited from net.minecraft.block.Block
void initializeBlock ()
 
void dropBlockAsItem_do (World par1World, int par2, int par3, int par4, ItemStack par5ItemStack)
 
void dropXpOnBlockBreak (World par1World, int par2, int par3, int par4, int par5)
 
boolean canSilkHarvest ()
 
ItemStack createStackedBlock (int par1)
 
Block disableStats ()
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.block.BlockRedstoneLogic
static boolean isRedstoneRepeaterBlockID (int par0)
 
- Public Attributes inherited from net.minecraft.block.Block
final int blockID
 
float blockHardness
 
float blockResistance
 
StepSound stepSound
 
float blockParticleGravity
 
final Material blockMaterial
 
float slipperiness
 
- Protected Attributes inherited from net.minecraft.block.BlockRedstoneLogic
final boolean isRepeaterPowered
 
- Static Protected Attributes inherited from net.minecraft.block.Block
static int[] blockFireSpreadSpeed = new int[4096]
 
static int[] blockFlammability = new int[4096]
 

Constructor & Destructor Documentation

net.minecraft.block.BlockRedstoneRepeater.BlockRedstoneRepeater ( int  par1,
boolean  par2 
)
protected

Member Function Documentation

void net.minecraft.block.BlockRedstoneRepeater.breakBlock ( World  par1World,
int  par2,
int  par3,
int  par4,
int  par5,
int  par6 
)

ejects contained items into the world, and notifies neighbours of an update, as appropriate

boolean net.minecraft.block.BlockRedstoneRepeater.func_94476_e ( IBlockAccess  par1IBlockAccess,
int  par2,
int  par3,
int  par4,
int  par5 
)
boolean net.minecraft.block.BlockRedstoneRepeater.func_94477_d ( int  par1)
protected
int net.minecraft.block.BlockRedstoneRepeater.func_94481_j_ ( int  par1)
protectedvirtual
BlockRedstoneLogic net.minecraft.block.BlockRedstoneRepeater.func_94484_i ( )
protectedvirtual
BlockRedstoneLogic net.minecraft.block.BlockRedstoneRepeater.func_94485_e ( )
protectedvirtual
int net.minecraft.block.BlockRedstoneRepeater.getRenderType ( )

The type of render function that is called for this block

int net.minecraft.block.BlockRedstoneRepeater.idDropped ( int  par1,
Random  par2Random,
int  par3 
)

Returns the ID of the items to drop on destruction.

int net.minecraft.block.BlockRedstoneRepeater.idPicked ( World  par1World,
int  par2,
int  par3,
int  par4 
)

only called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative)

boolean net.minecraft.block.BlockRedstoneRepeater.onBlockActivated ( World  par1World,
int  par2,
int  par3,
int  par4,
EntityPlayer  par5EntityPlayer,
int  par6,
float  par7,
float  par8,
float  par9 
)

Called upon block activation (right click on the block.)

void net.minecraft.block.BlockRedstoneRepeater.randomDisplayTick ( World  par1World,
int  par2,
int  par3,
int  par4,
Random  par5Random 
)

A randomly called display update to be able to add particles or other items for display

Member Data Documentation

final double [] net.minecraft.block.BlockRedstoneRepeater.repeaterTorchOffset = new double[] { -0.0625D, 0.0625D, 0.1875D, 0.3125D}
static

The offsets for the two torches in redstone repeater blocks.


The documentation for this class was generated from the following file: