public class BlockEngine extends BlockBase<BlockTypeEngine>
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 |
|---|
BlockEngine(BlockTypeEngine blockType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB entityBox,
java.util.List<net.minecraft.util.math.AxisAlignedBB> collidingBoxes,
net.minecraft.entity.Entity entityIn,
boolean p_185477_7_) |
net.minecraft.util.math.RayTraceResult |
collisionRayTrace(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Vec3d start,
net.minecraft.util.math.Vec3d end) |
int |
getComparatorInputOverride(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
boolean |
hasComparatorInputOverride(net.minecraft.block.state.IBlockState state) |
boolean |
isSideSolid(net.minecraft.block.state.IBlockState base_state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
void |
rotateAfterPlacement(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
boolean |
rotateBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing axis) |
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, breakBlock, createBlockState, createNewTileEntity, getBlockState, getCollisionBoundingBox, getMetaFromState, getPlacementRotation, getRenderType, getSelectedBoundingBox, getStateFromMeta, getUseNeighborBrightness, init, isFullCube, isNormalCube, isOpaqueCube, onBlockActivated, onBlockPlacedBy, registerModel, registerSprites, registerStateMapper, withMirror, withRotationonNeighborChangeaddCollisionBoxToList, addInformation, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLiquidHeight, getBoundingBox, 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, getPickBlock, getPlayerRelativeBlockHardness, getPushReaction, getRenderLayer, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, 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, isPassable, isReplaceable, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockAdded, onBlockClicked, onBlockExploded, onBlockHarvested, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTickpublic BlockEngine(BlockTypeEngine blockType)
public void addCollisionBoxToList(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.AxisAlignedBB entityBox,
java.util.List<net.minecraft.util.math.AxisAlignedBB> collidingBoxes,
@Nullable
net.minecraft.entity.Entity entityIn,
boolean p_185477_7_)
addCollisionBoxToList in class net.minecraft.block.Blockpublic net.minecraft.util.math.RayTraceResult collisionRayTrace(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Vec3d start,
net.minecraft.util.math.Vec3d end)
collisionRayTrace in class BlockBase<BlockTypeEngine>public boolean rotateBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing axis)
rotateBlock in class net.minecraft.block.Blockpublic void rotateAfterPlacement(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
rotateAfterPlacement in interface IBlockRotatablerotateAfterPlacement in class BlockBase<BlockTypeEngine>public boolean isSideSolid(net.minecraft.block.state.IBlockState base_state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
isSideSolid in class net.minecraft.block.Blockpublic boolean hasComparatorInputOverride(net.minecraft.block.state.IBlockState state)
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
getComparatorInputOverride in class net.minecraft.block.Block