package com.mythlane.chainlightning.chain; /** Test-only ChainEntity record with concise factories for alive and dead entities. */ record TestChainEntity(String id, Vec3 position, boolean isAlive) implements ChainEntity { static TestChainEntity entity(String id, double x, double y, double z) { return new TestChainEntity(id, new Vec3(x, y, z), true); } static TestChainEntity dead(String id, double x, double y, double z) { return new TestChainEntity(id, new Vec3(x, y, z), false); } }