Interface IRangedTE
- All Known Implementing Classes:
PressurizedSpawnerBlockEntity,SecurityStationBlockEntity,UniversalSensorBlockEntity,VacuumTrapBlockEntity
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a block entity which has a range manager and the concept of a range area of effect.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intgetRange()default net.minecraft.network.chat.ComponentText to be displayed on the range toggle GUI button
-
Method Details
-
getRangeManager
RangeManager getRangeManager() -
rangeText
default net.minecraft.network.chat.Component rangeText()Text to be displayed on the range toggle GUI button- Returns:
- a text component
-
getRange
default int getRange()
-