public class PokemonEggBlock
extends net.minecraft.block.Block
implements net.minecraft.block.IWaterLoggable
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.IntegerProperty |
EGG |
static net.minecraft.state.BooleanProperty |
WATERLOGGED |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
PokemonEggBlock() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeReplaced(net.minecraft.block.BlockState state,
net.minecraft.item.BlockItemUseContext context) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
void |
fallOn(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity,
float p_180658_4_) |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.block.BlockState state) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(net.minecraft.block.BlockState p_220053_1_,
net.minecraft.world.IBlockReader p_220053_2_,
net.minecraft.util.math.BlockPos p_220053_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220053_4_) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
boolean |
removedByPlayer(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
boolean willHarvest,
net.minecraft.fluid.FluidState fluid) |
void |
stepOn(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity) |
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanPlaceLiquid, placeLiquid, takeLiquidaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic static final net.minecraft.state.IntegerProperty EGG
public static final net.minecraft.state.BooleanProperty WATERLOGGED
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class net.minecraft.block.Blockpublic net.minecraft.fluid.FluidState getFluidState(net.minecraft.block.BlockState state)
getFluidState in class net.minecraft.block.AbstractBlock@Nullable public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class net.minecraft.block.Blockpublic net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState p_220053_1_,
net.minecraft.world.IBlockReader p_220053_2_,
net.minecraft.util.math.BlockPos p_220053_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220053_4_)
getShape in class net.minecraft.block.AbstractBlockpublic boolean canBeReplaced(net.minecraft.block.BlockState state,
net.minecraft.item.BlockItemUseContext context)
canBeReplaced in class net.minecraft.block.AbstractBlockpublic boolean removedByPlayer(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
boolean willHarvest,
net.minecraft.fluid.FluidState fluid)
removedByPlayer in interface net.minecraftforge.common.extensions.IForgeBlockpublic void fallOn(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity,
float p_180658_4_)
fallOn in class net.minecraft.block.Blockpublic void stepOn(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity)
stepOn in class net.minecraft.block.Block