public class MintBlock
extends net.minecraft.block.CropsBlock
net.minecraft.block.Block.RenderSideCacheKey
net.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
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
MintBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSurvive(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader worldIn,
net.minecraft.util.math.BlockPos pos) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
protected net.minecraft.util.IItemProvider |
getBaseSeedId() |
protected int |
getBonemealAgeIncrease(net.minecraft.world.World worldIn) |
java.util.List<net.minecraft.item.ItemStack> |
getDrops(net.minecraft.block.BlockState state,
net.minecraft.loot.LootContext.Builder p_220076_2_) |
int |
getMaxAge() |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.BlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
entityInside, getAge, getAgeProperty, getCloneItemStack, getGrowthSpeed, getStateForAge, growCrops, isBonemealSuccess, isMaxAge, isRandomlyTicking, isValidBonemealTarget, mayPlaceOn, performBonemeal, randomTick
getPlant, isPathfindable, propagatesSkylightDown, updateShape
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
attack, canBeReplaced, canBeReplaced, defaultMaterialColor, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, 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, 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, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition
in class net.minecraft.block.CropsBlock
public int getMaxAge()
getMaxAge
in class net.minecraft.block.CropsBlock
protected net.minecraft.util.IItemProvider getBaseSeedId()
getBaseSeedId
in class net.minecraft.block.CropsBlock
@Nonnull public net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.BlockState state, net.minecraft.util.math.RayTraceResult target, net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player)
public boolean canSurvive(net.minecraft.block.BlockState state, net.minecraft.world.IWorldReader worldIn, net.minecraft.util.math.BlockPos pos)
canSurvive
in class net.minecraft.block.CropsBlock
public java.util.List<net.minecraft.item.ItemStack> getDrops(net.minecraft.block.BlockState state, net.minecraft.loot.LootContext.Builder p_220076_2_)
getDrops
in class net.minecraft.block.AbstractBlock
protected int getBonemealAgeIncrease(net.minecraft.world.World worldIn)
getBonemealAgeIncrease
in class net.minecraft.block.CropsBlock
public net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.shapes.ISelectionContext context)
getShape
in class net.minecraft.block.CropsBlock