Class FabricBlockSettings
java.lang.Object
net.minecraft.block.AbstractBlock.Settings
net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Deprecated.
-
Field Summary
Fields inherited from class net.minecraft.block.AbstractBlock.Settings
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated.protected
FabricBlockSettings
(AbstractBlock.Settings settings) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionair()
Deprecated.allowsSpawning
(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate) Deprecated.blockVision
(AbstractBlock.ContextPredicate predicate) Deprecated.Deprecated.burnable()
Deprecated.collidable
(boolean collidable) Deprecated.static FabricBlockSettings
copyOf
(AbstractBlock block) Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)
static FabricBlockSettings
copyOf
(AbstractBlock.Settings settings) Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)
static FabricBlockSettings
create()
Deprecated.replace withAbstractBlock.Settings.create()
drops
(RegistryKey<LootTable> dropTableId) Deprecated.Deprecated.Deprecated.Deprecated.emissiveLighting
(AbstractBlock.ContextPredicate predicate) Deprecated.hardness
(float hardness) Deprecated.instrument
(Instrument instrument) Deprecated.jumpVelocityMultiplier
(float jumpVelocityMultiplier) Deprecated.lightLevel
(int lightLevel) Deprecated.Please useluminance(int)
.lightLevel
(ToIntFunction<BlockState> levelFunction) Deprecated.Please useluminance(ToIntFunction)
.liquid()
Deprecated.luminance
(int luminance) Deprecated.replace withAbstractBlock.Settings.luminance(ToIntFunction)
luminance
(ToIntFunction<BlockState> luminanceFunction) Deprecated.mapColor
(Function<BlockState, MapColor> mapColorProvider) Deprecated.Deprecated.Deprecated.Please migrate toAbstractBlock.Settings.mapColor(DyeColor)
materialColor
(MapColor color) Deprecated.Please migrate toAbstractBlock.Settings.mapColor(MapColor)
materialColor
(DyeColor color) Deprecated.Please migrate toAbstractBlock.Settings.mapColor(DyeColor)
Deprecated.Deprecated.Deprecated.notSolid()
Deprecated.static FabricBlockSettings
of()
Deprecated.replace withAbstractBlock.Settings.create()
offset
(AbstractBlock.OffsetType offsetType) Deprecated.pistonBehavior
(PistonBehavior pistonBehavior) Deprecated.postProcess
(AbstractBlock.ContextPredicate predicate) Deprecated.Deprecated.requires
(FeatureFlag... features) Deprecated.Deprecated.resistance
(float resistance) Deprecated.slipperiness
(float value) Deprecated.solid()
Deprecated.solidBlock
(AbstractBlock.ContextPredicate predicate) Deprecated.sounds
(BlockSoundGroup group) Deprecated.strength
(float strength) Deprecated.strength
(float hardness, float resistance) Deprecated.suffocates
(AbstractBlock.ContextPredicate predicate) Deprecated.Deprecated.velocityMultiplier
(float velocityMultiplier) Deprecated.Methods inherited from class net.minecraft.block.AbstractBlock.Settings
copy, copyShallow
-
Constructor Details
-
FabricBlockSettings
protected FabricBlockSettings()Deprecated. -
FabricBlockSettings
Deprecated.
-
-
Method Details
-
create
Deprecated.replace withAbstractBlock.Settings.create()
-
of
Deprecated.replace withAbstractBlock.Settings.create()
-
copyOf
Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)
-
copyOf
Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)
-
noCollision
Deprecated.- Overrides:
noCollision
in classAbstractBlock.Settings
-
nonOpaque
Deprecated.- Overrides:
nonOpaque
in classAbstractBlock.Settings
-
slipperiness
Deprecated.- Overrides:
slipperiness
in classAbstractBlock.Settings
-
velocityMultiplier
Deprecated.- Overrides:
velocityMultiplier
in classAbstractBlock.Settings
-
jumpVelocityMultiplier
Deprecated.- Overrides:
jumpVelocityMultiplier
in classAbstractBlock.Settings
-
sounds
Deprecated.- Overrides:
sounds
in classAbstractBlock.Settings
-
lightLevel
Deprecated.Please useluminance(ToIntFunction)
. -
luminance
Deprecated.- Overrides:
luminance
in classAbstractBlock.Settings
-
strength
Deprecated.- Overrides:
strength
in classAbstractBlock.Settings
-
breakInstantly
Deprecated.- Overrides:
breakInstantly
in classAbstractBlock.Settings
-
strength
Deprecated.- Overrides:
strength
in classAbstractBlock.Settings
-
ticksRandomly
Deprecated.- Overrides:
ticksRandomly
in classAbstractBlock.Settings
-
dynamicBounds
Deprecated.- Overrides:
dynamicBounds
in classAbstractBlock.Settings
-
dropsNothing
Deprecated.- Overrides:
dropsNothing
in classAbstractBlock.Settings
-
dropsLike
Deprecated.- Overrides:
dropsLike
in classAbstractBlock.Settings
-
air
Deprecated.- Overrides:
air
in classAbstractBlock.Settings
-
allowsSpawning
@Deprecated public FabricBlockSettings allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate) Deprecated.- Overrides:
allowsSpawning
in classAbstractBlock.Settings
-
solidBlock
Deprecated.- Overrides:
solidBlock
in classAbstractBlock.Settings
-
suffocates
Deprecated.- Overrides:
suffocates
in classAbstractBlock.Settings
-
blockVision
Deprecated.- Overrides:
blockVision
in classAbstractBlock.Settings
-
postProcess
Deprecated.- Overrides:
postProcess
in classAbstractBlock.Settings
-
emissiveLighting
Deprecated.- Overrides:
emissiveLighting
in classAbstractBlock.Settings
-
requiresTool
Deprecated.Make the block require tool to drop and slows down mining speed if the incorrect tool is used.- Overrides:
requiresTool
in classAbstractBlock.Settings
-
mapColor
Deprecated.- Overrides:
mapColor
in classAbstractBlock.Settings
-
hardness
Deprecated.- Overrides:
hardness
in classAbstractBlock.Settings
-
resistance
Deprecated.- Overrides:
resistance
in classAbstractBlock.Settings
-
offset
Deprecated.- Overrides:
offset
in classAbstractBlock.Settings
-
noBlockBreakParticles
Deprecated.- Overrides:
noBlockBreakParticles
in classAbstractBlock.Settings
-
requires
Deprecated.- Overrides:
requires
in classAbstractBlock.Settings
-
mapColor
Deprecated.- Overrides:
mapColor
in classAbstractBlock.Settings
-
burnable
Deprecated.- Overrides:
burnable
in classAbstractBlock.Settings
-
liquid
Deprecated.- Overrides:
liquid
in classAbstractBlock.Settings
-
solid
Deprecated.- Overrides:
solid
in classAbstractBlock.Settings
-
notSolid
Deprecated.- Overrides:
notSolid
in classAbstractBlock.Settings
-
pistonBehavior
Deprecated.- Overrides:
pistonBehavior
in classAbstractBlock.Settings
-
instrument
Deprecated.- Overrides:
instrument
in classAbstractBlock.Settings
-
replaceable
Deprecated.- Overrides:
replaceable
in classAbstractBlock.Settings
-
lightLevel
Deprecated.Please useluminance(int)
. -
luminance
Deprecated.replace withAbstractBlock.Settings.luminance(ToIntFunction)
-
drops
Deprecated. -
materialColor
Deprecated.Please migrate toAbstractBlock.Settings.mapColor(MapColor)
-
materialColor
Deprecated.Please migrate toAbstractBlock.Settings.mapColor(DyeColor)
-
mapColor
Deprecated.Please migrate toAbstractBlock.Settings.mapColor(DyeColor)
- Overrides:
mapColor
in classAbstractBlock.Settings
-
collidable
Deprecated.
-
AbstractBlock.Settings