Function does_object_have_container

Source
pub fn does_object_have_container(index: u16) -> bool
Expand description

Check whether the object at a certain index in the read object list has a container.

Note: Only ObjectLists from ObjectPlace packets contain this information. Objects from
received ObjectSpawn packets can always be assumed to have a container.

index The index of the object.

Returns whether the object has a container.