Rebar Entity Group Culled Block
A variant of RebarEntityCulledBlock that defines groups of RebarEntityGroupCulledBlocks and entity UUIDs that should be culled together. (i.e. all blocks in the group must be culled for the entities to be culled)
For example, FluidPipe and CargoDuct both use greedy meshing, on the display entities (multiple blocks use the same entity), and therefor should only cull said entities if all blocks using that entity are culled.
Inheritors
Types
Link copied to clipboard
class EntityCullingGroup(val id: String, val blocks: MutableSet<RebarGroupCulledBlock> = mutableSetOf(), val entityIds: MutableSet<UUID> = mutableSetOf()) : RebarGroupCulledBlock.CullingGroup
Properties
Functions
Link copied to clipboard
If the block is currently visible to the player. Used only to determine which io.github.pylonmc.rebar.culling.PlayerCullingConfig interval to use
Link copied to clipboard
Does not do anything for group culled blocks, see onGroupCulled
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Does not do anything for group culled blocks, see onGroupVisible