/** * Retrieves a read/write structure for MultiBlockChangeInfo arrays in Minecraft 1.8. * <p> * This modifier will automatically marshal between MultiBlockChangeInfo and the * internal Minecraft MultiBlockChangeInfo. * @return A modifier for BlockData fields. */ public StructureModifier<MultiBlockChangeInfo[]> getMultiBlockChangeInfoArrays() { ChunkCoordIntPair chunk = getChunkCoordIntPairs().read(0); // Convert to and from our wrapper return structureModifier.withType( MinecraftReflection.getMultiBlockChangeInfoArrayClass(), MultiBlockChangeInfo.getArrayConverter(chunk)); }