Uses of Class
net.minecraft.block.AbstractBlock.Settings
-
Uses of AbstractBlock.Settings in net.minecraft.block
Modifier and TypeFieldDescriptionprotected final AbstractBlock.Settings
AbstractBlock.settings
TheAbstractBlock.Settings
to apply to this block.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AbstractBlock.Settings> AbstractBlock.Settings.CODEC
Modifier and TypeMethodDescriptionAbstractBlock.Settings.air()
AbstractBlock.Settings.allowsSpawning
(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate) Specifies logic that calculates whether an entity can spawn on a block.AbstractBlock.Settings.blockVision
(AbstractBlock.ContextPredicate predicate) AbstractBlock.Settings.breakInstantly()
Specifies that a block is broken instantly.AbstractBlock.Settings.burnable()
static AbstractBlock.Settings
AbstractBlock.Settings.copy
(AbstractBlock block) static AbstractBlock.Settings
AbstractBlock.Settings.copyShallow
(AbstractBlock block) Deprecated.static AbstractBlock.Settings
AbstractBlock.Settings.create()
Specifies that a block should drop the same items as a provided block.AbstractBlock.Settings.dropsNothing()
AbstractBlock.Settings.dynamicBounds()
Specifies that a block's collision bounds can dynamically resize.AbstractBlock.Settings.emissiveLighting
(AbstractBlock.ContextPredicate predicate) AbstractBlock.getSettings()
AbstractBlock.Settings.hardness
(float hardness) AbstractBlock.Settings.instrument
(NoteBlockInstrument instrument) AbstractBlock.Settings.jumpVelocityMultiplier
(float jumpVelocityMultiplier) AbstractBlock.Settings.liquid()
AbstractBlock.Settings.luminance
(ToIntFunction<BlockState> luminance) Specifies the light level emitted by a block.AbstractBlock.Settings.mapColor
(Function<BlockState, MapColor> mapColorProvider) AbstractBlock.Settings.noBlockBreakParticles()
AbstractBlock.Settings.noCollision()
Specifies that a block should have no collision bounds.AbstractBlock.Settings.nonOpaque()
Specifies that a block should be non-opaque and light should be allowed to pass through.AbstractBlock.Settings.notSolid()
Deprecated.AbstractBlock.Settings.offset
(AbstractBlock.OffsetType offsetType) AbstractBlock.Settings.pistonBehavior
(PistonBehavior pistonBehavior) AbstractBlock.Settings.postProcess
(AbstractBlock.ContextPredicate predicate) AbstractBlock.Settings.replaceable()
AbstractBlock.Settings.requires
(FeatureFlag[] features) AbstractBlock.Settings.requiresTool()
AbstractBlock.Settings.resistance
(float resistance) AbstractBlock.Settings.slipperiness
(float slipperiness) AbstractBlock.Settings.solid()
AbstractBlock.Settings.solidBlock
(AbstractBlock.ContextPredicate predicate) AbstractBlock.Settings.sounds
(BlockSoundGroup soundGroup) AbstractBlock.Settings.strength
(float strength) AbstractBlock.Settings.strength
(float hardness, float resistance) AbstractBlock.Settings.suffocates
(AbstractBlock.ContextPredicate predicate) Specifies logic that calculates whether an entity should suffocate if inside of a block.AbstractBlock.Settings.ticksRandomly()
AbstractBlock.Settings.velocityMultiplier
(float velocityMultiplier) Modifier and TypeMethodDescriptionprotected static <B extends Block>
com.mojang.serialization.codecs.RecordCodecBuilder<B, AbstractBlock.Settings> AbstractBlock.createSettingsCodec()
Modifier and TypeMethodDescriptionstatic <B extends Block>
com.mojang.serialization.MapCodec<B> AbstractBlock.createCodec
(Function<AbstractBlock.Settings, B> blockFromSettings) ModifierConstructorDescriptionprotected
AbstractBannerBlock
(DyeColor color, AbstractBlock.Settings settings) AbstractBlock
(AbstractBlock.Settings settings) protected
AbstractCandleBlock
(AbstractBlock.Settings settings) AbstractCauldronBlock
(AbstractBlock.Settings settings, CauldronBehavior.CauldronBehaviorMap behaviorMap) Constructs a cauldron block.protected
AbstractChestBlock
(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier) AbstractFireBlock
(AbstractBlock.Settings settings, float damage) protected
AbstractFurnaceBlock
(AbstractBlock.Settings settings) protected
AbstractPlantBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protected
AbstractPlantPartBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protected
AbstractPlantStemBlock
(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater, double growthChance) protected
AbstractPressurePlateBlock
(AbstractBlock.Settings settings, BlockSetType blockSetType) protected
AbstractRailBlock
(boolean forbidCurves, AbstractBlock.Settings settings) protected
protected
AbstractSignBlock
(WoodType type, AbstractBlock.Settings settings) AbstractSkullBlock
(SkullBlock.SkullType type, AbstractBlock.Settings settings) protected
AbstractTorchBlock
(AbstractBlock.Settings settings) AirBlock
(AbstractBlock.Settings settings) AmethystBlock
(AbstractBlock.Settings settings) AmethystClusterBlock
(float height, float xzOffset, AbstractBlock.Settings settings) AnvilBlock
(AbstractBlock.Settings settings) protected
AttachedStemBlock
(RegistryKey<Block> stemBlock, RegistryKey<Block> gourdBlock, RegistryKey<Item> pickBlockItem, AbstractBlock.Settings settings) protected
AzaleaBlock
(AbstractBlock.Settings settings) BambooBlock
(AbstractBlock.Settings settings) BambooShootBlock
(AbstractBlock.Settings settings) BannerBlock
(DyeColor color, AbstractBlock.Settings settings) BarrelBlock
(AbstractBlock.Settings settings) protected
BarrierBlock
(AbstractBlock.Settings settings) BeaconBlock
(AbstractBlock.Settings settings) BedBlock
(DyeColor color, AbstractBlock.Settings settings) BeehiveBlock
(AbstractBlock.Settings settings) BeetrootsBlock
(AbstractBlock.Settings settings) BellBlock
(AbstractBlock.Settings settings) protected
BigDripleafBlock
(AbstractBlock.Settings settings) protected
BigDripleafStemBlock
(AbstractBlock.Settings settings) protected
BlastFurnaceBlock
(AbstractBlock.Settings settings) Block
(AbstractBlock.Settings settings) protected
BlockWithEntity
(AbstractBlock.Settings settings) BrewingStandBlock
(AbstractBlock.Settings settings) BrushableBlock
(Block baseBlock, SoundEvent brushingSound, SoundEvent brushingCompleteSound, AbstractBlock.Settings settings) BubbleColumnBlock
(AbstractBlock.Settings settings) BuddingAmethystBlock
(AbstractBlock.Settings settings) BulbBlock
(AbstractBlock.Settings settings) protected
ButtonBlock
(BlockSetType blockSetType, int pressTicks, AbstractBlock.Settings settings) protected
CactusBlock
(AbstractBlock.Settings settings) protected
CakeBlock
(AbstractBlock.Settings settings) CampfireBlock
(boolean emitsParticles, int fireDamage, AbstractBlock.Settings settings) CandleBlock
(AbstractBlock.Settings settings) protected
CandleCakeBlock
(Block candle, AbstractBlock.Settings settings) CarpetBlock
(AbstractBlock.Settings settings) CarrotsBlock
(AbstractBlock.Settings settings) protected
CartographyTableBlock
(AbstractBlock.Settings settings) protected
CarvedPumpkinBlock
(AbstractBlock.Settings settings) CauldronBlock
(AbstractBlock.Settings settings) CaveVinesBodyBlock
(AbstractBlock.Settings settings) CaveVinesHeadBlock
(AbstractBlock.Settings settings) ChainBlock
(AbstractBlock.Settings settings) CherryLeavesBlock
(AbstractBlock.Settings settings) protected
ChestBlock
(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends ChestBlockEntity>> entityTypeSupplier) ChiseledBookshelfBlock
(AbstractBlock.Settings settings) protected
ChorusFlowerBlock
(Block plantBlock, AbstractBlock.Settings settings) protected
ChorusPlantBlock
(AbstractBlock.Settings settings) CobwebBlock
(AbstractBlock.Settings settings) CocoaBlock
(AbstractBlock.Settings settings) ColoredFallingBlock
(ColorCode color, AbstractBlock.Settings settings) CommandBlock
(boolean auto, AbstractBlock.Settings settings) ComparatorBlock
(AbstractBlock.Settings settings) ComposterBlock
(AbstractBlock.Settings settings) ConcretePowderBlock
(Block hardened, AbstractBlock.Settings settings) ConduitBlock
(AbstractBlock.Settings settings) protected
ConnectingBlock
(float radius, AbstractBlock.Settings settings) protected
CoralBlock
(Block deadCoralBlock, AbstractBlock.Settings settings) CoralBlockBlock
(Block deadCoralBlock, AbstractBlock.Settings settings) protected
CoralFanBlock
(Block deadCoralBlock, AbstractBlock.Settings settings) protected
CoralParentBlock
(AbstractBlock.Settings settings) protected
CoralWallFanBlock
(Block deadCoralBlock, AbstractBlock.Settings settings) CrafterBlock
(AbstractBlock.Settings settings) protected
CraftingTableBlock
(AbstractBlock.Settings settings) protected
CropBlock
(AbstractBlock.Settings settings) CryingObsidianBlock
(AbstractBlock.Settings settings) DaylightDetectorBlock
(AbstractBlock.Settings settings) protected
DeadBushBlock
(AbstractBlock.Settings settings) protected
DeadCoralBlock
(AbstractBlock.Settings settings) protected
DeadCoralFanBlock
(AbstractBlock.Settings settings) protected
DeadCoralWallFanBlock
(AbstractBlock.Settings settings) protected
DecoratedPotBlock
(AbstractBlock.Settings settings) DetectorRailBlock
(AbstractBlock.Settings settings) protected
DirtPathBlock
(AbstractBlock.Settings settings) protected
DispenserBlock
(AbstractBlock.Settings settings) protected
DoorBlock
(BlockSetType type, AbstractBlock.Settings settings) DragonEggBlock
(AbstractBlock.Settings settings) DropperBlock
(AbstractBlock.Settings settings) protected
DyedCarpetBlock
(DyeColor dyeColor, AbstractBlock.Settings settings) protected
EnchantingTableBlock
(AbstractBlock.Settings settings) protected
EnderChestBlock
(AbstractBlock.Settings settings) protected
EndGatewayBlock
(AbstractBlock.Settings settings) protected
EndPortalBlock
(AbstractBlock.Settings settings) EndPortalFrameBlock
(AbstractBlock.Settings settings) protected
EndRodBlock
(AbstractBlock.Settings settings) ExperienceDroppingBlock
(IntProvider experienceDropped, AbstractBlock.Settings settings) protected
FacingBlock
(AbstractBlock.Settings settings) FallingBlock
(AbstractBlock.Settings settings) protected
FarmlandBlock
(AbstractBlock.Settings settings) FenceBlock
(AbstractBlock.Settings settings) FenceGateBlock
(WoodType type, AbstractBlock.Settings settings) FireBlock
(AbstractBlock.Settings settings) protected
FletchingTableBlock
(AbstractBlock.Settings settings) protected
FlowerbedBlock
(AbstractBlock.Settings settings) FlowerBlock
(SuspiciousStewEffectsComponent stewEffects, AbstractBlock.Settings settings) FlowerBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) FlowerPotBlock
(Block content, AbstractBlock.Settings settings) protected
FluidBlock
(FlowableFluid fluid, AbstractBlock.Settings settings) FrogspawnBlock
(AbstractBlock.Settings settings) FrostedIceBlock
(AbstractBlock.Settings settings) protected
FungusBlock
(RegistryKey<ConfiguredFeature<?, ?>> featureKey, Block nylium, AbstractBlock.Settings settings) protected
FurnaceBlock
(AbstractBlock.Settings settings) GlazedTerracottaBlock
(AbstractBlock.Settings settings) GlowLichenBlock
(AbstractBlock.Settings settings) GrassBlock
(AbstractBlock.Settings settings) protected
GrateBlock
(AbstractBlock.Settings settings) protected
GrindstoneBlock
(AbstractBlock.Settings settings) protected
HangingRootsBlock
(AbstractBlock.Settings settings) HangingSignBlock
(WoodType type, AbstractBlock.Settings settings) HayBlock
(AbstractBlock.Settings settings) HeavyCoreBlock
(AbstractBlock.Settings settings) HoneyBlock
(AbstractBlock.Settings settings) HopperBlock
(AbstractBlock.Settings settings) protected
HorizontalConnectingBlock
(float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock.Settings settings) protected
HorizontalFacingBlock
(AbstractBlock.Settings settings) IceBlock
(AbstractBlock.Settings settings) InfestedBlock
(Block regularBlock, AbstractBlock.Settings settings) Creates an infested blockprotected
JigsawBlock
(AbstractBlock.Settings settings) protected
JukeboxBlock
(AbstractBlock.Settings settings) protected
KelpBlock
(AbstractBlock.Settings settings) protected
KelpPlantBlock
(AbstractBlock.Settings settings) protected
LadderBlock
(AbstractBlock.Settings settings) LanternBlock
(AbstractBlock.Settings settings) LavaCauldronBlock
(AbstractBlock.Settings settings) LeavesBlock
(AbstractBlock.Settings settings) protected
LecternBlock
(AbstractBlock.Settings settings) LeveledCauldronBlock
(Biome.Precipitation precipitation, CauldronBehavior.CauldronBehaviorMap behaviorMap, AbstractBlock.Settings settings) Constructs a leveled cauldron block.protected
LeverBlock
(AbstractBlock.Settings settings) LightBlock
(AbstractBlock.Settings settings) LightningRodBlock
(AbstractBlock.Settings settings) protected
LilyPadBlock
(AbstractBlock.Settings settings) protected
LoomBlock
(AbstractBlock.Settings settings) MagmaBlock
(AbstractBlock.Settings settings) MangroveLeavesBlock
(AbstractBlock.Settings settings) protected
MangroveRootsBlock
(AbstractBlock.Settings settings) MossBlock
(AbstractBlock.Settings settings) MudBlock
(AbstractBlock.Settings settings) MultifaceGrowthBlock
(AbstractBlock.Settings settings) MushroomBlock
(AbstractBlock.Settings settings) MushroomPlantBlock
(RegistryKey<ConfiguredFeature<?, ?>> featureKey, AbstractBlock.Settings settings) MyceliumBlock
(AbstractBlock.Settings settings) NetherPortalBlock
(AbstractBlock.Settings settings) NetherrackBlock
(AbstractBlock.Settings settings) protected
NetherWartBlock
(AbstractBlock.Settings settings) NoteBlock
(AbstractBlock.Settings settings) protected
NyliumBlock
(AbstractBlock.Settings settings) ObserverBlock
(AbstractBlock.Settings settings) OxidizableBlock
(Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) OxidizableBulbBlock
(Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) protected
OxidizableDoorBlock
(BlockSetType type, Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) protected
OxidizableGrateBlock
(Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) OxidizableSlabBlock
(Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) OxidizableStairsBlock
(Oxidizable.OxidationLevel oxidationLevel, BlockState baseBlockState, AbstractBlock.Settings settings) protected
OxidizableTrapdoorBlock
(BlockSetType type, Oxidizable.OxidationLevel oxidationLevel, AbstractBlock.Settings settings) protected
PaneBlock
(AbstractBlock.Settings settings) PillarBlock
(AbstractBlock.Settings settings) PistonBlock
(boolean sticky, AbstractBlock.Settings settings) PistonExtensionBlock
(AbstractBlock.Settings settings) PistonHeadBlock
(AbstractBlock.Settings settings) PitcherCropBlock
(AbstractBlock.Settings settings) protected
PlantBlock
(AbstractBlock.Settings settings) protected
PlayerSkullBlock
(AbstractBlock.Settings settings) PointedDripstoneBlock
(AbstractBlock.Settings settings) PotatoesBlock
(AbstractBlock.Settings settings) PowderSnowBlock
(AbstractBlock.Settings settings) protected
PoweredRailBlock
(AbstractBlock.Settings settings) protected
PressurePlateBlock
(BlockSetType type, AbstractBlock.Settings settings) PropaguleBlock
(SaplingGenerator generator, AbstractBlock.Settings settings) protected
PumpkinBlock
(AbstractBlock.Settings settings) protected
RailBlock
(AbstractBlock.Settings settings) RedstoneBlock
(AbstractBlock.Settings settings) RedstoneLampBlock
(AbstractBlock.Settings settings) RedstoneOreBlock
(AbstractBlock.Settings settings) protected
RedstoneTorchBlock
(AbstractBlock.Settings settings) RedstoneWireBlock
(AbstractBlock.Settings settings) protected
RepeaterBlock
(AbstractBlock.Settings settings) RespawnAnchorBlock
(AbstractBlock.Settings settings) protected
RodBlock
(AbstractBlock.Settings settings) RootedDirtBlock
(AbstractBlock.Settings settings) protected
RootsBlock
(AbstractBlock.Settings settings) RotatedInfestedBlock
(Block regularBlock, AbstractBlock.Settings settings) Creates an infested blockprotected
SaplingBlock
(SaplingGenerator generator, AbstractBlock.Settings settings) protected
ScaffoldingBlock
(AbstractBlock.Settings settings) SculkBlock
(AbstractBlock.Settings settings) SculkCatalystBlock
(AbstractBlock.Settings settings) SculkSensorBlock
(AbstractBlock.Settings settings) SculkShriekerBlock
(AbstractBlock.Settings settings) SculkVeinBlock
(AbstractBlock.Settings settings) protected
SeagrassBlock
(AbstractBlock.Settings settings) protected
SeaPickleBlock
(AbstractBlock.Settings settings) protected
ShortPlantBlock
(AbstractBlock.Settings settings) ShulkerBoxBlock
(@Nullable DyeColor color, AbstractBlock.Settings settings) SignBlock
(WoodType type, AbstractBlock.Settings settings) protected
SkullBlock
(SkullBlock.SkullType type, AbstractBlock.Settings settings) SlabBlock
(AbstractBlock.Settings settings) SlimeBlock
(AbstractBlock.Settings settings) SmallDripleafBlock
(AbstractBlock.Settings settings) protected
SmithingTableBlock
(AbstractBlock.Settings settings) protected
SmokerBlock
(AbstractBlock.Settings settings) SnifferEggBlock
(AbstractBlock.Settings settings) protected
SnowBlock
(AbstractBlock.Settings settings) protected
SnowyBlock
(AbstractBlock.Settings settings) SoulFireBlock
(AbstractBlock.Settings settings) SoulSandBlock
(AbstractBlock.Settings settings) protected
SpawnerBlock
(AbstractBlock.Settings settings) protected
SpongeBlock
(AbstractBlock.Settings settings) SporeBlossomBlock
(AbstractBlock.Settings settings) protected
SpreadableBlock
(AbstractBlock.Settings settings) SproutsBlock
(AbstractBlock.Settings settings) StainedGlassBlock
(DyeColor color, AbstractBlock.Settings settings) StainedGlassPaneBlock
(DyeColor color, AbstractBlock.Settings settings) protected
StairsBlock
(BlockState baseBlockState, AbstractBlock.Settings settings) protected
StemBlock
(RegistryKey<Block> gourdBlock, RegistryKey<Block> attachedStemBlock, RegistryKey<Item> pickBlockItem, AbstractBlock.Settings settings) StonecutterBlock
(AbstractBlock.Settings settings) protected
StructureBlock
(AbstractBlock.Settings settings) protected
StructureVoidBlock
(AbstractBlock.Settings settings) protected
SugarCaneBlock
(AbstractBlock.Settings settings) SweetBerryBushBlock
(AbstractBlock.Settings settings) TallFlowerBlock
(AbstractBlock.Settings settings) TallPlantBlock
(AbstractBlock.Settings settings) TallSeagrassBlock
(AbstractBlock.Settings settings) TargetBlock
(AbstractBlock.Settings settings) TintedGlassBlock
(AbstractBlock.Settings settings) TntBlock
(AbstractBlock.Settings settings) protected
TorchBlock
(SimpleParticleType particle, AbstractBlock.Settings settings) TorchflowerBlock
(AbstractBlock.Settings settings) protected
TranslucentBlock
(AbstractBlock.Settings settings) protected
TransparentBlock
(AbstractBlock.Settings settings) protected
TrapdoorBlock
(BlockSetType type, AbstractBlock.Settings settings) TrappedChestBlock
(AbstractBlock.Settings settings) TrialSpawnerBlock
(AbstractBlock.Settings settings) TripwireBlock
(Block hookBlock, AbstractBlock.Settings settings) TripwireHookBlock
(AbstractBlock.Settings settings) TurtleEggBlock
(AbstractBlock.Settings settings) TwistingVinesBlock
(AbstractBlock.Settings settings) VaultBlock
(AbstractBlock.Settings settings) VineBlock
(AbstractBlock.Settings settings) WallBannerBlock
(DyeColor color, AbstractBlock.Settings settings) WallBlock
(AbstractBlock.Settings settings) WallHangingSignBlock
(WoodType type, AbstractBlock.Settings settings) protected
WallMountedBlock
(AbstractBlock.Settings settings) WallPiglinHeadBlock
(AbstractBlock.Settings settings) protected
WallPlayerSkullBlock
(AbstractBlock.Settings settings) protected
WallRedstoneTorchBlock
(AbstractBlock.Settings settings) WallSignBlock
(WoodType type, AbstractBlock.Settings settings) protected
WallSkullBlock
(SkullBlock.SkullType type, AbstractBlock.Settings settings) protected
WallTorchBlock
(SimpleParticleType particle, AbstractBlock.Settings settings) protected
WallWitherSkullBlock
(AbstractBlock.Settings settings) protected
WeepingVinesBlock
(AbstractBlock.Settings settings) WeepingVinesPlantBlock
(AbstractBlock.Settings settings) protected
WeightedPressurePlateBlock
(int weight, BlockSetType type, AbstractBlock.Settings settings) protected
WetSpongeBlock
(AbstractBlock.Settings settings) WitherRoseBlock
(SuspiciousStewEffectsComponent stewEffects, AbstractBlock.Settings settings) WitherRoseBlock
(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) protected
WitherSkullBlock
(AbstractBlock.Settings settings)