Uses of Record Class
net.minecraft.component.type.BlockStateComponent
Packages that use BlockStateComponent
Package
Description
-
Uses of BlockStateComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type BlockStateComponentModifier and TypeFieldDescriptionstatic final ComponentType
<BlockStateComponent> DataComponentTypes.BLOCK_STATE
-
Uses of BlockStateComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as BlockStateComponentFields in net.minecraft.component.type with type parameters of type BlockStateComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockStateComponent> BlockStateComponent.CODEC
static final PacketCodec
<ByteBuf, BlockStateComponent> BlockStateComponent.PACKET_CODEC
Methods in net.minecraft.component.type that return BlockStateComponentModifier and TypeMethodDescription<T extends Comparable<T>>
BlockStateComponentBlockStateComponent.with
(Property<T> property, BlockState fromState) <T extends Comparable<T>>
BlockStateComponent -
Uses of BlockStateComponent in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity declared as BlockStateComponentModifier and TypeFieldDescriptionprivate final BlockStateComponent
SetBlockPropertiesEnchantmentEffect.properties
The field for theproperties
record component.Methods in net.minecraft.enchantment.effect.entity that return BlockStateComponentModifier and TypeMethodDescriptionSetBlockPropertiesEnchantmentEffect.properties()
Returns the value of theproperties
record component.Constructors in net.minecraft.enchantment.effect.entity with parameters of type BlockStateComponentModifierConstructorDescriptionSetBlockPropertiesEnchantmentEffect
(BlockStateComponent blockStateComponent, Vec3i vec3i, Optional<RegistryEntry<GameEvent>> optional)