mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Remove libobfuscation getMethod usages
Libobfuscation is gone 🦀
Combine mixins into one package
Port all accesstransformers possible to Mixins
25 lines
656 B
Java
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);
|
|
}
|