File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/api/java/dev/compactmods/machines/api/tunnels Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33/**
44 * Marker interface for signaling that the class is a tunnel instance.
55 */
6- public interface ITunnel {
6+ public interface ITunnelInstance {
77}
Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ public int getTunnelIndicatorColor() {
4545 * @param position The location of the new tunnel being created.
4646 * @param side The side of the wall the tunnel is being added to.
4747 */
48- public abstract ITunnel newInstance (BlockPos position , Direction side );
48+ public abstract ITunnelInstance newInstance (BlockPos position , Direction side );
4949}
Original file line number Diff line number Diff line change 11package dev .compactmods .machines .api .tunnels .capability ;
22
33import com .google .common .collect .ImmutableSet ;
4- import dev .compactmods .machines .api .tunnels .ITunnel ;
4+ import dev .compactmods .machines .api .tunnels .ITunnelInstance ;
55import net .minecraftforge .common .capabilities .Capability ;
66import net .minecraftforge .common .util .LazyOptional ;
77import net .minecraftforge .items .IItemHandler ;
88
9- public interface ITunnelCapabilityProvider <Tunnel extends ITunnel > {
9+ public interface ITunnelCapabilityProvider <Tunnel extends ITunnelInstance > {
1010
1111 ImmutableSet <Capability <?>> getSupportedCapabilities ();
1212
Original file line number Diff line number Diff line change 11package dev .compactmods .machines .api .tunnels .lifecycle ;
22
3- import dev .compactmods .machines .api .tunnels .ITunnel ;
3+ import dev .compactmods .machines .api .tunnels .ITunnelInstance ;
44import dev .compactmods .machines .api .tunnels .ITunnelPosition ;
55
66/**
77 * Indicates that a tunnel has teardown tasks that are performed whenever a tunnel
88 * is removed from a machine room's wall.
99 */
10- public interface ITunnelTeardown <Tunn extends ITunnel > {
10+ public interface ITunnelTeardown <Tunn extends ITunnelInstance > {
1111
1212 /**
1313 * Handle teardown of tunnel here.
You can’t perform that action at this time.
0 commit comments