public class ConfigurableBlockContainerGui extends ConfigurableBlockContainer implements IGuiContainerProvider
eConfig, hasGui, isInventoryBlock, pass, random, renderer, sideIconsblockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Constructor and Description |
|---|
ConfigurableBlockContainerGui(ExtendedConfig eConfig,
net.minecraft.block.material.Material material,
java.lang.Class<? extends EvilCraftTileEntity> tileEntity)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer()
Get the container for this block.
|
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGUI()
Get the GUI for this block.
|
int |
getGuiID()
Get the unique ID for the GUI this block has.
|
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9) |
protected void |
onPostBlockDestroyed(net.minecraft.world.World world,
int x,
int y,
int z) |
boolean |
renderAsNormalBlock() |
void |
setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
Set the container.
|
void |
setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
Set the gui.
|
void |
tryCloseClientGui(net.minecraft.world.World world)
Try to close the gui at client side.
|
breakBlock, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getIcon, getIcon, getIcon, getPickBlock, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, getTileEntity, hasGui, isKeepNBTOnDrop, isOpaqueCube, isRotatable, onBlockDestroyedByExplosion, onBlockPlacedBy, onPreBlockDestroyed, registerBlockIcons, rotateBlock, saveNBTToDroppedItem, setInventoryBlock, setRenderBlocks, setRenderPass, setRotatable, shouldRender, updateTileEntity, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGuiTexture, getGuiTexturepublic ConfigurableBlockContainerGui(ExtendedConfig eConfig, net.minecraft.block.material.Material material, java.lang.Class<? extends EvilCraftTileEntity> tileEntity)
eConfig - Config for this block.material - Material of this block.tileEntity - The class of the tile entity this block holds.public int getGuiID()
IGuiContainerProvidergetGuiID in interface IGuiContainerProviderpublic void setGUI(java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> gui)
IGuiContainerProvidersetGUI in interface IGuiContainerProvidergui - The gui.public void setContainer(java.lang.Class<? extends net.minecraft.inventory.Container> container)
IGuiContainerProvidersetContainer in interface IGuiContainerProvidercontainer - The container.public java.lang.Class<? extends net.minecraft.inventory.Container> getContainer()
IGuiContainerProvidergetContainer in interface IGuiContainerProviderpublic java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> getGUI()
IGuiContainerProvidergetGUI in interface IGuiContainerProviderpublic boolean renderAsNormalBlock()
renderAsNormalBlock in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer entityplayer,
int par6,
float par7,
float par8,
float par9)
onBlockActivated in class net.minecraft.block.Blockprotected void onPostBlockDestroyed(net.minecraft.world.World world,
int x,
int y,
int z)
onPostBlockDestroyed in class ConfigurableBlockContainerpublic void tryCloseClientGui(net.minecraft.world.World world)
world - The world.