public abstract class AbstractFunnelBlock extends net.minecraft.block.Block implements ITE<FunnelTileEntity>, IWrenchable
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 |
POWERED |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFunnelBlock(net.minecraft.block.AbstractBlock.Properties p_i48377_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDestroyEffects(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager manager) |
boolean |
canSurvive(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos) |
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) |
protected abstract net.minecraft.util.Direction |
getFacing(net.minecraft.block.BlockState state) |
static net.minecraft.util.Direction |
getFunnelFacing(net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
java.lang.Class<FunnelTileEntity> |
getTileEntityClass() |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
static boolean |
isFunnel(net.minecraft.block.BlockState state) |
boolean |
isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
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) |
void |
onRemove(net.minecraft.block.BlockState p_196243_1_,
net.minecraft.world.World p_196243_2_,
net.minecraft.util.math.BlockPos p_196243_3_,
net.minecraft.block.BlockState p_196243_4_,
boolean p_196243_5_) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random r) |
static net.minecraft.item.ItemStack |
tryInsert(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack toInsert,
boolean simulate) |
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, wasExplodedattack, canBeReplaced, canBeReplaced, 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, isSignalSource, mirror, onPlace, onProjectileHit, randomTick, rotate, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDogetRotatedBlockState, onSneakWrenched, onWrenched, playRemoveSound, playRotateSound, updateAfterWrenchedaddHitEffects, addLandingEffects, addRunningEffects, 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, shouldCheckWeakPower, shouldDisplayFluidOverlayprotected AbstractFunnelBlock(net.minecraft.block.AbstractBlock.Properties p_i48377_1_)
public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement 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.AbstractBlockprotected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class net.minecraft.block.Blockpublic boolean addDestroyEffects(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager manager)
addDestroyEffects in interface net.minecraftforge.common.extensions.IForgeBlockpublic 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 void tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random r)
tick in class net.minecraft.block.AbstractBlockpublic static net.minecraft.item.ItemStack tryInsert(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack toInsert,
boolean simulate)
public boolean hasTileEntity(net.minecraft.block.BlockState state)
hasTileEntity 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 boolean canSurvive(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos)
canSurvive in class net.minecraft.block.AbstractBlock@Nullable public static boolean isFunnel(net.minecraft.block.BlockState state)
@Nullable public static net.minecraft.util.Direction getFunnelFacing(net.minecraft.block.BlockState state)
protected abstract net.minecraft.util.Direction getFacing(net.minecraft.block.BlockState state)
public void onRemove(net.minecraft.block.BlockState p_196243_1_,
net.minecraft.world.World p_196243_2_,
net.minecraft.util.math.BlockPos p_196243_3_,
net.minecraft.block.BlockState p_196243_4_,
boolean p_196243_5_)
onRemove in class net.minecraft.block.AbstractBlockpublic java.lang.Class<FunnelTileEntity> getTileEntityClass()
getTileEntityClass in interface ITE<FunnelTileEntity>