src/main/java/com/github/klikli_dev/occultism/util/TileEntityUtil.java
/**
     * Updates the tile entity at the given position (mark dirty & send updates)
     *
     * @param world the world to update
     * @param pos   the position to update
     */
Updates the tile entity at the given position (mark dirty & send updates)
@param world the world to update
@param pos   the position to update
Updates the tile entity at the given position ( mark dirty & send updates ) @param world the world to update @param pos the position to update
public static void updateTile(World world, BlockPos pos) {
        if (world == null || world.isClientSide || !world.hasChunkAt(pos)) {
            return;
        }
        BlockState state = world.getBlockState(pos);
        world.sendBlockUpdated(pos, state, state, 2);
        world.blockEntityChanged(pos, world.getBlockEntity(pos));
    }
public static void updateTile ( World world , BlockPos pos ) { if ( world == null || world . isClientSide || ! world . hasChunkAt ( pos ) ) { return ; } BlockState state = world . getBlockState ( pos ) ; world . sendBlockUpdated ( pos , state , state , 2 ) ; world . blockEntityChanged ( pos , world . getBlockEntity ( pos ) ) ; }
Updates the tile entity at the given position (mark dirty & send updates)
 @param world the world to update
 @param pos   the position to update
Updates the tile entity at the given position ( mark dirty & send updates ) @param world the world to update @param pos the position to update