public class BlockCobbleGenerator
extends info.u_team.u_team_core.block.UBlockTileEntity
Modifier and Type | Field and Description |
---|---|
static net.minecraft.block.properties.PropertyDirection |
FACING |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
Constructor and Description |
---|
BlockCobbleGenerator(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.block.state.BlockStateContainer |
createBlockState() |
void |
dropBlockAsItemWithChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
float chance,
int fortune) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.util.BlockRenderLayer |
getRenderLayer() |
net.minecraft.block.state.IBlockState |
getStateForPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.util.EnumHand hand) |
net.minecraft.block.state.IBlockState |
getStateFromMeta(int meta) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
void |
registerModel() |
boolean |
removedByPlayer(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest) |
net.minecraft.block.state.IBlockState |
withMirror(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Mirror mirror) |
net.minecraft.block.state.IBlockState |
withRotation(net.minecraft.block.state.IBlockState state,
net.minecraft.util.Rotation rotation) |
createNewTileEntity, eventReceived, getTileEntitySave, isTileEntityFromProvider, openContainer, openContainer
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockAdded, onBlockClicked, onBlockExploded, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public void registerModel()
registerModel
in interface info.u_team.u_team_core.api.IModelProvider
registerModel
in class info.u_team.u_team_core.block.UBlock
public net.minecraft.block.state.IBlockState getStateForPlacement(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing facing, float hitX, float hitY, float hitZ, int meta, net.minecraft.entity.EntityLivingBase placer, net.minecraft.util.EnumHand hand)
getStateForPlacement
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class net.minecraft.block.Block
public int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState
in class net.minecraft.block.Block
public net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState withMirror(net.minecraft.block.state.IBlockState state, net.minecraft.util.Mirror mirror)
withMirror
in class net.minecraft.block.Block
public net.minecraft.block.state.IBlockState withRotation(net.minecraft.block.state.IBlockState state, net.minecraft.util.Rotation rotation)
withRotation
in class net.minecraft.block.Block
public boolean onBlockActivated(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand, net.minecraft.util.EnumFacing facing, float hitX, float hitY, float hitZ)
onBlockActivated
in class net.minecraft.block.Block
public net.minecraft.util.BlockRenderLayer getRenderLayer()
getRenderLayer
in class net.minecraft.block.Block
public boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube
in class net.minecraft.block.Block
public boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube
in class net.minecraft.block.Block
public void onBlockPlacedBy(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.entity.EntityLivingBase placer, net.minecraft.item.ItemStack stack)
onBlockPlacedBy
in class net.minecraft.block.Block
public boolean removedByPlayer(net.minecraft.block.state.IBlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player, boolean willHarvest)
removedByPlayer
in class net.minecraft.block.Block
public void dropBlockAsItemWithChance(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, float chance, int fortune)
dropBlockAsItemWithChance
in class net.minecraft.block.Block
@Nonnull public net.minecraft.item.ItemStack getPickBlock(@Nonnull net.minecraft.block.state.IBlockState state, net.minecraft.util.math.RayTraceResult target, @Nonnull net.minecraft.world.World world, @Nonnull net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player)
getPickBlock
in class net.minecraft.block.Block