Uses of Record Class
net.minecraft.component.type.BlockStateComponent
Package
Description
-
Uses of BlockStateComponent in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final ComponentType
<BlockStateComponent> DataComponentTypes.BLOCK_STATE
-
Uses of BlockStateComponent in net.minecraft.component.type
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockStateComponent> BlockStateComponent.CODEC
static final PacketCodec
<ByteBuf, BlockStateComponent> BlockStateComponent.PACKET_CODEC
Modifier 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
Modifier and TypeFieldDescriptionprivate final BlockStateComponent
SetBlockPropertiesEnchantmentEffect.properties
The field for theproperties
record component.Modifier and TypeMethodDescriptionSetBlockPropertiesEnchantmentEffect.properties()
Returns the value of theproperties
record component.ModifierConstructorDescriptionSetBlockPropertiesEnchantmentEffect
(BlockStateComponent blockStateComponent, Vec3i vec3i, Optional<RegistryEntry<GameEvent>> optional)