Class CopycatPanelBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.simibubi.create.content.decoration.copycat.CopycatBlock
com.simibubi.create.content.decoration.copycat.WaterloggedCopycatBlock
com.simibubi.create.content.decoration.copycat.CopycatPanelBlock
- All Implemented Interfaces:
IWrenchable,IBE<CopycatBlockEntity>,ProperWaterloggedBlock,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.BucketPickup,net.minecraft.world.level.block.EntityBlock,net.minecraft.world.level.block.LiquidBlockContainer,net.minecraft.world.level.block.SimpleWaterloggedBlock,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IBlockExtension,net.neoforged.neoforge.common.extensions.IBucketPickupExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.decoration.copycat.CopycatBlock
CopycatBlock.WrappedBlockColorNested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetFunction, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.DirectionPropertyFields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, CODEC, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIESFields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
WATERLOGGED -
Constructor Summary
ConstructorsConstructorDescriptionCopycatPanelBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties pProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConnectTexturesToward(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos fromPos, net.minecraft.core.BlockPos toPos, net.minecraft.world.level.block.state.BlockState state) booleancanFaceBeOccluded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) protected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> pBuilder) net.minecraft.world.phys.shapes.VoxelShapegetShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.phys.shapes.CollisionContext pContext) net.minecraft.world.level.block.state.BlockStategetStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext pContext) booleanhidesNeighborFace(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState neighborState, net.minecraft.core.Direction dir) booleanisAcceptedRegardless(net.minecraft.world.level.block.state.BlockState material) booleanisIgnoredConnectivitySide(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face, @Nullable net.minecraft.core.BlockPos fromPos, @Nullable net.minecraft.core.BlockPos toPos) static booleanisOccluded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.core.Direction pDirection) protected booleanisPathfindable(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.pathfinder.PathComputationType pathComputationType) net.minecraft.world.level.block.state.BlockStatemirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirrorIn) net.minecraft.world.level.block.state.BlockStateprepareMaterial(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.player.Player pPlayer, net.minecraft.world.InteractionHand pHand, net.minecraft.world.phys.BlockHitResult pHit, net.minecraft.world.level.block.state.BlockState material) net.minecraft.world.level.block.state.BlockStaterotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rot) booleanshouldFaceAlwaysRender(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) booleansupportsExternalFaceHiding(net.minecraft.world.level.block.state.BlockState state) protected net.minecraft.world.ItemInteractionResultuseItemOn(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult) Methods inherited from class com.simibubi.create.content.decoration.copycat.WaterloggedCopycatBlock
getFluidState, updateShapeMethods inherited from class com.simibubi.create.content.decoration.copycat.CopycatBlock
addLandingEffects, addRunningEffects, canEntityDestroy, canHarvestBlock, fallOn, getAcceptedBlockState, getAppearance, getBlockEntityClass, getBlockEntityType, getCloneItemStack, getDestroyProgress, getEnchantPowerBonus, getExplosionResistance, getFriction, getLightEmission, getMaterial, getSoundType, getTicker, hasDynamicLightEmission, onRemove, onSneakWrenched, onWrenched, playerWillDestroy, setPlacedBy, wrappedColorMethods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isRandomlyTicking, isSignalSource, neighborChanged, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion, useWithoutItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface com.simibubi.create.foundation.block.IBE
getBlockEntity, getBlockEntityOptional, newBlockEntity, onBlockEntityUse, onBlockEntityUseItemOn, withBlockEntityDoMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockExtension
canBeHydrated, canConnectRedstone, canDropFromExplosion, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getExpDrop, getFireSpreadSpeed, getFlammability, getMapColor, getPistonPushReaction, getRespawnPosition, getStateAtViewpoint, getToolModifiedState, getWeakChanges, ignitedByLava, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFaceMethods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSoundMethods inherited from interface com.simibubi.create.content.equipment.wrench.IWrenchable
getRotatedBlockState, updateAfterWrenchedMethods inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
fluidState, updateWater, withWaterMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
Field Details
-
FACING
public static final net.minecraft.world.level.block.state.properties.DirectionProperty FACING
-
-
Constructor Details
-
CopycatPanelBlock
public CopycatPanelBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties pProperties)
-
-
Method Details
-
isAcceptedRegardless
public boolean isAcceptedRegardless(net.minecraft.world.level.block.state.BlockState material) - Overrides:
isAcceptedRegardlessin classCopycatBlock
-
prepareMaterial
public net.minecraft.world.level.block.state.BlockState prepareMaterial(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.player.Player pPlayer, net.minecraft.world.InteractionHand pHand, net.minecraft.world.phys.BlockHitResult pHit, net.minecraft.world.level.block.state.BlockState material) - Overrides:
prepareMaterialin classCopycatBlock
-
useItemOn
protected net.minecraft.world.ItemInteractionResult useItemOn(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult) - Overrides:
useItemOnin classCopycatBlock
-
isIgnoredConnectivitySide
public boolean isIgnoredConnectivitySide(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face, @Nullable @Nullable net.minecraft.core.BlockPos fromPos, @Nullable @Nullable net.minecraft.core.BlockPos toPos) - Overrides:
isIgnoredConnectivitySidein classCopycatBlock
-
canConnectTexturesToward
public boolean canConnectTexturesToward(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos fromPos, net.minecraft.core.BlockPos toPos, net.minecraft.world.level.block.state.BlockState state) - Specified by:
canConnectTexturesTowardin classCopycatBlock
-
canFaceBeOccluded
public boolean canFaceBeOccluded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
canFaceBeOccludedin classCopycatBlock
-
shouldFaceAlwaysRender
public boolean shouldFaceAlwaysRender(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Overrides:
shouldFaceAlwaysRenderin classCopycatBlock
-
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext pContext) - Overrides:
getStateForPlacementin classWaterloggedCopycatBlock
-
createBlockStateDefinition
protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> pBuilder) - Overrides:
createBlockStateDefinitionin classWaterloggedCopycatBlock
-
getShape
public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.phys.shapes.CollisionContext pContext) - Overrides:
getShapein classnet.minecraft.world.level.block.state.BlockBehaviour
-
isPathfindable
protected boolean isPathfindable(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.pathfinder.PathComputationType pathComputationType) - Overrides:
isPathfindablein classnet.minecraft.world.level.block.state.BlockBehaviour
-
supportsExternalFaceHiding
public boolean supportsExternalFaceHiding(net.minecraft.world.level.block.state.BlockState state) -
hidesNeighborFace
public boolean hidesNeighborFace(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState neighborState, net.minecraft.core.Direction dir) -
isOccluded
public static boolean isOccluded(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.core.Direction pDirection) -
rotate
public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rot) - Overrides:
rotatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
mirror
public net.minecraft.world.level.block.state.BlockState mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirrorIn) - Overrides:
mirrorin classnet.minecraft.world.level.block.state.BlockBehaviour
-