Interface SulfurCubeArchetypeRegistryEntry
- All Known Subinterfaces:
SulfurCubeArchetypeRegistryEntry.Builder
A data-centric version-specific registry entry for the
SulfurCube.Archetype type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn attribute entry to apply to a sulfur cube of this archetype.static interfaceA mutable builder for theSulfurCubeArchetypeRegistryEntryplugins may change in applicable registry events.static interfaceThe contact damage a sulfur cube of this archetype will deal when pushed by another entity.static interfaceThe explosion settings of a sulfur cube of this archetype.static interfaceThe knockback modifiers a sulfur cube of this archetype will receive when knocked by another entity.static interfaceThe sound settings of a sulfur cube of this archetype. -
Method Summary
Modifier and TypeMethodDescriptionProvides the attribute modifiers to apply to a sulfur cube of this archetype.booleanbuoyant()Checks if a sulfur cube of this archetype can float in liquid.Provides the damage a sulfur cube of this archetype can deal when in contact of another entity.Provides the explosion settings of a sulfur cube of this archetype.items()Provides the items a sulfur cube of this archetype can absorb.Provides the knockback modifiers a sulfur cube of this archetype will receive when knocked by another entity.Provides the sound settings of a sulfur cube of this archetype.
-
Method Details
-
items
RegistryKeySet<ItemType> items()Provides the items a sulfur cube of this archetype can absorb.- Returns:
- the items absorbable
-
attributeModifiers
List<SulfurCubeArchetypeRegistryEntry.AttributeEntry> attributeModifiers()Provides the attribute modifiers to apply to a sulfur cube of this archetype.- Returns:
- the attribute modifiers to apply
-
buoyant
boolean buoyant()Checks if a sulfur cube of this archetype can float in liquid.- Returns:
- the ability of the sulfur cube to float
-
explosion
Provides the explosion settings of a sulfur cube of this archetype. If defined the sulfur cube can be ignited like a tnt.- Returns:
- the explosion settings
-
contactDamage
@Nullable SulfurCubeArchetypeRegistryEntry.ContactDamage contactDamage()Provides the damage a sulfur cube of this archetype can deal when in contact of another entity.- Returns:
- the contact damage
-
knockbackModifiers
SulfurCubeArchetypeRegistryEntry.KnockbackModifiers knockbackModifiers()Provides the knockback modifiers a sulfur cube of this archetype will receive when knocked by another entity.- Returns:
- the knockback modifiers
-
soundSettings
SulfurCubeArchetypeRegistryEntry.SoundSettings soundSettings()Provides the sound settings of a sulfur cube of this archetype.- Returns:
- the sound settings
-