adjusting to 1.16
This commit is contained in:
1 parent
c22c7b991a
commit
8833d33286
6 files changed
+45
-6
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import carpet.fakes.MemoryInterface;
|
||||
import net.minecraft.entity.ai.brain.Memory;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
@Mixin(Memory.class)
|
||||
public class Memory_scarpetMixin implements MemoryInterface
|
||||
{
|
||||
@Shadow private long expiry;
|
||||
|
||||
@Override
|
||||
public long getScarpetExpiry()
|
||||
{
|
||||
return expiry;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user