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.

@FunctionalInterface public interface IRangedTE
Represents a block entity which has a range manager and the concept of a range area of effect.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
     
    default net.minecraft.network.chat.Component
    Text 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()