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 bvm
intermediary net/minecraft/class_5540
named net/minecraft/block/AbstractCandleBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested 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 BooleanProperty
LIT
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields 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 protected
AbstractCandleBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description protected static void
extinguish(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos)
protected abstract Iterable<Vec3d>
getParticleOffsets(BlockState state)
void
onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
void
randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
private static void
setLit(WorldAccess world, BlockState state, BlockPos pos, boolean lit)
private static void
spawnCandleParticles(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, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
LIT
- Mappings:
Namespace Name Mixin selector official a
Lbvm;a:Lcik;
intermediary field_27083
Lnet/minecraft/class_5540;field_27083:Lnet/minecraft/class_2746;
named LIT
Lnet/minecraft/block/AbstractCandleBlock;LIT:Lnet/minecraft/state/property/BooleanProperty;
-
-
Constructor Details
-
AbstractCandleBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lchs$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getParticleOffsets
- Mappings:
Namespace Name Mixin selector official a
Lbvm;a(Lcht;)Ljava/lang/Iterable;
intermediary method_31613
Lnet/minecraft/class_5540;method_31613(Lnet/minecraft/class_2680;)Ljava/lang/Iterable;
named getParticleOffsets
Lnet/minecraft/block/AbstractCandleBlock;getParticleOffsets(Lnet/minecraft/block/BlockState;)Ljava/lang/Iterable;
-
onProjectileHit
public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)- Overrides:
onProjectileHit
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lbtv;Lcht;Ldiq;Lbib;)V
intermediary method_19286
Lnet/minecraft/class_4970;method_19286(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_3965;Lnet/minecraft/class_1676;)V
named onProjectileHit
Lnet/minecraft/block/AbstractBlock;onProjectileHit(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/hit/BlockHitResult;Lnet/minecraft/entity/projectile/ProjectileEntity;)V
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)- Overrides:
randomDisplayTick
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lcht;Lbtv;Lfx;Ljava/util/Random;)V
intermediary method_9496
Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named randomDisplayTick
Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
spawnCandleParticles
@Environment(CLIENT) private static void spawnCandleParticles(World world, Vec3d vec3d, Random random)- Mappings:
Namespace Name Mixin selector official a
Lbvm;a(Lbtv;Ldiu;Ljava/util/Random;)V
intermediary method_31610
Lnet/minecraft/class_5540;method_31610(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Ljava/util/Random;)V
named spawnCandleParticles
Lnet/minecraft/block/AbstractCandleBlock;spawnCandleParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Ljava/util/Random;)V
-
extinguish
protected static void extinguish(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos)- Mappings:
Namespace Name Mixin selector official a
Lbvm;a(Lbhl;Lcht;Lbtw;Lfx;)V
intermediary method_31614
Lnet/minecraft/class_5540;method_31614(Lnet/minecraft/class_1657;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named extinguish
Lnet/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 a
Lbvm;a(Lbtw;Lcht;Lfx;Z)V
intermediary method_31612
Lnet/minecraft/class_5540;method_31612(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Z)V
named setLit
Lnet/minecraft/block/AbstractCandleBlock;setLit(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Z)V
-