package Ġcom . mine in aby ss . mob zy . sp aw ning . conditions Ċ Ċ import Ġcom . mine in aby ss . ge ary . ecs . api . conditions . Ge ary Condition Ċ import Ġcom . mine in aby ss . ge ary . ecs . api . entities . Ge ary Entity Ċ import Ġcom . mine in aby ss . id of r ont . serialization . Int Range Serializer Ċ import Ġcom . mine in aby ss . mob zy . sp aw ning . vertical . Spawn Info Ċ import Ġkotlinx . serialization . Serial Name Ċ import Ġkotlinx . serialization . Serializable Ċ import Ġorg . bukkit . Location Ċ Ċ /** Ċ Ġ* Ġ# Ġ` mob zy : spawn . gap ` Ċ Ġ* Ċ Ġ* ĠEns ures Ġthat Ġwhen Ġa Ġmob Ġspawn Ġhappens , Ġthe Ġgap Ġof Ġair Ġblocks Ġis Ġwithin Ġa Ġ[ range ] Ġof Ġheight s . Ċ Ġ*/ Ċ @ Serializable Ċ @ Serial Name (" mob zy : spawn . gap ") Ċ class ĠSpawn Gap Condition ( ĊĠĠĠ Ġ@ Serializable ( with Ġ= ĠInt Range Serializer :: class ) ĊĠĠĠ Ġval Ġrange : ĠInt Range Ċ ) Ġ: ĠGe ary Condition () Ġ{ ĊĠĠĠ Ġprivate Ġval ĠGe ary Entity . location Ġby Ġget < Location >() ĊĠĠĠ Ġprivate Ġval ĠGe ary Entity . spawn Info Ġby Ġget < Spawn Info >() ĊĊĠĠĠ Ġoverride Ġfun ĠGe ary Entity . check (): ĠBoolean Ġ= ĊĠĠĠĠĠĠĠ Ġspawn Info . gap Ġin Ġrange Ċ } Ċ