Disable legacy mixin ap
This commit is contained in:
committed by
Spottedleaf
parent
ef9673d4c0
commit
86e91df061
@@ -59,7 +59,8 @@ public abstract class EntityTickListMixin {
|
||||
method = "add",
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;put(ILjava/lang/Object;)Ljava/lang/Object;"
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;put(ILjava/lang/Object;)Ljava/lang/Object;",
|
||||
remap = false
|
||||
)
|
||||
)
|
||||
private <V> V hookAdd(final Int2ObjectMap<V> instance, final int key, final V value) {
|
||||
@@ -75,7 +76,8 @@ public abstract class EntityTickListMixin {
|
||||
method = "remove",
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;remove(I)Ljava/lang/Object;"
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;remove(I)Ljava/lang/Object;",
|
||||
remap = false
|
||||
)
|
||||
)
|
||||
private void hookRemove(final Entity entity, final CallbackInfo ci) {
|
||||
@@ -91,7 +93,8 @@ public abstract class EntityTickListMixin {
|
||||
method = "remove",
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;remove(I)Ljava/lang/Object;"
|
||||
target = "Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;remove(I)Ljava/lang/Object;",
|
||||
remap = false
|
||||
)
|
||||
)
|
||||
private <V> V hookRemoveAvoidNPE(final Int2ObjectMap<V> instance, final int key) {
|
||||
|
||||
@@ -86,7 +86,8 @@ public abstract class StructureCheckMixin {
|
||||
method = "checkStart",
|
||||
at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;get(J)Ljava/lang/Object;"
|
||||
target = "Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;get(J)Ljava/lang/Object;",
|
||||
remap = false
|
||||
)
|
||||
)
|
||||
private <V> V redirectCachedGet(final Long2ObjectMap<V> instance, final long pos) {
|
||||
|
||||
Reference in New Issue
Block a user