Package dev.architectury.registry.block
Class BlockProperties
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour.Properties
dev.architectury.registry.block.BlockProperties
- All Implemented Interfaces:
BlockPropertiesExtension
public abstract class BlockProperties
extends net.minecraft.world.level.block.state.BlockBehaviour.Properties
implements BlockPropertiesExtension
-
Constructor Summary
ConstructorsConstructorDescriptionBlockProperties(net.minecraft.world.level.material.Material material, Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MaterialColor> function) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPropertiescopy(net.minecraft.world.level.block.state.BlockBehaviour block) static BlockPropertiescopy(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) static BlockPropertiesof(net.minecraft.world.level.material.Material material) static BlockPropertiesof(net.minecraft.world.level.material.Material material, Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MaterialColor> color) static BlockPropertiesof(net.minecraft.world.level.material.Material material, net.minecraft.world.item.DyeColor color) static BlockPropertiesof(net.minecraft.world.level.material.Material material, net.minecraft.world.level.material.MaterialColor color) Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour.Properties
air, color, destroyTime, dropsLike, dynamicShape, emissiveRendering, explosionResistance, friction, hasPostProcess, instabreak, isRedstoneConductor, isSuffocating, isValidSpawn, isViewBlocking, jumpFactor, lightLevel, noCollission, noDrops, noOcclusion, randomTicks, requiresCorrectToolForDrops, sound, speedFactor, strength, strengthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.architectury.registry.block.BlockPropertiesExtension
tool, tool
-
Constructor Details
-
BlockProperties
public BlockProperties(net.minecraft.world.level.material.Material material, Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MaterialColor> function)
-
-
Method Details
-
of
-
of
public static BlockProperties of(net.minecraft.world.level.material.Material material, net.minecraft.world.item.DyeColor color) -
of
public static BlockProperties of(net.minecraft.world.level.material.Material material, net.minecraft.world.level.material.MaterialColor color) -
of
public static BlockProperties of(net.minecraft.world.level.material.Material material, Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MaterialColor> color) -
copy
-
copy
public static BlockProperties copy(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
-