net.minecraft.block

public record BlockSetType

net.minecraft.world.level.block.state.properties.BlockSetType
net.minecraft.class_8177
net.minecraft.block.BlockSetType

Field summary

Modifier and TypeField
private final String
name
comp_1289
name
private final boolean
canOpenByHand
comp_1471
canOpenByHand
private final boolean
canOpenByWindCharge
comp_2112
canOpenByWindCharge
private final boolean
canButtonBeActivatedByArrows
comp_1972
canButtonBeActivatedByArrows
private final BlockSetType$ActivationRule
pressurePlateSensitivity
comp_1973
pressurePlateSensitivity
private final RegistryKey<BlockSoundSet>
blockSoundSet
comp_1_1964
blockSoundSet
private final SoundEvent
doorClose
comp_1291
doorClose
private final SoundEvent
doorOpen
comp_1292
doorOpen
private final SoundEvent
trapdoorClose
comp_1293
trapdoorClose
private final SoundEvent
trapdoorOpen
comp_1294
trapdoorOpen
private final SoundEvent
pressurePlateClickOff
comp_1295
pressurePlateClickOff
private final SoundEvent
pressurePlateClickOn
comp_1296
pressurePlateClickOn
private final SoundEvent
buttonClickOff
comp_1297
buttonClickOff
private final SoundEvent
buttonClickOn
comp_1298
buttonClickOn
private static final Map<String, BlockSetType>
TYPES
field_46533
VALUES
public static final com.mojang.serialization.Codec<BlockSetType>
CODEC
field_46534
CODEC
public static final BlockSetType
IRON
field_42819
IRON
public static final BlockSetType
COPPER
field_47100
COPPER
public static final BlockSetType
GOLD
field_42820
GOLD
public static final BlockSetType
STONE
field_42821
STONE
public static final BlockSetType
POLISHED_BLACKSTONE
field_42822
POLISHED_BLACKSTONE
public static final BlockSetType
OAK
field_42823
OAK
public static final BlockSetType
SPRUCE
field_42824
SPRUCE
public static final BlockSetType
BIRCH
field_42825
BIRCH
public static final BlockSetType
ACACIA
field_42826
ACACIA
public static final BlockSetType
CHERRY
field_42827
CHERRY
public static final BlockSetType
JUNGLE
field_42828
JUNGLE
public static final BlockSetType
DARK_OAK
field_42829
DARK_OAK
public static final BlockSetType
PALE_OAK
field_54792
PALE_OAK
public static final BlockSetType
POPLAR
field_1_7816
POPLAR
public static final BlockSetType
CRIMSON
field_42830
CRIMSON
public static final BlockSetType
WARPED
field_42831
WARPED
public static final BlockSetType
MANGROVE
field_42832
MANGROVE
public static final BlockSetType
BAMBOO
field_42833
BAMBOO

Constructor summary

ModifierConstructor
public (String name)
public (String name, boolean canOpenByHand, boolean canOpenByWindCharge, boolean canButtonBeActivatedByArrows, BlockSetType$ActivationRule pressurePlateSensitivity, RegistryKey<BlockSoundSet> blockSoundSet, SoundEvent doorClose, SoundEvent doorOpen, SoundEvent trapdoorClose, SoundEvent trapdoorOpen, SoundEvent pressurePlateClickOff, SoundEvent pressurePlateClickOn, SoundEvent buttonClickOff, SoundEvent buttonClickOn)

Method summary

Modifier and TypeMethod
private static BlockSetType
register(BlockSetType type)
method_49233(class_8177 arg0)
register(BlockSetType blockSetType)
public static Stream<BlockSetType>
values()
method_49232()
stream()
public String
name()
comp_1289()
name()
public boolean
canOpenByHand()
comp_1471()
canOpenByHand()
public boolean
canOpenByWindCharge()
comp_2112()
canOpenByWindCharge()
public boolean
canButtonBeActivatedByArrows()
comp_1972()
canButtonBeActivatedByArrows()
public BlockSetType$ActivationRule
pressurePlateSensitivity()
comp_1973()
pressurePlateSensitivity()
public RegistryKey<BlockSoundSet>
blockSoundSet()
comp_1_1964()
blockSoundSet()
public SoundEvent
doorClose()
comp_1291()
doorClose()
public SoundEvent
doorOpen()
comp_1292()
doorOpen()
public SoundEvent
trapdoorClose()
comp_1293()
trapdoorClose()
public SoundEvent
trapdoorOpen()
comp_1294()
trapdoorOpen()
public SoundEvent
pressurePlateClickOff()
comp_1295()
pressurePlateClickOff()
public SoundEvent
pressurePlateClickOn()
comp_1296()
pressurePlateClickOn()
public SoundEvent
buttonClickOff()
comp_1297()
buttonClickOff()
public SoundEvent
buttonClickOn()
comp_1298()
buttonClickOn()