public class BlockColossalBloodChest extends BlockTileGuiTank implements org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListener
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 |
ACTIVE |
BLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
BlockColossalBloodChest(net.minecraft.block.AbstractBlock.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPlayerChatError(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.text.ITextComponent error) |
static void |
addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
Show the structure forming error in the given player chat window.
|
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) |
int |
getDefaultCapacity()
Get the default capacity possible for this item/blockState type.
|
net.minecraft.block.BlockRenderType |
getRenderType(net.minecraft.block.BlockState blockState) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
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) |
static void |
triggerDetector(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos,
boolean valid) |
getComparatorInputOverride, getInfo, hasComparatorInputOverride, isActivatable, isActivated, onReplaced, provideInformation, toggleActivationcreateNewTileEntity, 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, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getTags, getTranslatedName, getTranslationKey, 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, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getShape, getStrongPower, getWeakPower, isAir, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, isValidPosition, mirror, neighborChanged, onBlockClicked, onEntityCollision, onProjectileCollision, randomTick, rotate, spawnAdditionalDrops, tick, updateDiagonalNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOpenStat, onBlockActivatedHook, writeExtraGuiDataaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic BlockColossalBloodChest(net.minecraft.block.AbstractBlock.Properties properties)
protected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class net.minecraft.block.Blockpublic 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 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 BlockTileGuiTankpublic int getDefaultCapacity()
IBlockTankgetDefaultCapacity in interface IBlockTankpublic static void triggerDetector(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos,
boolean valid)
public 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 static void addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
world - The world.blockPos - The start position.player - The player.hand - The used hand.public static void addPlayerChatError(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.text.ITextComponent error)