public class EncasedFanBlock extends DirectionalKineticBlock implements ITE<EncasedFanTileEntity>
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.Propertiesnet.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>>IRotate.SpeedLevel, IRotate.StressImpactFACINGcolorBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
EncasedFanBlock(net.minecraft.block.AbstractBlock.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
blockUpdate(net.minecraft.block.BlockState state,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
net.minecraft.util.Direction.Axis |
getRotationAxis(net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
java.lang.Class<EncasedFanTileEntity> |
getTileEntityClass() |
boolean |
hasShaftTowards(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
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) |
protected void |
notifyFanTile(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos) |
void |
onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving) |
void |
onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState p_196243_4_,
boolean p_196243_5_) |
boolean |
showCapacityWithAnnotation() |
net.minecraft.block.BlockState |
updateAfterWrenched(net.minecraft.block.BlockState newState,
net.minecraft.item.ItemUseContext context) |
void |
updateIndirectNeighbourShapes(net.minecraft.block.BlockState stateIn,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos,
int flags,
int count) |
createBlockStateDefinition, getPreferredFacing, mirror, rotateareStatesKineticallyEquivalent, canHarvestBlock, getHarvestTool, getParticleInitialRadius, getParticleTargetRadius, hasTileEntity, isToolEffective, setPlacedByanimateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, 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, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateShape, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDogetMinimumRequiredSpeedLevel, hideStressImpactgetRotatedBlockState, onSneakWrenched, onWrenched, playRemoveSound, playRotateSoundaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, 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, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic EncasedFanBlock(net.minecraft.block.AbstractBlock.Properties properties)
public net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world)
createTileEntity in interface net.minecraftforge.common.extensions.IForgeBlockcreateTileEntity in class KineticBlockpublic void onPlace(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
boolean isMoving)
onPlace in class KineticBlockpublic void updateIndirectNeighbourShapes(net.minecraft.block.BlockState stateIn,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos,
int flags,
int count)
updateIndirectNeighbourShapes in class KineticBlockpublic void onRemove(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState p_196243_4_,
boolean p_196243_5_)
onRemove in class net.minecraft.block.AbstractBlockpublic 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 net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class DirectionalKineticBlockprotected void blockUpdate(net.minecraft.block.BlockState state,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos)
protected void notifyFanTile(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos)
public net.minecraft.block.BlockState updateAfterWrenched(net.minecraft.block.BlockState newState,
net.minecraft.item.ItemUseContext context)
updateAfterWrenched in interface IWrenchablepublic net.minecraft.util.Direction.Axis getRotationAxis(net.minecraft.block.BlockState state)
getRotationAxis in interface IRotatepublic boolean hasShaftTowards(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
hasShaftTowards in interface IRotatehasShaftTowards in class KineticBlockpublic boolean showCapacityWithAnnotation()
showCapacityWithAnnotation in interface IRotatepublic java.lang.Class<EncasedFanTileEntity> getTileEntityClass()
getTileEntityClass in interface ITE<EncasedFanTileEntity>