public class Interface extends org.cyclops.cyclopscore.block.BlockTile implements org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListener, IBlockChestMaterial
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
ENABLED |
BLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
Interface(net.minecraft.block.AbstractBlock.Properties properties,
ChestMaterial material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreatureSpawn(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.EntitySpawnPlacementRegistry.PlacementType type,
net.minecraft.entity.EntityType<?> entityType) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
float |
getExplosionResistance(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion) |
ChestMaterial |
getMaterial() |
net.minecraft.block.BlockRenderType |
getRenderType(net.minecraft.block.BlockState blockState) |
java.lang.String |
getTranslationKey() |
boolean |
isToolEffective(net.minecraft.block.BlockState state,
net.minecraftforge.common.ToolType tool) |
boolean |
isValidPosition(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.util.ActionResultType |
onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult) |
void |
onBlockAdded(net.minecraft.block.BlockState blockStateNew,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockStateOld,
boolean isMoving) |
void |
onBlockExploded(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity placer,
net.minecraft.item.ItemStack stack) |
void |
onDetect(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos location,
net.minecraft.util.math.vector.Vector3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner) |
void |
onPlayerDestroy(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState) |
boolean |
propagatesSkylightDown(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos) |
boolean |
shouldDisplayFluidOverlay(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockDisplayReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.FluidState fluidState) |
createNewTileEntity, getDroppedItemStack, getDroppedItemStackNbt, getPickBlock, isPersistNbt, onBlockHarvestedaddInformation, animateTick, asItem, canDropFromExplosion, cannotAttach, canSpawnInBlock, canSustainPlant, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getBlockFromItem, getDefaultState, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getSelf, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateForPlacement, getStateId, getTags, getTranslatedName, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSideOnTop, isIn, isOpaque, isVariableOpacity, makeCuboidShape, matchesBlock, nudgeEntitiesWithNewState, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toStringallowsMovement, canProvidePower, getAmbientOcclusionLightValue, getCollisionShape, getCollisionShape, getComparatorInputOverride, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getShape, getStrongPower, getWeakPower, hasComparatorInputOverride, isAir, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, mirror, neighborChanged, onBlockClicked, onEntityCollision, onProjectileCollision, onReplaced, randomTick, rotate, spawnAdditionalDrops, tick, updateDiagonalNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, observedNeighborChange, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic Interface(net.minecraft.block.AbstractBlock.Properties properties,
ChestMaterial material)
public java.lang.String getTranslationKey()
getTranslationKey in class net.minecraft.block.Blockpublic ChestMaterial getMaterial()
getMaterial in interface IBlockChestMaterialprotected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.Blockpublic boolean isToolEffective(net.minecraft.block.BlockState state,
net.minecraftforge.common.ToolType tool)
isToolEffective in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.block.BlockRenderType getRenderType(net.minecraft.block.BlockState blockState)
getRenderType in class org.cyclops.cyclopscore.block.BlockTilepublic boolean propagatesSkylightDown(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos)
propagatesSkylightDown in class net.minecraft.block.Blockpublic boolean canCreatureSpawn(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.EntitySpawnPlacementRegistry.PlacementType type,
@Nullable
net.minecraft.entity.EntityType<?> entityType)
canCreatureSpawn in interface net.minecraftforge.common.extensions.IForgeBlockpublic boolean shouldDisplayFluidOverlay(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockDisplayReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.FluidState fluidState)
shouldDisplayFluidOverlay in interface net.minecraftforge.common.extensions.IForgeBlockpublic void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity placer,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic void onBlockAdded(net.minecraft.block.BlockState blockStateNew,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockStateOld,
boolean isMoving)
onBlockAdded in class net.minecraft.block.AbstractBlockpublic void onPlayerDestroy(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState)
onPlayerDestroy in class net.minecraft.block.Blockpublic void onBlockExploded(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion)
onBlockExploded in interface net.minecraftforge.common.extensions.IForgeBlockpublic void onDetect(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos location,
net.minecraft.util.math.vector.Vector3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner)
onDetect in interface org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListenerpublic net.minecraft.util.ActionResultType onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult)
onBlockActivated in class net.minecraft.block.AbstractBlockpublic boolean isValidPosition(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos)
isValidPosition in class net.minecraft.block.AbstractBlockpublic float getExplosionResistance(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion)
getExplosionResistance in interface net.minecraftforge.common.extensions.IForgeBlock