EvenBetterArcheology unspecified
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity > Class Template Reference
Inheritance diagram for de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >:
Inheritance graph
[legend]
Collaboration diagram for de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >:
Collaboration graph
[legend]

Public Member Functions

 FleeBlockGoal (PathAwareEntity mob, Class< T > fleeFromType, double slowSpeed, double fastSpeed)
 
boolean canStart ()
 
boolean shouldContinue ()
 
void start ()
 
void stop ()
 
void tick ()
 

Protected Attributes

final PathAwareEntity mob
 
BlockEntity targetBlock
 
Path fleePath
 
final EntityNavigation fleeingEntityNavigation
 
final Class< T > classToFleeFrom
 

Constructor & Destructor Documentation

◆ FleeBlockGoal()

de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.FleeBlockGoal ( PathAwareEntity  mob,
Class< T >  fleeFromType,
double  slowSpeed,
double  fastSpeed 
)

Member Function Documentation

◆ canStart()

boolean de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.canStart ( )

◆ shouldContinue()

boolean de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.shouldContinue ( )

◆ start()

void de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.start ( )

◆ stop()

void de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.stop ( )

◆ tick()

void de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.tick ( )

Member Data Documentation

◆ classToFleeFrom

final Class<T> de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.classToFleeFrom
protected

◆ fleeingEntityNavigation

final EntityNavigation de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.fleeingEntityNavigation
protected

◆ fleePath

Path de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.fleePath
protected

◆ mob

final PathAwareEntity de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.mob
protected

◆ targetBlock

BlockEntity de.sakurajin.evenbetterarcheology.util.FleeBlockGoal< T extends BlockEntity >.targetBlock
protected

The documentation for this class was generated from the following file: