package Ġnet . s ore non . ke v lar . init Ċ Ċ import Ġdev . ony x stud ios . cca . api . v 3 . component . Component Key Ċ import Ġdev . ony x stud ios . cca . api . v 3 . component . Component Registry Ċ import Ġdev . ony x stud ios . cca . api . v 3 . entity . Entity Component Factory Registry Ċ import Ġdev . ony x stud ios . cca . api . v 3 . entity . Entity Component Initializer Ċ import Ġdev . ony x stud ios . cca . api . v 3 . world . World Component Factory Registry Ċ import Ġdev . ony x stud ios . cca . api . v 3 . world . World Component Initializer Ċ import Ġnet . minecraft . util . Identifier Ċ import Ġnet . s ore non . ke v lar . Grab ber Component Ċ import Ġnet . s ore non . ke v lar . Physics World Component Ċ Ċ class ĠK ev lar Components Ġ: ĠEntity Component Initializer , ĠWorld Component Initializer Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġval ĠGR AB BER : ĠComponent Key < Grab ber Component > Ġ= ĠComponent Registry . get OrCreate ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠIdentifier (" ke v lar ", Ġ" grab ber "), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGrab ber Component :: class . java ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġval ĠPHY S _ WORLD : ĠComponent Key < Physics World Component > Ġ= ĠComponent Registry . get OrCreate ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠIdentifier (" ke v lar ", Ġ" physics _ world "), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPhysics World Component :: class . java ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġregister World Component Factories ( registry : ĠWorld Component Factory Registry ) Ġ{ ĊĠĠĠĠĠĠĠ Ġregistry . register ( PHYS _ WORLD , Ġ:: Physics World Component ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġregister Entity Component Factories ( registry : ĠEntity Component Factory Registry ) Ġ{ ĊĠĠĠĠĠĠĠ Ġregistry . register For Players ( GR AB BER , Ġ:: Grab ber Component ) ĊĠĠĠ Ġ} Ċ }