Package net.minecraft.block
Class AbstractCandleBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractCandleBlock
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
CandleBlock,CandleCakeBlock
public abstract class AbstractCandleBlock extends Block
- Mappings:
Namespace Name official bxiintermediary net/minecraft/class_5540named net/minecraft/block/AbstractCandleBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields Modifier and Type Field Description static intfield_30987static BooleanPropertyLITFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCandleBlock(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description static voidextinguish(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos)protected abstract Iterable<Vec3d>getParticleOffsets(BlockState state)static booleanisLitCandle(BlockState state)protected booleanisNotLit(BlockState state)voidonProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random)private static voidsetLit(WorldAccess world, BlockState state, BlockPos pos, boolean lit)private static voidspawnCandleParticles(World world, Vec3d vec3d, Random random)Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
field_30987
public static final int field_30987- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLbxi;a:Iintermediary field_30987Lnet/minecraft/class_5540;field_30987:Inamed field_30987Lnet/minecraft/block/AbstractCandleBlock;field_30987:I
-
LIT
- Mappings:
Namespace Name Mixin selector official bLbxi;b:Lcki;intermediary field_27083Lnet/minecraft/class_5540;field_27083:Lnet/minecraft/class_2746;named LITLnet/minecraft/block/AbstractCandleBlock;LIT:Lnet/minecraft/state/property/BooleanProperty;
-
-
Constructor Details
-
AbstractCandleBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getParticleOffsets
- Mappings:
Namespace Name Mixin selector official aLbxi;a(Lcjr;)Ljava/lang/Iterable;intermediary method_31613Lnet/minecraft/class_5540;method_31613(Lnet/minecraft/class_2680;)Ljava/lang/Iterable;named getParticleOffsetsLnet/minecraft/block/AbstractCandleBlock;getParticleOffsets(Lnet/minecraft/block/BlockState;)Ljava/lang/Iterable;
-
isLitCandle
- Mappings:
Namespace Name Mixin selector official a_Lbxi;a_(Lcjr;)Zintermediary method_35245Lnet/minecraft/class_5540;method_35245(Lnet/minecraft/class_2680;)Znamed isLitCandleLnet/minecraft/block/AbstractCandleBlock;isLitCandle(Lnet/minecraft/block/BlockState;)Z
-
onProjectileHit
public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)- Overrides:
onProjectileHitin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lbvr;Lcjr;Ldlu;Lbjv;)Vintermediary method_19286Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)Vnamed onProjectileHitLnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
-
isNotLit
- Mappings:
Namespace Name Mixin selector official cLbxi;c(Lcjr;)Zintermediary method_35246Lnet/minecraft/class_5540;method_35246(Lnet/minecraft/class_2680;)Znamed isNotLitLnet/minecraft/block/AbstractCandleBlock;isNotLit(Lnet/minecraft/block/BlockState;)Z
-
randomDisplayTick
- Overrides:
randomDisplayTickin classBlock- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
spawnCandleParticles
- Mappings:
Namespace Name Mixin selector official aLbxi;a(Lbvr;Ldly;Ljava/util/Random;)Vintermediary method_31610Lnet/minecraft/class_5540;method_31610(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Ljava/util/Random;)Vnamed spawnCandleParticlesLnet/minecraft/block/AbstractCandleBlock;spawnCandleParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Ljava/util/Random;)V
-
extinguish
public static void extinguish(@Nullable @Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos)- Mappings:
Namespace Name Mixin selector official aLbxi;a(Lbjf;Lcjr;Lbvs;Lgb;)Vintermediary method_31614Lnet/minecraft/class_5540;method_31614(Lnet/minecraft/class_1657;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Vnamed extinguishLnet/minecraft/block/AbstractCandleBlock;extinguish(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
setLit
- Mappings:
Namespace Name Mixin selector official aLbxi;a(Lbvs;Lcjr;Lgb;Z)Vintermediary method_31612Lnet/minecraft/class_5540;method_31612(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Z)Vnamed setLitLnet/minecraft/block/AbstractCandleBlock;setLit(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Z)V
-