package Ġnet . st ck over fl w . force field . listener Ċ Ċ import Ġnet . ax ay . k sp ig ot . event . listen Ċ import Ġnet . st ck over fl w . force field . config . getActive Ċ import Ġnet . st ck over fl w . force field . config . radius Ċ import Ġnet . st ck over fl w . force field . extension . push Away Ċ import Ġorg . bukkit . entity . Player Ċ import Ġorg . bukkit . event . player . Player Move Event Ċ Ċ fun Ġforce Field Listener () Ġ= Ġlisten < Player Move Event > Ġ{ ĊĠĠĠ Ġit . player . get Near by Entities ( radius , Ġradius , Ġradius ). forEach Ġ{ Ġentity Ġ-> ĊĠĠĠĠĠĠĠ Ġif Ġ( entity Ġis ĠPlayer ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġentity . push Away ( radius ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġif Ġ( it . player . getActive ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġit . player . push Away ( radius ) ĊĠĠĠ Ġ} Ċ } Ċ