You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ComputerCraftEvents.peripheral(event=>{// First Param: peripheral type// Second Param: What block it goes to// Note: you can use regex for the second paramevent.registerPeripheral("absorber","kubejs:absorber").mainThreadMethod("get_fuel",(container,direction,arguments)=>{})event.registerEvent("absorber","kubejs:absorber").mainThreadEvent("some_event",(container,direction)=>{letaabb=AABB.ofBlock(container.up.pos)level.getEntitiesWithin(aabb).forEach(entity=>{returnentity.UUID});})})
make it so we can add events to a block like it does an event when a player walks ontop of the block
The text was updated successfully, but these errors were encountered: