public class SpawnerBlock extends ContainerBlock
Block.OffsetType, Block.Properties, Block.RenderSideCacheKeyBLOCK_STATE_IDS, blockHardness, blockResistance, blocksMovement, lightValue, LOGGER, material, materialColor, RANDOM, soundType, stateContainer, ticksRandomlydelegate| 修飾子 | コンストラクタと説明 | 
|---|---|
| protected  | SpawnerBlock(Block.Properties builder) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| TileEntity | createNewTileEntity(IBlockReader worldIn) | 
| int | getExpDrop(BlockState state,
          IWorldReader world,
          BlockPos pos,
          int fortune,
          int silktouch)Gathers how much experience this block drops when broken. | 
| ItemStack | getItem(IBlockReader worldIn,
       BlockPos pos,
       BlockState state) | 
| BlockRenderType | getRenderType(BlockState state)非推奨です。 
 call via  IBlockState#getRenderType()whenever possible. Implementing/overriding is fine. | 
| void | spawnAdditionalDrops(BlockState state,
                    World worldIn,
                    BlockPos pos,
                    ItemStack stack)Perform side-effects from block dropping, such as creating silverfish | 
eventReceived, getContaineraddInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillStateContainer, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isValidPosition, isVariableOpacity, isViewBlocking, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlayprotected SpawnerBlock(Block.Properties builder)
public TileEntity createNewTileEntity(IBlockReader worldIn)
public void spawnAdditionalDrops(BlockState state, World worldIn, BlockPos pos, ItemStack stack)
spawnAdditionalDrops クラス内 Blockpublic int getExpDrop(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch)
IForgeBlockstate - The current stateworld - The worldpos - Block positionpublic BlockRenderType getRenderType(BlockState state)
IBlockState#getRenderType() whenever possible. Implementing/overriding is fine.getRenderType クラス内 ContainerBlockpublic ItemStack getItem(IBlockReader worldIn, BlockPos pos, BlockState state)