Interface SulfurCubeArchetype
public sealed interface SulfurCubeArchetype
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final classstatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RegistryKey<SulfurCubeArchetype> static final Codec<RegistryKey<SulfurCubeArchetype>> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final NetworkBuffer.Type<RegistryKey<SulfurCubeArchetype>> static final Codec<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> static final RegistryKey<SulfurCubeArchetype> -
Method Summary
Modifier and TypeMethodDescriptionstatic SulfurCubeArchetype.Builderbuilder()booleanbuoyant()static SulfurCubeArchetypecreate(RegistryTag<Material> items, List<SulfurCubeArchetype.AttributeEntry> attributeModifiers, boolean buoyant, @Nullable SulfurCubeArchetype.Explosion explosion, @Nullable SulfurCubeArchetype.ContactDamage contactDamage, SulfurCubeArchetype.KnockbackModifiers knockbackModifiers, SulfurCubeArchetype.SoundSettings soundSettings) static DynamicRegistry<SulfurCubeArchetype> createDefaultRegistry(Registries registries) Creates a new instance of the "minecraft:sulfur_cube_archetype" registry containing the vanilla contents.items()
-
Field Details
-
NETWORK_TYPE
-
CODEC
-
REGISTRY_CODEC
-
FAST_FLAT
-
FAST_SLIDING
-
EXPLOSIVE
-
BOUNCY
-
HOT
-
HIGH_RESISTANCE
-
SLOW_FLAT
-
STICKY
-
LIGHT
-
SLOW_SLIDING
-
SLOW_BOUNCY
-
REGULAR
-
-
Method Details
-
createDefaultRegistry
Creates a new instance of the "minecraft:sulfur_cube_archetype" registry containing the vanilla contents.- See Also:
-
create
static SulfurCubeArchetype create(RegistryTag<Material> items, List<SulfurCubeArchetype.AttributeEntry> attributeModifiers, boolean buoyant, @Nullable @Nullable SulfurCubeArchetype.Explosion explosion, @Nullable @Nullable SulfurCubeArchetype.ContactDamage contactDamage, SulfurCubeArchetype.KnockbackModifiers knockbackModifiers, SulfurCubeArchetype.SoundSettings soundSettings) -
builder
-
items
RegistryTag<Material> items() -
attributeModifiers
List<SulfurCubeArchetype.AttributeEntry> attributeModifiers() -
buoyant
boolean buoyant() -
explosion
-
contactDamage
-
knockbackModifiers
SulfurCubeArchetype.KnockbackModifiers knockbackModifiers() -
soundSettings
SulfurCubeArchetype.SoundSettings soundSettings()
-