Shearable .java

net.minecraft.world.entity.Shearable (interface, 12 lines): interface declaring 2 methods. members: readyForShearing, shear. imports: SoundSource.

net.minecraft.world.entityinterface12 linescommon303 B

API Surface (0)

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

Code Graph: Dependencies (3)

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

Full Source

Shearable.java12 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.entity;
2
3
import net.minecraft.server.level.ServerLevel;
4
import net.minecraft.sounds.SoundSource;
5
import net.minecraft.world.item.ItemStack;
6
7
public interface Shearable {
8
	void shear(ServerLevel level, SoundSource soundSource, ItemStack tool);
9
10
	boolean readyForShearing();
11
}
12

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