summaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-09 18:11:18 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-09 18:11:18 +0100
commit94f12b5bc032aac26371bf5c086492436d92878c (patch)
treec940adb066653ed4f1386e8ded60d064375861dd /src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java
downloadbeacon-range-extender-94f12b5bc032aac26371bf5c086492436d92878c.tar.gz
beacon-range-extender-94f12b5bc032aac26371bf5c086492436d92878c.tar.bz2
beacon-range-extender-94f12b5bc032aac26371bf5c086492436d92878c.zip
Init
Diffstat (limited to 'src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java')
-rw-r--r--src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java b/src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java
new file mode 100644
index 0000000..46eb2eb
--- /dev/null
+++ b/src/main/java/moe/nea/beacons/BeaconBlockEntityExtra.java
@@ -0,0 +1,17 @@
+package moe.nea.beacons;
+
+import net.minecraft.world.level.block.entity.BeaconBlockEntity;
+
+import java.util.List;
+
+public interface BeaconBlockEntityExtra {
+ static BeaconBlockEntityExtra cast(BeaconBlockEntity beaconBlockEntity) {
+ return (BeaconBlockEntityExtra) beaconBlockEntity;
+ }
+
+ void setRangeExtender_nea(int rangeExtender);
+
+ int getRangeExtender_nea();
+
+ List<BeaconBlockEntity.BeaconBeamSection> getCheckingBeamSections_nea();
+}