I am trying to recreate a Falling Block kind of entity which when it hits the ground placed more than a single block. When it hits the ground it floors the position. Now I need to spawn the entity in the middle of 4 Blocks as this is the EntityType with it's dimensions:
public static final EntityType<ChainPillarEntity> CHAIN_PILLAR_ENTITY = Registry.register(Registries.ENTITY_TYPE,
Identifier.of(TrialChamberBossMod.MOD_ID, "chain_pillar_entity"),
EntityType.Builder.create(ChainPillarEntity::new, SpawnGroup.MISC)
.dimensions(2f, 4f).build());
The issue I am experiencing is when I run the /summon tcb-mod:chain_pillar_entity 108.5 ~ 33.5 It still spawns it at the same position as 108 ~ 33.