public class HoneyBlock extends BreakableBlock
Block.RenderSideCacheKey
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.Properties
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
Modifier and Type | Field and Description |
---|---|
protected static VoxelShape |
SHAPE |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
delegate
Constructor and Description |
---|
HoneyBlock(AbstractBlock.Properties p_i225762_1_) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
doesEntityDoHoneyBlockSlideEffects(Entity p_226937_0_) |
private void |
doSlideMovement(Entity p_226938_1_) |
void |
entityInside(BlockState p_196262_1_,
World p_196262_2_,
BlockPos p_196262_3_,
Entity p_196262_4_) |
void |
fallOn(World p_180658_1_,
BlockPos p_180658_2_,
Entity p_180658_3_,
float p_180658_4_) |
VoxelShape |
getCollisionShape(BlockState p_220071_1_,
IBlockReader p_220071_2_,
BlockPos p_220071_3_,
ISelectionContext p_220071_4_) |
private boolean |
isSlidingDown(BlockPos p_226935_1_,
Entity p_226935_2_) |
private void |
maybeDoSlideAchievement(Entity p_226933_1_,
BlockPos p_226933_2_) |
private void |
maybeDoSlideEffects(World p_226934_1_,
Entity p_226934_2_) |
static void |
showJumpParticles(Entity p_226936_0_) |
private static void |
showParticles(Entity p_226932_0_,
int p_226932_1_) |
static void |
showSlideParticles(Entity p_226931_0_) |
skipRendering
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, createBlockStateDefinition, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
attack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, 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, 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, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
protected static final VoxelShape SHAPE
public HoneyBlock(AbstractBlock.Properties p_i225762_1_)
private static boolean doesEntityDoHoneyBlockSlideEffects(Entity p_226937_0_)
public VoxelShape getCollisionShape(BlockState p_220071_1_, IBlockReader p_220071_2_, BlockPos p_220071_3_, ISelectionContext p_220071_4_)
getCollisionShape
in class AbstractBlock
public void fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
public void entityInside(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_)
entityInside
in class AbstractBlock
private void maybeDoSlideAchievement(Entity p_226933_1_, BlockPos p_226933_2_)
private void doSlideMovement(Entity p_226938_1_)
public static void showSlideParticles(Entity p_226931_0_)
public static void showJumpParticles(Entity p_226936_0_)
private static void showParticles(Entity p_226932_0_, int p_226932_1_)