package info.u_team.u_team_test.blockentity;

import info.u_team.u_team_core.blockentity.UBlockEntity;
import info.u_team.u_team_test.init.TestBlockEntityTypes;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.state.BlockState;

public class BasicSyncBlockEntity extends UBlockEntity {
	
	public BasicSyncBlockEntity(BlockPos pos, BlockState state) {
		super(TestBlockEntityTypes.BASIC_SYNC.get(), pos, state);
	}
	
}

@@ -39,16 +39,124 @@
 ntity;%0A%0A
+import org.apache.commons.lang3.StringUtils;%0Aimport org.slf4j.Logger;%0A%0Aimport com.mojang.logging.LogUtils;%0A%0A
 import i
@@ -204,16 +204,16 @@
 Entity;%0A
-
 import i
@@ -298,16 +298,54 @@
 ockPos;%0A
+import net.minecraft.nbt.CompoundTag;%0A
 import n
@@ -453,16 +453,78 @@
 ity %7B%0A%09%0A
+%09private static final Logger LOGGER = LogUtils.getLogger();%0A%09%0A
 %09public 
@@ -641,12 +641,792 @@
 te);%0A%09%7D%0A
-
 %09%0A
+%09@Override%0A%09public void sendChunkLoadData(CompoundTag tag) %7B%0A%09%09tag.putString(%22data%22, %22This is chunk load data%22);%0A%09%09%0A%09%09logMethod(tag);%0A%09%7D%0A%09%0A%09@Override%0A%09public void handleChunkLoadData(CompoundTag tag) %7B%0A%09%09logMethod(tag);%0A%09%7D%0A%09%0A%09private void logMethod(Object data) %7B%0A%09%09final String marker = StringUtils.repeat('#', 70);%0A%09%09final String methodName = StackWalker.getInstance().walk(frames -%3E frames.skip(1).findFirst().map(StackWalker.StackFrame::getMethodName)).get();%0A%09%09final String side = hasLevel() ? (level.isClientSide() ? %22client%22 : %22server%22) : %22unknown%22;%0A%09%09%0A%09%09LOGGER.info(marker);%0A%09%09LOGGER.info(%22# Method '%7B%7D' was called%22, methodName);%0A%09%09LOGGER.info(%22# Side is '%7B%7D'%22, side);%0A%09%09if (data != null) %7B%0A%09%09%09LOGGER.info(%22# Data is '%7B%7D'%22, data.toString());%0A%09%09%7D%0A%09%09LOGGER.info(marker);%0A%09%7D%0A
 %7D%0A

Add test for chunk load data