RangedAttackMob .java

net.minecraft.world.entity.monster.RangedAttackMob (interface, 13 lines): members: rangedAttackUncertainty, performRangedAttack. imports: LivingEntity.

net.minecraft.world.entity.monsterinterface13 linescommon345 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

RangedAttackMob.java13 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.entity.monster;
2
3
import net.minecraft.world.entity.LivingEntity;
4
import net.minecraft.world.level.Level;
5
6
public interface RangedAttackMob {
7
	void performRangedAttack(LivingEntity target, float power);
8
9
	default float rangedAttackUncertainty(final Level level) {
10
		return 14 - level.getDifficulty().getId() * 4;
11
	}
12
}
13

Decompiled Minecraft 26.3 source of RangedAttackMob (net/minecraft/world/entity/monster/RangedAttackMob.java) with Mojang official mappings, stored verbatim on the site.