Files
Botania/src/main/java/vazkii/botania/mixin/MixinNearestAttackableTarget.java
T
Vincent Lee 2a928124c3 Add mixins, move getter methodhandles to them
Remove libobfuscation getMethod usages

Libobfuscation is gone 🦀

Combine mixins into one package

Port all accesstransformers possible to Mixins
2020-07-17 20:19:50 -05:00

25 lines
656 B
Java

/*
* This class is distributed as part of the Botania Mod.
* Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*/
package vazkii.botania.mixin;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.ai.goal.NearestAttackableTargetGoal;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(NearestAttackableTargetGoal.class)
public interface MixinNearestAttackableTarget {
@Accessor
Class<?> getTargetClass();
@Accessor
void setTargetClass(Class<?> clazz);
}