public final class TourRailBlock
extends net.minecraft.block.Block
| Modifier and Type | Class and Description |
|---|---|
static class |
TourRailBlock.EnumRailDirection |
class |
TourRailBlock.Rail |
static class |
TourRailBlock.SpeedType |
| Modifier and Type | Field and Description |
|---|---|
protected static net.minecraft.util.math.AxisAlignedBB |
ASCENDING_AABB |
protected static net.minecraft.util.math.AxisAlignedBB |
FLAT_AABB |
static net.minecraft.block.properties.PropertyEnum<TourRailBlock.EnumRailDirection> |
SHAPE |
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
TourRailBlock(TourRailBlock.SpeedType speedType) |
| Modifier and Type | Method and Description |
|---|---|
void |
breakBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
boolean |
canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.world.World world,
net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.IBlockState |
getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.block.state.BlockFaceShape |
getBlockFaceShape(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.ItemStack |
getItem(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune) |
int |
getMetaFromState(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.material.EnumPushReaction |
getMobilityFlag(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) |
static TourRailBlock.EnumRailDirection |
getRailDirection(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
TourRailBlock.SpeedType |
getSpeedType() |
boolean |
hasTileEntity(net.minecraft.block.state.IBlockState state) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState state) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
static boolean |
isRailBlock(net.minecraft.block.state.IBlockState state) |
static boolean |
isRailBlock(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
void |
neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos) |
void |
onBlockPlacedBy(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
protected void |
updateState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn) |
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, 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, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic static final net.minecraft.block.properties.PropertyEnum<TourRailBlock.EnumRailDirection> SHAPE
protected static final net.minecraft.util.math.AxisAlignedBB FLAT_AABB
protected static final net.minecraft.util.math.AxisAlignedBB ASCENDING_AABB
public TourRailBlock(TourRailBlock.SpeedType speedType)
public net.minecraft.block.state.IBlockState getActualState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos)
getActualState in class net.minecraft.block.Blockpublic boolean hasTileEntity(net.minecraft.block.state.IBlockState state)
hasTileEntity in class net.minecraft.block.Blockpublic int getMetaFromState(net.minecraft.block.state.IBlockState state)
getMetaFromState in class net.minecraft.block.Block@Nullable
public net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.world.World world,
net.minecraft.block.state.IBlockState state)
createTileEntity in class net.minecraft.block.Blockpublic net.minecraft.block.state.BlockFaceShape getBlockFaceShape(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing face)
getBlockFaceShape in class net.minecraft.block.Blockpublic TourRailBlock.SpeedType getSpeedType()
public boolean isFullCube(net.minecraft.block.state.IBlockState state)
isFullCube in class net.minecraft.block.Blockpublic boolean canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
canPlaceBlockAt in class net.minecraft.block.Blockpublic void breakBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
breakBlock in class net.minecraft.block.Block@Nullable
public net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.math.BlockPos pos)
getCollisionBoundingBox in class net.minecraft.block.Blockpublic net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos)
getBoundingBox in class net.minecraft.block.Blockpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.Blockpublic void onBlockPlacedBy(net.minecraft.world.World worldIn,
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.Blockpublic void neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos)
neighborChanged in class net.minecraft.block.Blockpublic static TourRailBlock.EnumRailDirection getRailDirection(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.BlockPos pos)
protected void updateState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn)
public net.minecraft.block.material.EnumPushReaction getMobilityFlag(net.minecraft.block.state.IBlockState state)
getMobilityFlag in class net.minecraft.block.Blockprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getItem(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
getItem in class net.minecraft.block.Blockpublic 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)
getPickBlock in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState state,
java.util.Random rand,
int fortune)
getItemDropped in class net.minecraft.block.Blockpublic static boolean isRailBlock(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
public static boolean isRailBlock(net.minecraft.block.state.IBlockState state)
public net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Block