public class SailBlock extends ProperDirectionalBlock
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.PropertiesBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Modifier | Constructor and Description |
|---|---|
protected |
SailBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_,
boolean frame) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDye(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.item.DyeColor color) |
void |
fallOn(net.minecraft.world.World p_180658_1_,
net.minecraft.util.math.BlockPos p_180658_2_,
net.minecraft.entity.Entity p_180658_3_,
float p_180658_4_) |
static SailBlock |
frame(net.minecraft.block.AbstractBlock.Properties properties) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader p_220071_2_,
net.minecraft.util.math.BlockPos p_220071_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220071_4_) |
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 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 |
isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
void |
updateEntityAfterFallOn(net.minecraft.world.IBlockReader p_176216_1_,
net.minecraft.entity.Entity p_176216_2_) |
net.minecraft.util.ActionResultType |
use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult ray) |
static SailBlock |
withCanvas(net.minecraft.block.AbstractBlock.Properties properties) |
createBlockStateDefinition, getRotatedBlockState, mirror, rotateanimateTick, 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, stepOn, toString, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedaddDestroyEffects, 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, shouldDisplayFluidOverlayprotected SailBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_,
boolean frame)
public static SailBlock frame(net.minecraft.block.AbstractBlock.Properties properties)
public static SailBlock withCanvas(net.minecraft.block.AbstractBlock.Properties properties)
public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class ProperDirectionalBlockpublic net.minecraft.util.ActionResultType use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult ray)
use in class net.minecraft.block.AbstractBlockprotected void applyDye(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
@Nullable
net.minecraft.item.DyeColor color)
public net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state,
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 net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader p_220071_2_,
net.minecraft.util.math.BlockPos p_220071_3_,
net.minecraft.util.math.shapes.ISelectionContext p_220071_4_)
getCollisionShape in class net.minecraft.block.AbstractBlockpublic 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 void fallOn(net.minecraft.world.World p_180658_1_,
net.minecraft.util.math.BlockPos p_180658_2_,
net.minecraft.entity.Entity p_180658_3_,
float p_180658_4_)
fallOn in class net.minecraft.block.Blockpublic void updateEntityAfterFallOn(net.minecraft.world.IBlockReader p_176216_1_,
net.minecraft.entity.Entity p_176216_2_)
updateEntityAfterFallOn in class net.minecraft.block.Blockpublic boolean isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type)
isPathfindable in class net.minecraft.block.AbstractBlock