public class StickerBlock extends WrenchableDirectionalBlock implements ITE<StickerTileEntity>
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.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
EXTENDED |
static net.minecraft.state.BooleanProperty |
POWERED |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
StickerBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLandingEffects(net.minecraft.block.BlockState state1,
net.minecraft.world.server.ServerWorld worldserver,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state2,
net.minecraft.entity.LivingEntity entity,
int numberOfParticles) |
boolean |
addRunningEffects(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
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_) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
java.lang.Class<StickerTileEntity> |
getTileEntityClass() |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
void |
neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos,
boolean isMoving) |
boolean |
shouldCheckWeakPower(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
void |
stepOn(net.minecraft.world.World p_176199_1_,
net.minecraft.util.math.BlockPos p_176199_2_,
net.minecraft.entity.Entity p_176199_3_) |
void |
updateEntityAfterFallOn(net.minecraft.world.IBlockReader p_176216_1_,
net.minecraft.entity.Entity p_176216_2_) |
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, toString, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDoonSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedaddDestroyEffects, addHitEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldDisplayFluidOverlaypublic static final net.minecraft.state.BooleanProperty POWERED
public static final net.minecraft.state.BooleanProperty EXTENDED
public StickerBlock(net.minecraft.block.AbstractBlock.Properties p_i48415_1_)
public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class WrenchableDirectionalBlockprotected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class WrenchableDirectionalBlockpublic void neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos,
boolean isMoving)
neighborChanged in class net.minecraft.block.AbstractBlockpublic boolean hasTileEntity(net.minecraft.block.BlockState state)
hasTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic boolean shouldCheckWeakPower(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side)
shouldCheckWeakPower in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world)
createTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockpublic java.lang.Class<StickerTileEntity> getTileEntityClass()
getTileEntityClass in interface ITE<StickerTileEntity>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 void stepOn(net.minecraft.world.World p_176199_1_,
net.minecraft.util.math.BlockPos p_176199_2_,
net.minecraft.entity.Entity p_176199_3_)
stepOn in class net.minecraft.block.Blockpublic boolean addLandingEffects(net.minecraft.block.BlockState state1,
net.minecraft.world.server.ServerWorld worldserver,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state2,
net.minecraft.entity.LivingEntity entity,
int numberOfParticles)
addLandingEffects in interface net.minecraftforge.common.extensions.IForgeBlockpublic boolean addRunningEffects(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity)
addRunningEffects in interface net.minecraftforge.common.extensions.IForgeBlock