Package net.minecraft.block
Class VineBlock
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Block>
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.VineBlock
- All Implemented Interfaces:
IItemProvider
,IForgeBlock
,IForgeShearable
,IForgeRegistryEntry<Block>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.RenderSideCacheKey
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.Properties
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BooleanProperty
private static final VoxelShape
static final BooleanProperty
private static final VoxelShape
static final Map<Direction,
BooleanProperty> private final Map<BlockState,
VoxelShape> static final BooleanProperty
private static final VoxelShape
static final BooleanProperty
private static final VoxelShape
static final BooleanProperty
private static final VoxelShape
Fields inherited from class net.minecraft.block.Block
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Fields inherited from class net.minecraft.block.AbstractBlock
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static VoxelShape
calculateShape
(BlockState p_242685_0_) boolean
canBeReplaced
(BlockState p_196253_1_, BlockItemUseContext p_196253_2_) private boolean
canSpread
(IBlockReader p_196539_1_, BlockPos p_196539_2_) private boolean
canSupportAtFace
(IBlockReader p_196541_1_, BlockPos p_196541_2_, Direction p_196541_3_) boolean
canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) private BlockState
copyRandomFaces
(BlockState p_196544_1_, BlockState p_196544_2_, Random p_196544_3_) private int
countFaces
(BlockState p_208496_1_) protected void
createBlockStateDefinition
(StateContainer.Builder<Block, BlockState> p_206840_1_) static BooleanProperty
getPropertyForFace
(Direction p_176267_0_) getShape
(BlockState p_220053_1_, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) getStateForPlacement
(BlockItemUseContext p_196258_1_) private BlockState
getUpdatedState
(BlockState p_196545_1_, IBlockReader p_196545_2_, BlockPos p_196545_3_) private boolean
hasFaces
(BlockState p_196543_1_) private boolean
hasHorizontalConnection
(BlockState p_196540_1_) static boolean
isAcceptableNeighbour
(IBlockReader p_196542_0_, BlockPos p_196542_1_, Direction p_196542_2_) mirror
(BlockState p_185471_1_, Mirror p_185471_2_) void
randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) rotate
(BlockState p_185499_1_, Rotation p_185499_2_) updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) Methods inherited from class net.minecraft.block.Block
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, 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, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
Methods inherited from class net.minecraft.block.AbstractBlock
attack, canBeReplaced, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusion
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlock
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
Methods inherited from interface net.minecraftforge.common.IForgeShearable
isShearable, onSheared
-
Field Details
-
UP
-
NORTH
-
EAST
-
SOUTH
-
WEST
-
PROPERTY_BY_DIRECTION
-
UP_AABB
-
WEST_AABB
-
EAST_AABB
-
NORTH_AABB
-
SOUTH_AABB
-
shapesCache
-
-
Constructor Details
-
VineBlock
-
-
Method Details
-
calculateShape
-
getShape
public VoxelShape getShape(BlockState p_220053_1_, IBlockReader p_220053_2_, BlockPos p_220053_3_, ISelectionContext p_220053_4_) - Overrides:
getShape
in classAbstractBlock
-
canSurvive
- Overrides:
canSurvive
in classAbstractBlock
-
hasFaces
-
countFaces
-
canSupportAtFace
private boolean canSupportAtFace(IBlockReader p_196541_1_, BlockPos p_196541_2_, Direction p_196541_3_) -
isAcceptableNeighbour
public static boolean isAcceptableNeighbour(IBlockReader p_196542_0_, BlockPos p_196542_1_, Direction p_196542_2_) -
getUpdatedState
private BlockState getUpdatedState(BlockState p_196545_1_, IBlockReader p_196545_2_, BlockPos p_196545_3_) -
updateShape
public BlockState updateShape(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) - Overrides:
updateShape
in classAbstractBlock
-
randomTick
public void randomTick(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) - Overrides:
randomTick
in classAbstractBlock
-
copyRandomFaces
private BlockState copyRandomFaces(BlockState p_196544_1_, BlockState p_196544_2_, Random p_196544_3_) -
hasHorizontalConnection
-
canSpread
-
canBeReplaced
- Overrides:
canBeReplaced
in classAbstractBlock
-
getStateForPlacement
- Overrides:
getStateForPlacement
in classBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinition
in classBlock
-
rotate
- Overrides:
rotate
in classAbstractBlock
-
mirror
- Overrides:
mirror
in classAbstractBlock
-
getPropertyForFace
-