WOOL
This commit is contained in:
1 parent
762ddacdbd
commit
8022d88d28
3 files changed
-33
No files matched your search
@@ -1,6 +0,0 @@
|
|||||||
package carpet.fakes;
|
|
||||||
|
|
||||||
public interface PortalForcerInterface
|
|
||||||
{
|
|
||||||
void invalidateCache();
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
package carpet.fakes;
|
|
||||||
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
|
|
||||||
public interface TicketInfoInterface
|
|
||||||
{
|
|
||||||
BlockPos getPos();
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package carpet.mixins;
|
|
||||||
|
|
||||||
import carpet.fakes.TicketInfoInterface;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import org.spongepowered.asm.mixin.Final;
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
|
||||||
|
|
||||||
@Mixin(targets = "net.minecraft.world.PortalForcer$TicketInfo")
|
|
||||||
public class PortalForcerTicketInfo_portalCachingMixin implements TicketInfoInterface
|
|
||||||
{
|
|
||||||
@Shadow @Final public BlockPos pos;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public BlockPos getPos()
|
|
||||||
{
|
|
||||||
return pos;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user