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.RenderSideCacheKeyNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.PropertiesNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertyprivate static final VoxelShapestatic final BooleanPropertyprivate static final VoxelShapestatic final Map<Direction,BooleanProperty> private final Map<BlockState,VoxelShape> static final BooleanPropertyprivate static final VoxelShapestatic final BooleanPropertyprivate static final VoxelShapestatic final BooleanPropertyprivate static final VoxelShapeFields inherited from class net.minecraft.block.Block
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinitionFields inherited from class net.minecraft.block.AbstractBlock
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static VoxelShapecalculateShape(BlockState p_242685_0_) booleancanBeReplaced(BlockState p_196253_1_, BlockItemUseContext p_196253_2_) private booleancanSpread(IBlockReader p_196539_1_, BlockPos p_196539_2_) private booleancanSupportAtFace(IBlockReader p_196541_1_, BlockPos p_196541_2_, Direction p_196541_3_) booleancanSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) private BlockStatecopyRandomFaces(BlockState p_196544_1_, BlockState p_196544_2_, Random p_196544_3_) private intcountFaces(BlockState p_208496_1_) protected voidcreateBlockStateDefinition(StateContainer.Builder<Block, BlockState> p_206840_1_) static BooleanPropertygetPropertyForFace(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 BlockStategetUpdatedState(BlockState p_196545_1_, IBlockReader p_196545_2_, BlockPos p_196545_3_) private booleanhasFaces(BlockState p_196543_1_) private booleanhasHorizontalConnection(BlockState p_196540_1_) static booleanisAcceptableNeighbour(IBlockReader p_196542_0_, BlockPos p_196542_1_, Direction p_196542_2_) mirror(BlockState p_185471_1_, Mirror p_185471_2_) voidrandomTick(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, wasExplodedMethods 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, useShapeForLightOcclusionMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, shouldDisplayFluidOverlayMethods 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:
getShapein classAbstractBlock
-
canSurvive
- Overrides:
canSurvivein 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:
updateShapein classAbstractBlock
-
randomTick
public void randomTick(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) - Overrides:
randomTickin classAbstractBlock
-
copyRandomFaces
private BlockState copyRandomFaces(BlockState p_196544_1_, BlockState p_196544_2_, Random p_196544_3_) -
hasHorizontalConnection
-
canSpread
-
canBeReplaced
- Overrides:
canBeReplacedin classAbstractBlock
-
getStateForPlacement
- Overrides:
getStateForPlacementin classBlock
-
createBlockStateDefinition
- Overrides:
createBlockStateDefinitionin classBlock
-
rotate
- Overrides:
rotatein classAbstractBlock
-
mirror
- Overrides:
mirrorin classAbstractBlock
-
getPropertyForFace
-