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
ConstructorsModifierConstructorDescriptionprotectedDeprecated.protectedFabricBlockSettings(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 FabricBlockSettingscopyOf(AbstractBlock block) Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)static FabricBlockSettingscopyOf(AbstractBlock.Settings settings) Deprecated.replace withAbstractBlock.Settings.copy(AbstractBlock)static FabricBlockSettingscreate()Deprecated.replace withAbstractBlock.Settings.create()drops(RegistryKey<LootTable> dropTableId) Deprecated.Deprecated.Deprecated.Deprecated.emissiveLighting(AbstractBlock.ContextPredicate predicate) Deprecated.hardness(float hardness) Deprecated.instrument(NoteBlockInstrument 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 FabricBlockSettingsof()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:
noCollisionin classAbstractBlock.Settings
-
nonOpaque
Deprecated.- Overrides:
nonOpaquein classAbstractBlock.Settings
-
slipperiness
Deprecated.- Overrides:
slipperinessin classAbstractBlock.Settings
-
velocityMultiplier
Deprecated.- Overrides:
velocityMultiplierin classAbstractBlock.Settings
-
jumpVelocityMultiplier
Deprecated.- Overrides:
jumpVelocityMultiplierin classAbstractBlock.Settings
-
sounds
Deprecated.- Overrides:
soundsin classAbstractBlock.Settings
-
lightLevel
Deprecated.Please useluminance(ToIntFunction). -
luminance
Deprecated.- Overrides:
luminancein classAbstractBlock.Settings
-
strength
Deprecated.- Overrides:
strengthin classAbstractBlock.Settings
-
breakInstantly
Deprecated.- Overrides:
breakInstantlyin classAbstractBlock.Settings
-
strength
Deprecated.- Overrides:
strengthin classAbstractBlock.Settings
-
ticksRandomly
Deprecated.- Overrides:
ticksRandomlyin classAbstractBlock.Settings
-
dynamicBounds
Deprecated.- Overrides:
dynamicBoundsin classAbstractBlock.Settings
-
dropsNothing
Deprecated.- Overrides:
dropsNothingin classAbstractBlock.Settings
-
dropsLike
Deprecated.- Overrides:
dropsLikein classAbstractBlock.Settings
-
air
Deprecated.- Overrides:
airin classAbstractBlock.Settings
-
allowsSpawning
@Deprecated public FabricBlockSettings allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate) Deprecated.- Overrides:
allowsSpawningin classAbstractBlock.Settings
-
solidBlock
Deprecated.- Overrides:
solidBlockin classAbstractBlock.Settings
-
suffocates
Deprecated.- Overrides:
suffocatesin classAbstractBlock.Settings
-
blockVision
Deprecated.- Overrides:
blockVisionin classAbstractBlock.Settings
-
postProcess
Deprecated.- Overrides:
postProcessin classAbstractBlock.Settings
-
emissiveLighting
Deprecated.- Overrides:
emissiveLightingin classAbstractBlock.Settings
-
requiresTool
Deprecated.Make the block require tool to drop and slows down mining speed if the incorrect tool is used.- Overrides:
requiresToolin classAbstractBlock.Settings
-
mapColor
Deprecated.- Overrides:
mapColorin classAbstractBlock.Settings
-
hardness
Deprecated.- Overrides:
hardnessin classAbstractBlock.Settings
-
resistance
Deprecated.- Overrides:
resistancein classAbstractBlock.Settings
-
offset
Deprecated.- Overrides:
offsetin classAbstractBlock.Settings
-
noBlockBreakParticles
Deprecated.- Overrides:
noBlockBreakParticlesin classAbstractBlock.Settings
-
requires
Deprecated.- Overrides:
requiresin classAbstractBlock.Settings
-
mapColor
Deprecated.- Overrides:
mapColorin classAbstractBlock.Settings
-
burnable
Deprecated.- Overrides:
burnablein classAbstractBlock.Settings
-
liquid
Deprecated.- Overrides:
liquidin classAbstractBlock.Settings
-
solid
Deprecated.- Overrides:
solidin classAbstractBlock.Settings
-
notSolid
Deprecated.- Overrides:
notSolidin classAbstractBlock.Settings
-
pistonBehavior
Deprecated.- Overrides:
pistonBehaviorin classAbstractBlock.Settings
-
instrument
Deprecated.- Overrides:
instrumentin classAbstractBlock.Settings
-
replaceable
Deprecated.- Overrides:
replaceablein 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:
mapColorin classAbstractBlock.Settings
-
collidable
Deprecated.
-
AbstractBlock.Settings