public class HoglinSpecificSensor extends Sensor<HoglinEntity>
Constructor and Description |
---|
HoglinSpecificSensor() |
Modifier and Type | Method and Description |
---|---|
private Optional<BlockPos> |
findNearestWarpedFungus(ServerWorld world,
HoglinEntity hoglin) |
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
protected void |
sense(ServerWorld serverWorld,
HoglinEntity hoglinEntity) |
method_30954, tick
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules
in class Sensor<HoglinEntity>
protected void sense(ServerWorld serverWorld, HoglinEntity hoglinEntity)
sense
in class Sensor<HoglinEntity>
private Optional<BlockPos> findNearestWarpedFungus(ServerWorld world, HoglinEntity hoglin)