package Ġcom . mine in aby ss . mob zy . ecs . goals . minecraft Ċ Ċ import Ġcom . mine in aby ss . id of r ont . nms . aliases . NM SE ntity Creature Ċ import Ġcom . mine in aby ss . id of r ont . nms . aliases . to N MS Ċ import Ġcom . mine in aby ss . mob zy . ecs . components . initialization . path finding . Path finder Component Ċ import Ġkotlinx . serialization . Serial Name Ċ import Ġkotlinx . serialization . Serializable Ċ import Ġnet . minecraft . world . entity . ai . goal . Path finder Goal Temp t Ċ import Ġnet . minecraft . world . item . craft ing . Recipe ItemStack Ċ import Ġorg . bukkit . Material Ċ import Ġorg . bukkit . craft bukkit . v 1 _ 1 7 _ R 1 . inventory . Craft ItemStack Ċ import Ġorg . bukkit . entity . Mob Ċ import Ġorg . bukkit . inventory . ItemStack Ċ Ċ @ Serializable Ċ @ Serial Name (" minecraft : behavior . tempt ") Ċ class ĠTemp t Behavior ( ĊĠĠĠ Ġval Ġitems : ĠList < Material >, ĊĠĠĠ Ġval Ġspeed : ĠDouble Ġ= Ġ 1 . 0 , ĊĠĠĠ Ġval Ġlo ses Interest : ĠBoolean Ġ= Ġfalse Ċ ) Ġ: ĠPath finder Component () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġbuild ( mob : ĠMob ) Ġ= ĠPath finder Goal Temp t ( ĊĠĠĠĠĠĠĠ Ġmob . to N MS < NM SE ntity Creature >(), ĊĠĠĠĠĠĠĠ Ġspeed , ĊĠĠĠĠĠĠĠ Ġitems . map Ġ{ ĠItemStack ( it ) Ġ}. to N MS Recipe ItemStack (), ĊĠĠĠĠĠĠĠ Ġlo ses Interest , ĊĠĠĠ Ġ) Ċ } Ċ Ċ fun ĠCollection < ItemStack >. to N MS Recipe ItemStack (): ĠRecipe ItemStack Ġ= ĊĠĠĠ ĠRecipe ItemStack . a ( this ĊĠĠĠĠĠĠĠ Ġ. map Ġ{ ĠCraft ItemStack . as NM SC opy ( it ) Ġ} ĊĠĠĠĠĠĠĠ Ġ. stream ()) Ċ