Package org.spongepowered.api.data.type
Interface Tilt
- All Superinterfaces:
Comparable<Tilt>,DefaultedRegistryValue<Tilt>,StringRepresentable
@CatalogedBy(Tilts.class)
public interface Tilt
extends DefaultedRegistryValue<Tilt>, Comparable<Tilt>, StringRepresentable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns Whether a block entering this tilt state will trigger any vibration-based blocks.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, keyMethods inherited from interface org.spongepowered.api.data.type.StringRepresentable
serializationString
-
Method Details
-
triggersVibrations
boolean triggersVibrations()Returns Whether a block entering this tilt state will trigger any vibration-based blocks..- Returns:
- Whether a block entering this tilt state will trigger any vibration-based blocks
-