Package net.minecraft.block
Class AbstractBlock.Properties
java.lang.Object
net.minecraft.block.AbstractBlock.Properties
- Enclosing class:
- AbstractBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private float
private ResourceLocation
private boolean
private AbstractBlock.IPositionPredicate
private float
private float
private int
private ToolType
private boolean
private AbstractBlock.IPositionPredicate
private boolean
private boolean
private AbstractBlock.IPositionPredicate
private AbstractBlock.IPositionPredicate
private AbstractBlock.IExtendedPositionPredicate<EntityType<?>>
private AbstractBlock.IPositionPredicate
private float
private ToIntFunction<BlockState>
private Supplier<ResourceLocation>
private Material
private Function<BlockState,
MaterialColor> private boolean
private SoundType
private float
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Properties
(Material p_i241199_1_, Function<BlockState, MaterialColor> p_i241199_2_) private
Properties
(Material p_i48616_1_, MaterialColor p_i48616_2_) -
Method Summary
Modifier and TypeMethodDescriptionair()
static AbstractBlock.Properties
copy
(AbstractBlock p_200950_0_) Deprecated.emissiveRendering
(AbstractBlock.IPositionPredicate p_235856_1_) friction
(float p_200941_1_) int
harvestLevel
(int harvestLevel) harvestTool
(ToolType harvestTool) hasPostProcess
(AbstractBlock.IPositionPredicate p_235852_1_) isRedstoneConductor
(AbstractBlock.IPositionPredicate p_235828_1_) isSuffocating
(AbstractBlock.IPositionPredicate p_235842_1_) isValidSpawn
(AbstractBlock.IExtendedPositionPredicate<EntityType<?>> p_235827_1_) isViewBlocking
(AbstractBlock.IPositionPredicate p_235847_1_) jumpFactor
(float p_226898_1_) lightLevel
(ToIntFunction<BlockState> p_235838_1_) noDrops()
static AbstractBlock.Properties
static AbstractBlock.Properties
of
(Material p_235836_0_, Function<BlockState, MaterialColor> p_235836_1_) static AbstractBlock.Properties
of
(Material p_200949_0_, MaterialColor p_200949_1_) static AbstractBlock.Properties
speedFactor
(float p_226897_1_) strength
(float p_200943_1_) strength
(float p_200948_1_, float p_200948_2_)
-
Field Details
-
material
-
materialColor
-
hasCollision
private boolean hasCollision -
soundType
-
lightEmission
-
explosionResistance
private float explosionResistance -
destroyTime
private float destroyTime -
requiresCorrectToolForDrops
private boolean requiresCorrectToolForDrops -
isRandomlyTicking
private boolean isRandomlyTicking -
friction
private float friction -
speedFactor
private float speedFactor -
jumpFactor
private float jumpFactor -
drops
-
canOcclude
private boolean canOcclude -
isAir
private boolean isAir -
harvestLevel
private int harvestLevel -
harvestTool
-
lootTableSupplier
-
isValidSpawn
-
isRedstoneConductor
-
isSuffocating
-
isViewBlocking
-
hasPostProcess
-
emissiveRendering
-
dynamicShape
private boolean dynamicShape
-
-
Constructor Details
-
Properties
-
Properties
-
-
Method Details
-
of
-
of
-
of
-
of
public static AbstractBlock.Properties of(Material p_235836_0_, Function<BlockState, MaterialColor> p_235836_1_) -
copy
-
noCollission
-
noOcclusion
-
harvestLevel
-
harvestTool
-
getHarvestLevel
public int getHarvestLevel() -
getHarvestTool
-
friction
-
speedFactor
-
jumpFactor
-
sound
-
lightLevel
-
strength
-
instabreak
-
strength
-
randomTicks
-
dynamicShape
-
noDrops
-
dropsLike
Deprecated. -
lootFrom
-
air
-
isValidSpawn
public AbstractBlock.Properties isValidSpawn(AbstractBlock.IExtendedPositionPredicate<EntityType<?>> p_235827_1_) -
isRedstoneConductor
-
isSuffocating
-
isViewBlocking
-
hasPostProcess
-
emissiveRendering
-
requiresCorrectToolForDrops
-