public class MalisisBlock extends net.minecraft.block.Block implements IBoundingBox
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.AxisAlignedBB |
boundingBox |
protected java.lang.String |
name |
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, capturedDrops, captureDrops, delegate, enableStats, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, translucent, useNeighborBrightness| Modifier | Constructor and Description |
|---|---|
protected |
MalisisBlock(net.minecraft.block.material.Material material) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollisionBoxesToList(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.AxisAlignedBB mask,
java.util.List list,
net.minecraft.entity.Entity entity) |
net.minecraft.util.MovingObjectPosition |
collisionRayTrace(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.Vec3 src,
net.minecraft.util.Vec3 dest) |
net.minecraft.util.AxisAlignedBB[] |
getBoundingBox(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
BoundingBoxType type)
Gets the
AxisAlignedBB for this IBoundingBox. |
java.lang.String |
getName() |
net.minecraft.util.AxisAlignedBB |
getSelectedBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
register() |
void |
register(java.lang.Class<? extends net.minecraft.item.ItemBlock> item) |
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister reg) |
net.minecraft.block.Block |
setUnlocalizedName(java.lang.String name) |
addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canStopRayTrace, canSustainLeaves, canSustainPlant, captureDrops, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockTextureFromSide, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIcon, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getRenderType, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, modifyEntityVelocity, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTextureName, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTickprotected java.lang.String name
protected net.minecraft.util.AxisAlignedBB boundingBox
protected MalisisBlock(net.minecraft.block.material.Material material)
public net.minecraft.block.Block setUnlocalizedName(java.lang.String name)
setUnlocalizedName in class net.minecraft.block.Blockpublic java.lang.String getName()
public void register()
public void register(java.lang.Class<? extends net.minecraft.item.ItemBlock> item)
public void registerIcons(net.minecraft.client.renderer.texture.IIconRegister reg)
registerIcons in class net.minecraft.block.Blockpublic net.minecraft.util.AxisAlignedBB[] getBoundingBox(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z,
BoundingBoxType type)
IBoundingBoxAxisAlignedBB for this IBoundingBox.getBoundingBox in interface IBoundingBoxworld - the worldx - the xy - the yz - the ztype - the typepublic void addCollisionBoxesToList(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.AxisAlignedBB mask,
java.util.List list,
net.minecraft.entity.Entity entity)
addCollisionBoxesToList in class net.minecraft.block.Blockpublic net.minecraft.util.MovingObjectPosition collisionRayTrace(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.util.Vec3 src,
net.minecraft.util.Vec3 dest)
collisionRayTrace in class net.minecraft.block.Blockpublic net.minecraft.util.AxisAlignedBB getSelectedBoundingBoxFromPool(net.minecraft.world.World world,
int x,
int y,
int z)
getSelectedBoundingBoxFromPool in class net.minecraft.block.Block